Re: Problem with monitoring with JMX

2016-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 5/24/16 5:54 PM, André Warnier (tomcat) wrote: > To both : > > Do not guess. Agreed. You should also not guess. > Read the start of the "bin/catalina.sh" script (Linux) or the > "bin/catalina.bat" script (Windows). It explains the

Re: Problem with monitoring with JMX

2016-05-25 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin, On 5/24/16 6:08 PM, Edwin Quijada wrote: > Tomcat 8.0.33 Java 1.8 Debian 8 Stop Tomcat, change setenv.sh back to use CATALINA_OPTS, and re-launch Tomcat. What is the (sanitized?) command-line you get for the running JVM that results?

Re: Problem with monitoring with JMX

2016-05-24 Thread Edwin Quijada
Tomcat 8.0.33 Java 1.8 Debian 8 From: Christopher Schultz <ch...@christopherschultz.net> Sent: Tuesday, May 24, 2016 9:45 PM To: Tomcat Users List Subject: Re: Problem with monitoring with JMX -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin, O

Re: Problem with monitoring with JMX

2016-05-24 Thread tomcat
_ From: Niranjan Babu Bommu <niranjan.bo...@gmail.com> Sent: Tuesday, May 24, 2016 8:36 PM To: Tomcat Users List Subject: Re: Problem with monitoring with JMX can you try putting config in startup script? CATALINA_OPTS="-Xms512M -Xmx1024M -serve

Re: Problem with monitoring with JMX

2016-05-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Edwin, On 5/24/16 5:03 PM, Edwin Quijada wrote: > What are shared apps? I use JAVA_OPTS and it works ! But now I dont > know if it is correct CATALINA_OPTS should be the right one. JAVA_OPTS is used for multiple tools, and will configure every JVM

Re: Problem with monitoring with JMX

2016-05-24 Thread Edwin Quijada
I didnt want to put on startup script because it is not correct I read this From: Niranjan Babu Bommu <niranjan.bo...@gmail.com> Sent: Tuesday, May 24, 2016 8:36 PM To: Tomcat Users List Subject: Re: Problem with monitoring with JMX can you try p

Re: Problem with monitoring with JMX

2016-05-24 Thread Edwin Quijada
What are shared apps? I use JAVA_OPTS and it works ! But now I dont know if it is correct From: Niranjan Babu Bommu <niranjan.bo...@gmail.com> Sent: Tuesday, May 24, 2016 8:31 PM To: Tomcat Users List Subject: Re: Problem with monitoring with JMX

Re: Problem with monitoring with JMX

2016-05-24 Thread Niranjan Babu Bommu
gmail.com> >> Sent: Tuesday, May 24, 2016 7:44 PM >> To: Tomcat Users List >> Subject: Re: Problem with monitoring with JMX >> >> I think this would be JAVA_OPTS. >> >> CATALINA_OPTS="-Xms512M -Xmx1024M -server -XX:+UseParallelGC" >> >> On Tu

Re: Problem with monitoring with JMX

2016-05-24 Thread Niranjan Babu Bommu
iranjan Babu Bommu <niranjan.bo...@gmail.com> > Sent: Tuesday, May 24, 2016 7:44 PM > To: Tomcat Users List > Subject: Re: Problem with monitoring with JMX > > I think this would be JAVA_OPTS. > > CATALINA_OPTS="-Xms512M -Xmx1024M -server -XX:+UseParallelGC&q

Re: Problem with monitoring with JMX

2016-05-24 Thread Edwin Quijada
I read that is better use CATALINA_OPTS instead of JAVA_OPTS From: Niranjan Babu Bommu <niranjan.bo...@gmail.com> Sent: Tuesday, May 24, 2016 7:44 PM To: Tomcat Users List Subject: Re: Problem with monitoring with JMX I think this would be JAV

Re: Problem with monitoring with JMX

2016-05-24 Thread Niranjan Babu Bommu
I think this would be JAVA_OPTS. CATALINA_OPTS="-Xms512M -Xmx1024M -server -XX:+UseParallelGC" On Tue, May 24, 2016 at 2:50 PM, Edwin Quijada wrote: > Hi! > I am trying to monitor my Tomcat server using JMX remote when I configure > the JMX protocol when I try to