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.
I downloaded jboss 7.1.1 and unzip the files (JBoss Application Server Downloads - JBoss Community)
Update domain.xml with
Start domain in windows with
Launch console bundled with jboss and try to connect to
I saw with netstat that there is a listener on this port but can't connect to jvm
Both with windows console and cygwin
Did i miss something?
Thank you all
My currently jboss server is running at one of the intranet PC. That is an linux.
Now trying to connect jconsole remote host by using followig hostUrl service:jmx:remoting-jmx://192.168.1.65:9999. But it saying connection was refused. Im trying in standalone mode itself.
i already changed standalone.xml file