Connecting to "service:jmx:remoting-jmx://localhost:9999" works only in standalone mode for me.
Yet, I am not able to connect to jboss 7.1 running in domain mode. I used the standard configuration without any modifications to start jboss in standalone and domain mode.
Is there something that has to be configured first in domain mode?
In domain mode the remote access to JMX is exposed over the remoting connector of that AS instance which is mapped to the 'remoting' socket binding which by default starts at 4447 plus any offset. As this is using the remoting connector of the AS instance the user you use to connect needs to be a user from the ApplicationRealm.
Thank you for your quick reponse.
I added a user to the application realm (verified in application-users.properties) and tried to connect to "service:jmx:remoting-jmx://localhost:4447"
Unfortunately, this does not work as well and with standard configuration there is no information logged regarding that.
Using telnet I get a connection at localhost:4447...
Thanks in advance
In my setup Jboss is running on Windows 7 Pro, jdk1.6.0_21
I traced the network with wireshark, the following is the tcp stream transmitted:
....c.>Ky.............C...jmx....@....P..................C.Unknown service name
(I set-up another instance on a solaris 10 machine running jdk 1.7. Connecting via jConsole does not work there as well. There is also this "Unknown service name" at the end of the tcp stream...)
Any idea about this "Unknown service name"?
yes, sure. I just used the default configuration without modifications:
I just unzipped jboss-as-7.1.0.Final.zip and started jboss with the command "domain.sh -b 0.0.0.0 -Djboss.bind.address.management=<MY_IP>".
hey am looking for some help here, i tried these steps i could telnet the port and hostname. but cant get it in jconsole.. tried hard, atlast asking you the question for configuring...
i am using jboss 711 and jdk 1.6 u 04...
when i try remoting outside the jboss machine i could see this is server logs
08:53:11,931 ERROR [org.jboss.remoting.remote.connection] (Remoting "<hostname>:MANAGEMENT" read-1) JBREM000200: Remote connection failed: java.io.IOException: Received an invalid message length of 1246907721
any help would be appreciated greatly.. and a quick response would help me a lot to save time than i break my own head.
please do reply.