Re: tomcat jmx disabled by default ?

2013-04-07 Thread Zdeněk Henek
Hi Jakub, do you have running Tomcat and JConsole as same user? JMX should really work out of box when both Tomcat and JConsole/JVisualVM are in same machine and same user. Regards, Zdenek On Sun, Apr 7, 2013 at 9:15 PM, Neven Cvetkovic wrote: > Mark, > > When connecting to local jmx, connect

Re: tomcat jmx disabled by default ?

2013-04-07 Thread Neven Cvetkovic
Mark, When connecting to local jmx, connection is not over the network interface but through local Java process that you need to have access to. So I doubt that is Jakub's problem here. I've had issues when jdks didn't match and when different users were used to start JVM process. On Apr 7, 2013

Re: tomcat jmx disabled by default ?

2013-04-07 Thread Mark Eggers
On 4/7/2013 7:54 AM, Jakub 1983 wrote: Neven, thx for your reply, so my question is why when I start my own main without passing -Dcom.sun.management.* properties I can connect to it with jconsole, but I cannot connect with jconsole to tomcat (although it is visible in jconsole) ? both my main

Re: Better SSL connector setup

2013-04-07 Thread Mark Eggers
Some notes from October 2011 referenced below: On 4/7/2013 8:47 AM, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kevin, On 4/6/13 10:10 PM, Kevin Jenkins wrote: I have a server that has two hosts: First: http://masterserver2.raknet.com/ Second (using alias) http

Re: configuration of db

2013-04-07 Thread David Kerber
On 4/7/2013 11:32 AM, aishani wrote: SIR WHEN I RE-START MY STARTUP BAT FILE AGAIN DB CONNECTION ESTABLISHED. PLEASE GUIDE ME WHAT I HAVE TO CONFIGURE IN MQSQL. THANKS Please don't top-post. I can't help you with mySQL; I've never used it. Do some research through your favorite search engin

Re: configuration of db

2013-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Aishani, On 4/7/13 11:32 AM, aishani wrote: > SIR WHEN I RE-START MY STARTUP BAT FILE AGAIN DB CONNECTION > ESTABLISHED. PLEASE GUIDE ME WHAT I HAVE TO CONFIGURE IN MQSQL. What have you tried so far? Please post your existing configuration. - -chr

Re: tomcat jmx disabled by default ?

2013-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Jakub, On 4/7/13 5:58 AM, Jakub 1983 wrote: > why do I have to enable jmx with command > > *set CATALINA_OPTS=-Dcom.sun.management.jmxremote \ > -Dcom.sun.management.jmxremote.port=%my.jmx.port% \ > -Dcom.sun.management.jmxremote.ssl=false \ > -

Re: Better SSL connector setup

2013-04-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Kevin, On 4/6/13 10:10 PM, Kevin Jenkins wrote: > I have a server that has two hosts: First: > http://masterserver2.raknet.com/ > > Second (using alias) https://lobby3.raknet.com > > https://milestone.lo

RE: configuration of db

2013-04-07 Thread aishani
SIR WHEN I RE-START MY STARTUP BAT FILE AGAIN DB CONNECTION ESTABLISHED. PLEASE GUIDE ME WHAT I HAVE TO CONFIGURE IN MQSQL. THANKS -Original Message- From: David Kerber [mailto:dcker...@verizon.net] Sent: Sunday, April 07, 2013 5:25 PM To: users@tomcat.apache.org Subject: Re: configura

Re: tomcat jmx disabled by default ?

2013-04-07 Thread Neven Cvetkovic
Jakub, I am not sure that I understand "when I start my own main ..." - I assume you refer to your own Java class that has main() method and that you start, e.g. java com.mydomain.MyApp What specific command do you use when starting up your Tomcat? Also, include what version and what operating s

Re: tomcat jmx disabled by default ?

2013-04-07 Thread Jakub 1983
Neven, thx for your reply, so my question is why when I start my own main without passing -Dcom.sun.management.* properties I can connect to it with jconsole, but I cannot connect with jconsole to tomcat (although it is visible in jconsole) ? both my main, and tomcat, and jconsole are running on

Re: tomcat jmx disabled by default ?

2013-04-07 Thread Neven Cvetkovic
Jakub, "You don't have to" configure Tomcat with above settings to get JMX. You are correct that JMX works out of the box. However, that works only locally, above commands are for REMOTE JMX access. You are opening up a jmx port so external (not same machine) jconsole or jvirtualvm can access JMX

Re: configuration of db

2013-04-07 Thread David Kerber
On 4/7/2013 6:58 AM, aishani wrote: SIR WHEN MORE THAN 15 DB CONNECTION CROSSED TOMCAT GIVES AN ERROR MESSAGE THAT TOO MANY SQL CONNECTION. I AM USING TOMCAT 5.X WITH MYSQL.HOW CAN I CONFIGURE TOMCAT FOR EXECUTING MANY DB CONNECTION? That error is almost certainly coming from MySQL, not tomca

Re: tomcat jmx disabled by default ?

2013-04-07 Thread André Warnier
Jakub 1983 wrote: why do I have to enable jmx with command *set CATALINA_OPTS=-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=%my.jmx.port% \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.jmxremote.authenticate=false* http://tomcat.apache.org/

configuration of db

2013-04-07 Thread aishani
SIR WHEN MORE THAN 15 DB CONNECTION CROSSED TOMCAT GIVES AN ERROR MESSAGE THAT TOO MANY SQL CONNECTION. I AM USING TOMCAT 5.X WITH MYSQL.HOW CAN I CONFIGURE TOMCAT FOR EXECUTING MANY DB CONNECTION?

tomcat jmx disabled by default ?

2013-04-07 Thread Jakub 1983
why do I have to enable jmx with command *set CATALINA_OPTS=-Dcom.sun.management.jmxremote \ -Dcom.sun.management.jmxremote.port=%my.jmx.port% \ -Dcom.sun.management.jmxremote.ssl=false \ -Dcom.sun.management.jmxremote.authenticate=false* http://tomcat.apache.org/tomcat-7.0-doc/monit