in /etc/tomcat/Catalina/localhost/gerrit.xmlĪnd here is what I see in /var/log/tomcat/catalina.out:Ħ:01:03 PM .AprLifecycleListener init This shouldn't trigger any issue since the two factories should act the same.It still doesn't work for me. People that downloaded tomcat-dbcp.jar (which contains the missing .dbcp.BasicDataSourceFactory) from the ASF website as a workaround to this bug might, after this update, use .BasicDataSourceFactory instead. This shows you're trying to access the (not provided) .dbcp package : : Could not create resource factory instance Let a few seconds pass, then access With an unpatched Tomcat 6 you get an exception page, with root cause: $ sudo cp ~/test-dbcp.xml /etc/tomcat6/Catalina/localhost $ cd /var/lib/tomcat6/webapps & sudo tar xvf ~/test-dbcp.tar We provide .BasicDataSourceFactory to that effect, so Tomcat 6 should use that class by default. That makes all web applications that don't specify a DBCP factory class fail. This shouldn't trigger any issue since the two factories should act the same.īug impact: Tomcat 6 currently points to a default DBCP factory class that isn't provided in the package (.dbcp.BasicDataSourceFactory). BasicDataSource Factory) from the ASF website as a workaround to this bug might, after this update, use org.apache. People that downloaded tomcat-dbcp.jar (which contains the missing org.apache. With a patched Tomcat6 you get the JSP ("Sample Application JSP Page") displayed correctly. This shows you're trying to access the (not provided) org.apache. NamingException : Could not create resource factory instance With an unpatched Tomcat 6 you get an exception page, with root cause: Let a few seconds pass, then access localhost: 8080/test- dbcp $ sudo cp ~/test-dbcp.xml /etc/tomcat6/ Catalina/ localhost $ cd /var/lib/ tomcat6/ webapps & sudo tar xvf ~/test-dbcp.tar $ Get the two attached files (test-dbcp.tar and test-dbcp.xml) If accepted, this will be released as a combined SRU with bug 294277. The patch does the same thing the Tomcat 5.5 package always did, and fixes the shipped documentation accordingly. Versions affected: Intrepid (tomcat6 didn't exist before)įix in development branch: Was fixed in 6.0.18-0ubuntu4 (see comment 10) dbcp.BasicDataS ourceFactory to that effect, so Tomcat 6 should use that class by default. * patches/disable-ajp-connector: Do not load AJP13 connector by defaultīug impact: Tomcat 6 currently points to a default DBCP factory class that isn't provided in the package (org.apache. * patches/disable-apr-loading.patch: Disable APR library loading until we * tomcat6.dirs, tomcat6.postinst, default_root/index.html: CreateĬatalina/localhost in /etc/tomcat6 and make it writeable by the tomcat6 * patches/use-commons-dbcp.patch: Change default DBCP factory class : New libservlet2.5-java-doc package ships LifecycleListener callbacks in webapps being bypassed (LP: #299436) * policy/04webapps.policy: add rules to allow usage of java.io.tmpdir bian: Use /tmp/tomcat6-temp instead of /var/lib/tomcat6/temp as * rules: minor fixes to prevent build being called twice. * patches/ disable- ajp-connector: Do not load AJP13 connector by default patch: Disable APR library loading until we Group, so that autodeploy and admin webapps work as expected (LP: #294277) html: CreateĬatalina/ localhost in /etc/tomcat6 and make it writeable by the tomcat6 * tomcat6.dirs, tomcat6.postinst, default_ root/index. dbcp.BasicDataS ourceFactory (LP: #283852) * patches/ use-commons- dbcp.patch: Change default DBCP factory class Missing Servlet/JSP API documentation (LP: #279645) * rules: Compile at Java 1.5 level to allow usage of Java 5 JREs LifecycleLi stener callbacks in webapps being bypassed (LP: #299436) * tomcat6.init, rules: Do not use TearDown, as this results in policy: add rules to allow usage of java.io.tmpdir The JVM temporary directory and clean it at each restart (LP: #287452) bian: Use /tmp/tomcat6-temp instead of /var/lib/ tomcat6/ temp as * tomcat6.init, tomcat6.postinst, tomcat6.dirs, fault, Tomcat6 (6.0.18-0ubuntu4) jaunty urgency=low This bug was fixed in the package tomcat6 - 6.0.18-0ubuntu4
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |