I see, it sounds like you found the right URL where it was deployed --
just use that. I think the instructions simply give the wrong URL. It
used to be deployed as a .war file manually, to Tomcat, and the given
URL is where it auto-deploys. I suppose when it was changed to use
Jetty it actually became deployed under the root.

If it is indeed working for you at that URL, go ahead with it, and I
will try to fix the instructions.

On Mon, Sep 21, 2009 at 11:43 PM, 刘逸哲 <[email protected]> wrote:
> The "hostname:8080/" is located at 
> "$MACHOUT_HOME/taste-web/target/work/webapp/", there are only META-INF and 
> WEB-INF folder, I copy 
> "$MACHOUT_HOME/taste-web/target/work/webapp/WEB-INF/classes/org/apache/mahout/cf/taste/web/RecommenderServlet.class"
>  to "$MACHOUT_HOME/taste-web/target/work/webapp/" and use a url like this " 
> hostname: 8080/RecommenderServlet?userID=1", then it works. So I thinks there 
> may something wrong in the instruction or in the mvn configution.
>
> Thanks a lot!
> 刘逸哲(阿布罗狄)
>
>
>
> ASC Relevance Team
>
> A Beautiful Fairy Tale
>
> 快乐、协作、分享、梦想
>
> -----邮件原件-----
> 发件人: Sean Owen [mailto:[email protected]]
> 发送时间: 2009年9月22日 11:42
> 收件人: [email protected]
> 主题: Re: Problem accessing /mahout-taste-webapp/RecommenderServlet. Reason:Not 
> Found
>
> Good, OK. The path begins with the name of the .war file -- try
> putting 'mahout-taste-webapp-0.2-SNAPSHOT' in the path instead? If
> that works, then the demo instructions are a little wrong and I can
> fix it.
>
> 2009/9/21 刘逸哲 <[email protected]>:
>> Sean Owen,
>>   Thanks for your reply, the hostname I use is one of my server computer,
>> it is too long, so I use hostname in the email.
>> I just have "mahout-taste-webapp-0.2-SNAPSHOT.war" in the
>> "$MACHOUT_HOME/taste-web/target" folder. Do I need install the tomcat at
>> first?
>> I follow each step of the "lucene.apache.org/mahout/taste.html#demo"
>>
>>
>
>

Reply via email to