-
1. Re: How do I enable the Sun JMX server?
paata Aug 4, 2011 3:28 AM (in response to justinkwaugh)I have the same problem .
Can anyone help us ?
How to run jboss as 7 with jmxremote ?
-
2. Re: How do I enable the Sun JMX server?
paata Aug 5, 2011 4:16 AM (in response to paata)hello tem ?
Is it possible ?
I can't resolve this problem yet.
I need to run jboss as 7 with jms remote enabled for memory management.
Any idea will be appreciated.
_______________________
Regards,
Paata Lominadze.
-
3. Re: How do I enable the Sun JMX server?
jaikiran Aug 7, 2011 11:00 AM (in response to paata)set "JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=48002 -Dcom.sun.management.jmxremote.ssl=false"
That doesn't look right.
Please post the exact changes done and also the initial few logs that you see on the console (containing these params) when you start the server.
-
4. Re: How do I enable the Sun JMX server?
hibernal Aug 8, 2011 3:59 PM (in response to justinkwaugh)make some socket-bindings:
<socket-binding name="jmx-connector-registry" port="1090"/>
<socket-binding name="jmx-connector-server" port="1091"/>and a jmx subsystem:
<subsystem xmlns="urn:jboss:domain:jmx:1.0">
<jmx-connector server-binding="jmx-connector-server" registry-binding="jmx-connector-registry"/>
</subsystem>see jboss-jmx.xsd for more options....
-
5. Re: How do I enable the Sun JMX server?
danhanley Sep 19, 2011 6:55 PM (in response to justinkwaugh)Using as7.1 alpha 1 it works remotely out of the box no extra config needed. just connect e.g. jconsole to port 1060 (make sure no firewall blocks etc).
Oddly it does not advertise itself for local connection, which is confusing.
(earlier misleading post deleted. Thanks to darran lofthouse for pointing me the right way)