tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nate Woodward" <nate.woodw...@the-connection.com>
Subject RE: Setting up JMX crashes Tomcat 6
Date Tue, 04 Jan 2011 17:21:12 GMT
Apologies, I'm new to this list and to tomcat in general, and I'm not 
terribly savvy on what is/is not standard on a tomcat install. We build 
our own tomcat RPMs from source with a few extra system scripts and 
patches applied. In the future, should I attach said patches when 
posting?

At any rate, I've discovered a fix for the problem. In our setup, 
conf/tomcat6.conf gets sourced by a /etc/init.d/tomcat init script, and 
its main purpose is to set environment variables that tomcat needs. I 
added 'CLASSPATH="$CATALINA_HOME/bin/tomcat-juli.jar:$CLASSPATH"' to 
tomcat6.conf, and now it works fine for some reason. This seems odd, 
since the output of 'ps' showed it was definitely in the -classpath 
option passed to java before. Hopefully, being there twice won't hurt. 
*shrug*


-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Tuesday, January 04, 2011 10:10 AM
To: Tomcat Users List
Subject: RE: Setting up JMX crashes Tomcat 6

> From: Nate Woodward [mailto:nate.woodward@the-connection.com]
> Subject: Setting up JMX crashes Tomcat 6

> I'm trying to set up JMX on tomcat 6.0.19.

Consider moving up to a version that was actually released - 6.0.19 
never made it out the door.

> I've added this line to CATALINA_HOME/conf/tomcat6.conf:

No such file exists in a standard Tomcat distribution.

Since neither of your two statements above is believable, you might want 
to start over with a clean install of a fresh download of Tomcat.  If 
the problem persists, tell us the JVM version you're using, the platform 
you're running on, and how you start Tomcat.  Posting your entire 
server.xml (with comments removed and passwords obfuscated) would also 
be helpful.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you 
received this in error, please contact the sender and delete the e-mail 
and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message