Hi Sean, Thanks for the help. I obtained the latest copy from Subversion, and followed the rest of the instructions.
When I typed "mvn jetty:run-war" however, I got the following error message: "The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not exist or no valid version could be found" I modified the pom.xml file in the integration/ directory, and added the Jetty plugin: <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.0</version> </plugin> Using version 6.1 removed the previous error, but now the Jetty server responds with either a 404 or 503. I checked contexts known to the Jetty server, and I don't see mahout-integration-0.6-SNAPSHOT.war in the target directory (there is a jar file with the same name however). I'm thinking this is due to a configuration parameter I missed in the Jetty plugin, but I can't be sure. Do I need to set the classpath, scan path, or context path for the Jetty plugin? Thank you, Ozgun. On Wed, Aug 17, 2011 at 1:21 AM, Sean Owen <[email protected]> wrote: > Use the latest code from Subversion -- this is what the wiki is referring > to. You will find there is now an integration/ module. > > On Wed, Aug 17, 2011 at 2:12 AM, Ozgun Erdogan <[email protected]> wrote: > >> Hi all, >> >> I'm following the instructions on the Mahout wiki for launching a >> non-distributed recommender service: >> >> $ cd integration >> $ cp ../examples/target/grouplens.jar ./lib >> >> Unfortunately, I don't have an integration directory in my local file >> system. I tried out my recommender by adding a simple .java file to >> examples/src/main/java/org/apache/mahout/cf/taste/example/adsense, and >> it works. >> >> I see .props files in src/conf for recommendations, and recommender >> JWS and servlet files in taste-web. The recommender I'm using, as well >> as the input files I'm feeding are pretty standard. I feel that all >> the pieces are there for me to publish this as a web service, but I >> just don't know which commands to run. >> >> Could somebody help? (I see Jetty as a dependency in the POM file. >> Does Maven pull in all the needed dependencies, or do I also need to >> install a webserver?) >> >> Thank you, >> >> Ozgun. >> >
