• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat 6 weird behavior

 
Arbez Depirts
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18098
50
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic