|
From: Aaron S. <aa...@sa...> - 2007-11-08 18:18:49
|
Hmm, after searching gentoo's boards, I came across the "Gentoo Tomcat Guide": http://www.gentoo.org/proj/en/java/tomcat-guide.xml >From the guide: Missing Jar - naming-factory-dbcp.jar Currently the naming-factory-dbcp.jar is not build by default. To build that jar Tomcat robs .java source files from 3 other commons packages, collections, pool, and dbcp. There is no clean solution to compiling this jar at this time. Suggestions, patches, or any assistance on compiling that jar is greatly appreciated. There are alternatives to this jar. You can use commons-dbcp.jar, or use the factory provided by most all jdbc drivers. ---------- Just horrible. I think I'll just do a vanilla tomcat install instead >_< -----Original Message----- From: Aaron Sarazan [mailto:aa...@sa...] Sent: Thursday, November 08, 2007 1:02 PM To: 'ogo...@li...' Subject: RE: [Ogoglio-developers] No Context exists for og? 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 |
|
From: Aaron S. <aa...@sa...> - 2007-11-08 20:23:45
|
Alright, final update in this harrowing tale-- after installing vanilla tomcat to the server, I was able to get the build to succeed. If anybody ever needs help with Gentoo, talk to me-- but it's just not worth the trouble, in my opinion :-P -----Original Message----- From: Aaron Sarazan [mailto:aa...@sa...] Sent: Thursday, November 08, 2007 1:19 PM To: 'ogo...@li...' Subject: RE: [Ogoglio-developers] No Context exists for og? Hmm, after searching gentoo's boards, I came across the "Gentoo Tomcat Guide": http://www.gentoo.org/proj/en/java/tomcat-guide.xml >From the guide: Missing Jar - naming-factory-dbcp.jar Currently the naming-factory-dbcp.jar is not build by default. To build that jar Tomcat robs .java source files from 3 other commons packages, collections, pool, and dbcp. There is no clean solution to compiling this jar at this time. Suggestions, patches, or any assistance on compiling that jar is greatly appreciated. There are alternatives to this jar. You can use commons-dbcp.jar, or use the factory provided by most all jdbc drivers. ---------- Just horrible. I think I'll just do a vanilla tomcat install instead >_< -----Original Message----- From: Aaron Sarazan [mailto:aa...@sa...] Sent: Thursday, November 08, 2007 1:02 PM To: 'ogo...@li...' Subject: RE: [Ogoglio-developers] No Context exists for og? 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 |
|
From: Paco N. <pa...@he...> - 2007-11-08 20:29:08
|
Yeah, I'll agree to that :) Gentoo seemed like a great approach, but after too many install+config gotchas for other software... well that was 2 companies ago, and here we're using FC7. paco On 11/8/07, Aaron Sarazan <aa...@sa...> wrote: > Alright, final update in this harrowing tale-- after installing vanilla > tomcat to the server, I was able to get the build to succeed. If anybody > ever needs help with Gentoo, talk to me-- but it's just not worth the > trouble, in my opinion :-P |
|
From: Ian S. <ian...@ac...> - 2007-11-08 18:24:12
|
<!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">Can you try just downloading the binary wad from :<br> <br> <a class="moz-txt-link-freetext" href="http://tomcat.apache.org/download-60.cgi">http://tomcat.apache.org/download-60.cgi</a><br> <br> and seeing if it includes everything one needs? If it does, then you can get things going on that until the compiling of tomcat on gentoo can be figured out...<br> <br> hope it helps,<br> ian<br> <br> </font></font><br> Aaron Sarazan wrote: <blockquote cite="mid:001c01c82233$dfc75c00$17d...@ci..." type="cite"> <pre wrap="">Hmm, after searching gentoo's boards, I came across the "Gentoo Tomcat Guide": <a class="moz-txt-link-freetext" href="http://www.gentoo.org/proj/en/java/tomcat-guide.xml">http://www.gentoo.org/proj/en/java/tomcat-guide.xml</a> >From the guide: Missing Jar - naming-factory-dbcp.jar Currently the naming-factory-dbcp.jar is not build by default. To build that jar Tomcat robs .java source files from 3 other commons packages, collections, pool, and dbcp. There is no clean solution to compiling this jar at this time. Suggestions, patches, or any assistance on compiling that jar is greatly appreciated. There are alternatives to this jar. You can use commons-dbcp.jar, or use the factory provided by most all jdbc drivers. ---------- Just horrible. I think I'll just do a vanilla tomcat install instead >_< -----Original Message----- From: Aaron Sarazan [<a class="moz-txt-link-freetext" href="mailto:aa...@sa...">mailto:aa...@sa...</a>] Sent: Thursday, November 08, 2007 1:02 PM To: '<a class="moz-txt-link-abbreviated" href="mailto:ogo...@li...">ogo...@li...</a>' Subject: RE: [Ogoglio-developers] No Context exists for og? 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> |