• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Tomcat 6 weird behavior

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic