Discussion:
[jboss-user] TR: Accessing jboss instance with jconsole - failure
Jean-Louis Mateo
2015-01-28 13:39:15 UTC
Permalink
Hi,

JBoss --> jboss-6.1.0.Final
Windows 7

I'd like to access my JBoss instance through JConsole with this url --> service:jmx:remoting-jmx://127.0.0.1:9999; I tried it but it failed.


[cid:***@01D03B07.6F812990]

Here are the jvm args (run.conf.bat):

set "JAVA_OPTS=-Xms128M -Xmx784M -XX:MaxPermSize=256M"

set "JBOSS_CLASSPATH=../lib/jboss-logmanager.jar"
set "JAVA_ARGS=%JAVA_OPTS% -Dorg.jboss.logging.Logger.pluginClass=org.jboss.logging.logmanager.LoggerPluginImpl"

set "JAVA_OPTS=%JAVA_OPTS% -Djava.util.logging.manager=org.jboss.logmanager.LogManager"
set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote"
set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.port=9999"
set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.authenticate=false"
set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.ssl=false"
set "JAVA_OPTS=%JAVA_OPTS% -Djboss.platform.mbeanserver"
set "JAVA_OPTS=%JAVA_OPTS% -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl"
set "JAVA_OPTS=%JAVA_OPTS% -Djava.rmi.server.hostname=127.0.0.1"

rem # Reduce the RMI GCs to once per hour for Sun JVMs.
set "JAVA_OPTS=%JAVA_OPTS% -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"

rem # Warn when resolving remote XML DTDs or schemas.
set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.resolver.warning=true"



All JBoss ports are up as you can see below...

[cid:***@01D03B07.6F812990]



Could you tell what I missed ?


Regards

Jean-Louis Matéo

[cid:***@01D0149B.0E1B9740]

This e-mail contains material that is confidential for the sole use of the intended recipient.
Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited.
If you are not the intended recipient, please contact the sender and delete all copies.
[graphic]Think environment
Print only if necessary

Loading...