Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 15951
    
  19

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat 6 weird behavior
 
Similar Threads
Why is Fedora 14 64 bit Tomcat from yum install superior to the Tomcat from Apache's website?
Problem in printing a pdf file using pdfrenderer
Error starting Tomcat in Ubuntu
Tomcat doesn't stop
Tomcat startup problems