(jboss 3.2.5)

i have a servlet listener, inside my ear

in contextInitialized, i do the following code:

MBeanServer server =
            (MBeanServer) MBeanServerFactory.createMBeanServer();
                try {
            server.addNotificationListener(new ObjectName("jboss.web", "service", 
"WebServer"), instance, null, null);
        } catch (Exception e) {
            log.error("Could not register webserver notificaiton", e);
        } 


and i get an exception, in the jmx console, i see the mbean as started.

thanx,
ittay

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842043#3842043

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842043


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to