Bug 747731 - New tomcat6 package set
Summary: New tomcat6 package set
Keywords:
Status: CLOSED DUPLICATE of bug 748015
Alias: None
Product: Fedora
Classification: Fedora
Component: tomcat6
Version: 15
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: David Knox
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-20 21:04 UTC by David Strauss
Modified: 2015-11-02 00:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-25 17:42:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Strauss 2011-10-20 21:04:56 UTC
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:

Comment 1 David Strauss 2011-10-20 21:19:24 UTC
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

Comment 2 David Strauss 2011-10-20 21:20:34 UTC
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.

Comment 3 David Strauss 2011-10-25 17:42:03 UTC
The 6.0.32-10 release will fix this issue.

*** This bug has been marked as a duplicate of bug 748015 ***

Comment 4 David Strauss 2011-10-25 17:43:28 UTC
Well, this may not be a perfect duplicate, but it exhibits suspiciously similar symptoms to #748015 and is fixed the same way.


Note You need to log in before you can comment on or make changes to this bug.