my dog learned polymorphism*
The moose likes Tomcat and the fly likes Tomcat 6 weird behavior Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat 6 weird behavior" Watch "Tomcat 6 weird behavior" New topic
Author

Tomcat 6 weird behavior

Arbez Depirts
Greenhorn

Joined: Aug 26, 2009
Posts: 2
We have tomcat 6 installed on RHEL 5.3.
Tomcat 6 when shutting down display an error message
(/etc/init.d/tomcat stop or shutdown.sh catalina.sh stop)Adding /opt/tomcat6/bin/tomcat-juli.jar to the CLASSPATH var in catalina.sh just before the Java process is started doesn't yield a better result.

Any idea?
Arbez Depirts
Greenhorn

Joined: Aug 26, 2009
Posts: 2
By copying ${catalina.home}/bin/tomcat-juli.jar to JDK/jre/lib/ext the problem is fixed.

Does somebody has any comment on this? Is it the right thing to do?
Thanks.
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16095
    
  21

I don't know if openjdk is a complete enough implementation of Java to safely run Tomcat. You'd be better off using the Sun or IBM JDK's.

A lot of progress has been made on providing a true open-source JDK implementation, but last I heard, the one that's bundled with most Linux implementations wasn't enterprise-ready. I've never actually put a recent RHEL's bundling to the test, though.

And no, putting the juli.jar in the JDK library should not be an acceptable solution. Besides, if you're installing the RHEL J2EE packages, they're supposed to have set up everything correctly.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
GeeCON Prague 2014
 
subject: Tomcat 6 weird behavior