Red Hat Bugzilla – Bug 152376
Freshly started tomcat produces server error
Last modified: 2013-04-30 19:39:15 EDT
Description of problem:
When tomcat is first restarted (with service tomcat5 restart), any click on a
Java link (e.g., user list) produces a Server Error. After a minute or so, the
site magically starts working.
Steps to Reproduce:
1. Restart tomcat
2. Click on any of the Java links -> server error
3. Get coffee; try same links again -> success
After some thought, what I think is happening is that Apache takes a moment to
reconnect to the new Tomcat through ajp13; if that's the case, then this is NOTABUG.
It would be good though to verify that (a) the error is generated by Tomcat and
(b) caused by ajp13 reconnecting and not anything more sinister.
to dlutter for verification
Did you look in catalina.out and ensure that the rhn.xml file was processed
before clicking on the java link? I've had a similar problem, but have found
that the rhn webapp hasn't been started yet.
From what I can tell, this is the cause for the error, that Tomcat isn't fully
up yet and/or Apache hasn't (re)connected to Tomcat yet. Therefore, Marking as