tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: tomcat jmx disabled by default ?
Date Sun, 07 Apr 2013 11:25:26 GMT
Jakub 1983 wrote:
> why do I have to enable jmx with command
> *set \
> \
> \
> even when I run it *under java 6* ?
> in java 6 jmx is active by default (it is active when I run my own main),
> I cannot see how it is disabled by default by tomcat start scripts,
> but when I run default startup, I cannot connect with jconsole,
> when I set CATALINA_OPTS as above, it works fine,
> but why doesn't it work without it ?

What you say above seems to me largely nonsense.
There is nothing in the standard Tomcat startup scripts which sets or unsets these 
properties.  Consult the following page to see what the Java JVM defaults are for Oracle's

Java 1.7.

(for example, is true by default)

Other versions may have different properties or values.
Pre-packaged versions of Tomcat for various OS/platforms may also have different defaults,

but that depends on those packages, not on Tomcat per se.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message