Hi Geeks

Finally I could bring all the JMX Connector into jBoss CVS and hope I
did not forget anything.

After compiling when you start your jBoss you see the JMX RMI Connector
starting up (right after JMX Adaptor).

Then you can start the connector.jar (in the client directory) and the
Test Client will start up. The test client will instantiate a local
MBeanServer and add the ConnectorFactory as first MBean. By asking the
ConnectorFactory your should be able to lookup in your Network the available
servers and its supported protocols (not implemented yet). Just go through
the Test Client by hitting enter till the client-side connector is loaded.
Then the Test Client lists all the available MBeans on the jBoss server
with its attributes and operations.
At the end the Test Client tries to add a Notification Listener to all
MBeans (it will fail for all which are not a Notification Broadcaster
but this is normal). Now you will retrieve all notification from the
jBoss server (just try to shutdown your jBoss server).
When you shutdown the client it removes all the notification listener
to client up the server (otherwise you would get a lot of exceptions
when you try to shutdown jBoss).

Have fun
Mad Andy

Reply via email to