Description of problem: The new tomcat6 package breaks our deployments of Jenkins. Version-Release number of selected component (if applicable): The tomcat6 6.0.32-8 series. How reproducible: Every time Steps to Reproduce: Spin up a Fedora 15 machine (I used the Rackspace Cloud, which admittedly isn't vanilla Fedora). yum install tomcat6 # Uses the 6.0.32-8 series. cd /usr/share/tomcat6/webapps/ wget http://mirrors.jenkins-ci.org/war-stable/latest/jenkins.war systemctl start tomcat6.service ls /usr/share/tomcat6/webapps/ # Observe that the .war file isn't autodeployed. cd wget http://kojipkgs.fedoraproject.org/packages/tomcat6/6.0.32/5.fc15/noarch/tomcat6-6.0.32-5.fc15.noarch.rpm wget http://kojipkgs.fedoraproject.org/packages/tomcat6/6.0.32/5.fc15/noarch/tomcat6-el-2.1-api-6.0.32-5.fc15.noarch.rpm wget http://kojipkgs.fedoraproject.org/packages/tomcat6/6.0.32/5.fc15/noarch/tomcat6-jsp-2.1-api-6.0.32-5.fc15.noarch.rpm wget http://kojipkgs.fedoraproject.org/packages/tomcat6/6.0.32/5.fc15/noarch/tomcat6-lib-6.0.32-5.fc15.noarch.rpm wget http://kojipkgs.fedoraproject.org/packages/tomcat6/6.0.32/5.fc15/noarch/tomcat6-servlet-2.5-api-6.0.32-5.fc15.noarch.rpm rpm -Uvh --force tomcat6-*.rpm systemctl restart tomcat6.service ls /usr/share/tomcat6/webapps/ # Observe that the .war file *is* autodeployed. curl http://localhost:8080/jenkins/ # Observe that Jenkins is running. yum upgrade -y tomcat6 # Updates tomcat6 systemctl restart tomcat6.service curl http://localhost:8080/jenkins/ # No more Jenkins! Actual results: No Jenkins. :-( Expected results: Jenkins. :-) Additional info:
Someone from IRC suggested logs would be helpful. Here's what /var/log/catalina.out looks like with the new package: Oct 20, 2011 9:04:31 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Oct 20, 2011 9:04:31 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Oct 20, 2011 9:04:31 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 651 ms Oct 20, 2011 9:04:31 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 20, 2011 9:04:31 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.32 Oct 20, 2011 9:04:31 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Oct 20, 2011 9:04:31 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Oct 20, 2011 9:04:31 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/24 config=null Oct 20, 2011 9:04:31 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 135 ms Oct 20, 2011 9:15:12 PM org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 Oct 20, 2011 9:15:13 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina Oct 20, 2011 9:15:13 PM org.apache.coyote.http11.Http11Protocol destroy INFO: Stopping Coyote HTTP/1.1 on http-8080 And the same file from the *old* package: Oct 20, 2011 9:18:48 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/server:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64:/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Oct 20, 2011 9:18:49 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Oct 20, 2011 9:18:49 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 747 ms Oct 20, 2011 9:18:49 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Oct 20, 2011 9:18:49 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/6.0.32 Oct 20, 2011 9:18:49 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive jenkins.war hudson home directory: /usr/share/tomcat6/.jenkins found at: $user.home/.jenkins Oct 20, 2011 9:18:50 PM org.apache.coyote.http11.Http11Protocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Oct 20, 2011 9:18:51 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 Oct 20, 2011 9:18:51 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/80 config=null Oct 20, 2011 9:18:51 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 1846 ms Oct 20, 2011 9:18:51 PM hudson.model.Hudson$5 onAttained INFO: Started initialization Oct 20, 2011 9:18:51 PM hudson.model.Hudson$5 onAttained INFO: Listed all plugins Oct 20, 2011 9:18:51 PM hudson.model.Hudson$5 onAttained INFO: Prepared all plugins Oct 20, 2011 9:18:51 PM hudson.model.Hudson$5 onAttained INFO: Started all plugins Oct 20, 2011 9:18:51 PM hudson.model.Hudson$5 onAttained INFO: Augmented all extensions Oct 20, 2011 9:18:51 PM hudson.model.Hudson$5 onAttained INFO: Loaded all jobs
To provide more clarity around the logs, "Hudson" was the original name of the "Jenkins" project. Many internals like logging still use the "Hudson" name.
The 6.0.32-10 release will fix this issue. *** This bug has been marked as a duplicate of bug 748015 ***
Well, this may not be a perfect duplicate, but it exhibits suspiciously similar symptoms to #748015 and is fixed the same way.