|
From: Ian S. <ian...@ac...> - 2007-11-08 18:11:23
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> <font size="+1"><font face="MgOpen Moderna">Aaron: Thanks for bearing with us.<br> <br> I'd say that it looks to me like your tomcat is installed in /var/lib/tomcat-6 and thus your tomcat.home should point there ... hack the setting in the .m2/settings.xml to point to /var/lib/tomcat-6 and it should cure those errors. <br> <br> To check this try doing :<br> <br> ls /var/lib/tomcat-6/conf<br> <br> and make sure that server.xml is there and configured as specified in the wiki.... that should cure the problems like </font></font><br> <pre>org.hibernate.HibernateException: Could not find datasource </pre> <font size="+1"><font face="MgOpen Moderna">found in your error file since it should be specified in the server.xml and then everybody should be able to find the db (and other useful things).<br> <br> Thanks again,<br> ian smith, transmutable<br> </font></font><br> Aaron Sarazan wrote: <blockquote cite="mid:001b01c82231$727e4980$17d...@ci..." type="cite"> <pre wrap="">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: <a class="moz-txt-link-freetext" href="http://127.0.0">http://127.0.0</a> .1:8080/og/auth/ If you want to view the error yourself from the site, check out <a class="moz-txt-link-freetext" href="http://scoplecopter.com:8080/og/auth/">http://scoplecopter.com:8080/og/auth/</a> -----Original Message----- From: <a class="moz-txt-link-abbreviated" href="mailto:ogo...@li...">ogo...@li...</a> [<a class="moz-txt-link-freetext" href="mailto:ogo...@li...">mailto:ogo...@li...</a>] On Behalf Of Trevor F. Smith Sent: Thursday, November 08, 2007 12:10 PM To: <a class="moz-txt-link-abbreviated" href="mailto:ogo...@li...">ogo...@li...</a> 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 <a class="moz-txt-link-freetext" href="http://127.0.0.1:8080/og/index.html">http://127.0.0.1:8080/og/index.html</a> . Once you see your index.html then try the maven build. - Trevor On Nov 8, 2007 7:54 AM, Aaron Sarazan <a class="moz-txt-link-rfc2396E" href="mailto:aa...@sa..."><aa...@sa...></a> wrote: </pre> <blockquote type="cite"> <pre wrap="">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' </pre> </blockquote> <pre wrap=""><!----> ------------------------------------------------------------------------- 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 >> <a class="moz-txt-link-freetext" href="http://get.splunk.com/">http://get.splunk.com/</a> _______________________________________________ Ogoglio-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ogo...@li...">Ogo...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/ogoglio-developers">https://lists.sourceforge.net/lists/listinfo/ogoglio-developers</a> ------------------------------------------------------------------------- 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 >> <a class="moz-txt-link-freetext" href="http://get.splunk.com/">http://get.splunk.com/</a> _______________________________________________ Ogoglio-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Ogo...@li...">Ogo...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/ogoglio-developers">https://lists.sourceforge.net/lists/listinfo/ogoglio-developers</a> </pre> </blockquote> </body> </html> |