allan gochee [https://community.jboss.org/people/allan307am] created the 
discussion

"JBoss AS 7.1 - Trying to capture JBoss deployment events"

To view the discussion, visit: https://community.jboss.org/message/743999#743999

--------------------------------------------------------------
In JBoss 5, the main deployer existed where you could setup to capture 
deployment events:
jboss.system:service=MainDeployer JMX MBean

I'm trying to find the equivalent with AS 7.*

The documentation for this new AS has been limited.

I understnad this much:

  String host = "localhost";  // Your JBoss Bind Address default is localhost
        int port = 9999;  // management-native port

        String urlString ="service:jmx:remoting-jmx://" + host + ":" + port;
        System.out.println("          \n\n\t****  urlString: "+urlString);

        JMXServiceURL serviceURL;
                    try {
                              serviceURL = new JMXServiceURL(urlString);

        JMXConnector jmxConnector = JMXConnectorFactory.connect(serviceURL, 
null);
        MBeanServerConnection connection = 
jmxConnector.getMBeanServerConnection();
       connection.addNotificationListener(name, this, filter, handback);



As for name(mbean deployer) and filter I need details/URLs on how to setup for 
this to work in this AS.  Thanks.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/743999#743999]

Start a new discussion in JBoss Microcontainer at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2114]

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to