-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Neven,
On 4/7/13 3:15 PM, Neven Cvetkovic wrote:
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
On Tue, Apr 9, 2013 at 10:15 AM, Christopher Schultz
ch...@christopherschultz.net wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Neven,
On 4/7/13 3:15 PM, Neven Cvetkovic wrote:
Mark,
When connecting to local jmx, connection is not over the network
interface but through
On 07.04.2013, at 11:58, Jakub 1983 jjaku...@gmail.com 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 \
The problem is solved,
It was caused by running jconsole with different version of java than
Tomcat.
Neven, thx again for suggestions and help.
Regards,
Jakub
On Mon, Apr 8, 2013 at 7:49 AM, Zdeněk Henek vrab...@gmail.com wrote:
Hi Jakub,
do you have running Tomcat and JConsole as same
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*
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*
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
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
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
-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 \
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
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,
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
neven.cvetko...@gmail.comwrote:
Mark,
When
13 matches
Mail list logo