users@glassfish.java.net

Re: Remote Glassfish V3 JMX and jconsole ?

From: <forums_at_java.net>
Date: Fri, 18 Nov 2011 03:29:45 -0600 (CST)

Hi,

try to start jconsole with tracing enabled:

./jconsole -J-Djava.util.logging.config.file=logging.properties

logging.properties file (in bin directoy, same as jconsole)

// logging.properties file to activate JMX traces.
// Use this file on the java command line:
//     java -Djava.util.logging.conig.file=<logging.properties>
//
handlers= java.util.logging.ConsoleHandler
.level=INFO
java.util.logging.FileHandler.pattern = %h/java%u.log
java.util.logging.FileHandler.limit = 50000
java.util.logging.FileHandler.count = 1
java.util.logging.FileHandler.formatter = java.util.logging.XMLFormatter
java.util.logging.ConsoleHandler.level = FINEST
java.util.logging.ConsoleHandler.formatter =
java.util.logging.SimpleFormatter
// Use FINER or FINEST for javax.management.remote.level - FINEST is
// very verbose...
//
javax.management.level=FINEST
javax.management.remote.level=FINER
 

This way you should get a better idea why you get a connection refused.

 

Regards

 

 


--
[Message sent by forum member 'boernd']
View Post: http://forums.java.net/node/865435