|
From: Aaron S. <aa...@sa...> - 2007-11-08 18:01:38
|
This is really strange. The tomcat.home is set to /usr/share/tomcat-6, but I have to create og/index.html inside the /var/lib location to get it to show up. Either way, creating /var/lib/tomcat-6/webapps/og/ was enough to get that test to succeed. I now have three errors (although the war built): Tests in error: testWebAdmin(com.ogoglio.client.test.ClientTest) testWebAPIClient(com.ogoglio.client.test.ClientTest) testApplet(com.ogoglio.client.test.ClientTest) Tests run: 8, Failures: 0, Errors: 3, Skipped: 0 (From Surefire-Report): ---------------------------------------------------------------------------- --- Test set: com.ogoglio.client.test.ClientTest ---------------------------------------------------------------------------- --- Tests run: 5, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.54 sec <<< FAILURE! testWebAdmin(com.ogoglio.client.test.ClientTest) Time elapsed: 0.229 sec <<< ERROR! com.ogoglio.client.AuthenticationFailedException: Could not auth via username (bootstrapuser1) and pass: java.io.IOException: Server returned HTTP response code: 500 for URL: http://127.0.0 .1:8080/og/auth/ If you want to view the error yourself from the site, check out http://scoplecopter.com:8080/og/auth/ -----Original Message----- From: ogo...@li... [mailto:ogo...@li...] On Behalf Of Trevor F. Smith Sent: Thursday, November 08, 2007 12:10 PM To: ogo...@li... Subject: Re: [Ogoglio-developers] No Context exists for og? Hey, Aaron. Use the webapps directory which is under the directory specified in your tomcat.home property in ~/.m2/settings.xml. When you start tomcat be sure you're using the bin/startup.sh under that same dir. Even before you build with maven you can test that tomcat is looking in the right place by manually placing an index.html file in the /og/ dir and then pointing a browser at http://127.0.0.1:8080/og/index.html . Once you see your index.html then try the maven build. - Trevor On Nov 8, 2007 7:54 AM, Aaron Sarazan <aa...@sa...> wrote: > To the best of my knowledge, I do. The thing is that Tomcat seems to > have two separate webapps directories on Gentoo: > /usr/share/tomcat-6/webapps/ > /var/lib/tomcat-6/webapps/ > > I did all the things mentioned on the tutorial inside the /usr/share > one, including `mkdir og' ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Ogoglio-developers mailing list Ogo...@li... https://lists.sourceforge.net/lists/listinfo/ogoglio-developers |