Re: JMX with Listener

2012-12-17 Thread Cédric Couralet
2012/12/17 André Warnier : > Cédric Couralet wrote: >>> >>> Where do you /set/ CATALINA_BASE? >> >> >> Hum nowhere. Ok my mistake but i set catalina.base as a jvm options and I >> would like to reference it in another. As I say it, I don't think java >> can >> do it so i may be out of luck. >> > [

Re: JMX with Listener

2012-12-17 Thread André Warnier
Cédric Couralet wrote: Where do you /set/ CATALINA_BASE? Hum nowhere. Ok my mistake but i set catalina.base as a jvm options and I would like to reference it in another. As I say it, I don't think java can do it so i may be out of luck. When you run Tomcat 7 as a Service, you run in fact th

Re: JMX with Listener

2012-12-17 Thread Cédric Couralet
> > Where do you /set/ CATALINA_BASE? Hum nowhere. Ok my mistake but i set catalina.base as a jvm options and I would like to reference it in another. As I say it, I don't think java can do it so i may be out of luck.

Re: JMX with Listener

2012-12-17 Thread André Warnier
Cédric Couralet wrote: 2012/12/11 André Warnier : Cédric Couralet wrote: ... One question, though, in the tomcat doc (for 6.0.x) for the JMXRemoteListener, the configuration is : -Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE/conf/jmxremote.password -Dcom.sun.management.jmxremo

Re: JMX with Listener

2012-12-17 Thread Cédric Couralet
2012/12/11 André Warnier : > Cédric Couralet wrote: > ... > >> >> One question, though, in the tomcat doc (for 6.0.x) for the >> JMXRemoteListener, the configuration is : >> >> >> -Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE/conf/jmxremote.password >> >> -Dcom.sun.management.jmxremot

Re: JMX with Listener

2012-12-11 Thread André Warnier
Cédric Couralet wrote: ... One question, though, in the tomcat doc (for 6.0.x) for the JMXRemoteListener, the configuration is : -Dcom.sun.management.jmxremote.password.file=$CATALINA_BASE/conf/jmxremote.password -Dcom.sun.management.jmxremote.access.file=$CATALINA_BASE/conf/jmxremote.access w

Re: JMX with Listener

2012-12-11 Thread Cédric Couralet
>>> Okay. Now for my problems or questions: - Apparently, the Jmx listener listens on 0.0.0.0 (confirmed by a netstat) on the two ports configured for the listener, is it normal ? I thought that useLocalPorts would restrain the listening only to 127.0.0.1. >>> >>> useLocale

Re: JMX with Listener

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Cédric, On 12/11/12 1:08 PM, Cédric Couralet wrote: >> Okay. >>> Now for my problems or questions: - Apparently, the Jmx >>> listener listens on 0.0.0.0 (confirmed by a netstat) on the two >>> ports configured for the listener, is it normal ? I thou

Re: JMX with Listener

2012-12-11 Thread Cédric Couralet
> Okay. >> Now for my problems or questions: - Apparently, the Jmx listener >> listens on 0.0.0.0 (confirmed by a netstat) on the two ports >> configured for the listener, is it normal ? I thought that >> useLocalPorts would restrain the listening only to 127.0.0.1. > > useLocalePorts /should/ forc

RE: JMX with Listener

2012-12-11 Thread Caldarale, Charles R
> From: Christopher Schultz [mailto:ch...@christopherschultz.net] > Subject: Re: JMX with Listener > > Now for my problems or questions: - Apparently, the Jmx listener > > listens on 0.0.0.0 (confirmed by a netstat) on the two ports > > configured for the listener, is it

Re: JMX with Listener

2012-12-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Cédric, On 12/11/12 7:50 AM, Cédric Couralet wrote: > In our tomcat, we use at the moment the JMXRemoteLifecycleListener > configured as : > > className="org.apache.catalina.mbeans.JmxRemoteLifecycleListener" > rmiRegistryPortPlatform="10001" rm

JMX with Listener

2012-12-11 Thread Cédric Couralet
Hello, In our tomcat, we use at the moment the JMXRemoteLifecycleListener configured as : The configuration for the windows service is : -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=true -Dcom.sun.management.jmxremote.password.file=${CATALINA_BASE}/conf/jmxremote.