Intrepid SRU Report Bug impact: Tomcat doesn't fully autodeploy applications dropped into /var/lib/tomcat6/webapps: it fails to autodeploy the context file into /etc/tomcat6/Catalina/localhost. This results in half-deployed applications and a difficult problem to troubleshoot.
Versions affected: Intrepid (tomcat6 didn't exist before) Fix in development branch: Was fixed in 6.0.18-0ubuntu4 (see comment 5) Minimal patch: see comment 6 just above. This will be released as a combined SRU with bug 283852. TEST CASE: Download the attached test-deploy.war, then: $ sudo apt-get install tomcat6 $ sudo cp test-deploy.war /var/lib/tomcat6/webapps/ After a few seconds, you should be able to access http://localhost:8080/test-deploy/ Without the fix, the displayed context parameter value is "null". /etc/tomcat6/Catalina/localhost doesn't exist. With the fix, the displayed context parameter value is "My Company, Incorporated". An /etc/tomcat6/Catalina/localhost/test-deploy.xml file was automatically created. Regression potential: The patch basically creates the Catalina/localhost directories in tomcat6 (rather than waiting for a webapp package to create them) and changes the permissions from root:root 755 to 775 root:tomcat6. This is a targeted and permissive change, so the regression potential is very low. ** Attachment added: "test-deploy.war" http://launchpadlibrarian.net/20228885/test-deploy.war -- Tomcat 6 missing directory "Catalina" in /etc/tomcat6 - so impossible to deploy webapp https://bugs.launchpad.net/bugs/294277 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs