CentOS Bug Tracker
CentOS Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006186CentOS-5tomcat5public2013-01-12 01:272013-01-14 15:35
Reporterneufeind 
PrioritynormalSeveritymajorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version5.9 
Target VersionFixed in Version 
Summary0006186: tomcat5 does not start after upgrade
DescriptionUpgrade from CentOS 5.8:
 tomcat5 x86_64 5.5.23-0jpp.31.el5_8 updates
 tomcat5-common-lib x86_64 5.5.23-0jpp.31.el5_8 updates
 tomcat5-jasper x86_64 5.5.23-0jpp.31.el5_8 updates
 tomcat5-jsp-2.0-api x86_64 5.5.23-0jpp.31.el5_8 updates
 tomcat5-server-lib x86_64 5.5.23-0jpp.31.el5_8 updates
 tomcat5-servlet-2.4-api x86_64 5.5.23-0jpp.31.el5_8 updates


to CentOS 5.9-pre (5.8 and centos-release-cr repo):
 tomcat5 x86_64 5.5.23-0jpp.37.el5 cr
 tomcat5-common-lib x86_64 5.5.23-0jpp.37.el5 cr
 tomcat5-jasper x86_64 5.5.23-0jpp.37.el5 cr
 tomcat5-jsp-2.0-api x86_64 5.5.23-0jpp.37.el5 cr
 tomcat5-server-lib x86_64 5.5.23-0jpp.37.el5 cr
 tomcat5-servlet-2.4-api x86_64 5.5.23-0jpp.37.el5 cr


Startup failed with errors pointing towards that org.apache.juli.ClassLoaderLogManager could not be loaded etc.
Downgrading the above mentioned packages instantly helped it.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0016272)
avij (developer)
2013-01-13 20:43

Confirmed.

Here's what I did:
- minimal install of CentOS 5.8 x86_64 from DVD
- yum update
- rebooted the server
- installed the listed tomcat5 package versions from updates
- service tomcat5 start => worked (java process was running)
- service tomcat5 stop
- I made a copy of the virtual machine at this point, thus shutdown + reboot
- yum install centos-release-cr
- yum update
- another reboot to get all the CentOS 5.9 CR bits in use (incl. kernel)
- service tomcat5 start => OK, but no java process was running afterwards
- service tomcat5 status => "lock file found but no process running for pid 2513"

/var/log/tomcat5/catalina.out has this to say:
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:
WARNING: error instantiating 'org.apache.juli.ClassLoaderLogManager' referenced by java.util.logging.manager, class not found
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager not found
   <<No stacktrace available>>
WARNING: error instantiating '1catalina.org.apache.juli.FileHandler,' referenced by handlers, class not found
java.lang.ClassNotFoundException: 1catalina.org.apache.juli.FileHandler,
   <<No stacktrace available>>
Exception during runtime initialization
java.lang.ExceptionInInitializerError
   <<No stacktrace available>>
Caused by: java.lang.NullPointerException
   <<No stacktrace available>>
(0016273)
avij (developer)
2013-01-13 21:39

This problem occurs also with CentOS 5.8 + CentOS 5.8 updates + only tomcat5 from CentOS 5.9 CR, ie. other packages in C5.9 CR are not to blame.
(0016274)
avij (developer)
2013-01-13 22:06

A straight CentOS 5.9 (QA version) install from scratch will also exhibit this same problem.
(0016275)
avij (developer)
2013-01-13 22:23

Possible workaround, which seems to work for me:

cd /usr/share/tomcat5/bin
mv tomcat-juli.jar tomcat-juli.jar.disabled

Whether doing this will break something else is currently unknown, but it does let tomcat5 start.

Upstream bug 548961 may be related.
(0016276)
toracat (developer)
2013-01-14 00:38

Installation of java-1.7.0-openjdk-devel seems to allow tomcat5 to start.
(0016277)
toracat (developer)
2013-01-14 01:03

java-1.6.0-openjdk-devel also works.
(0016282)
toracat (developer)
2013-01-14 15:35

Upstream bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=895097 [^]

- Issue History
Date Modified Username Field Change
2013-01-12 01:27 neufeind New Issue
2013-01-13 20:43 avij Note Added: 0016272
2013-01-13 21:39 avij Note Added: 0016273
2013-01-13 22:06 avij Note Added: 0016274
2013-01-13 22:23 avij Note Added: 0016275
2013-01-13 23:43 toracat Status new => confirmed
2013-01-14 00:38 toracat Note Added: 0016276
2013-01-14 01:03 toracat Note Added: 0016277
2013-01-14 15:35 toracat Note Added: 0016282


Copyright © 2000 - 2014 MantisBT Team
Powered by Mantis Bugtracker