It's not a secret anymore!
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

Tomcat 6 weird behavior

Arbez Depirts

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 stop)Adding /opt/tomcat6/bin/tomcat-juli.jar to the CLASSPATH var in just before the Java process is started doesn't yield a better result.

Any idea?
Arbez Depirts

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?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17410

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.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: Tomcat 6 weird behavior
jQuery in Action, 3rd edition