Hey Doug, > Hey, > > I was trying to invoke a method on an MBEAN using > server.inoke and it won't > work. > > It works fine when I try to inoke no arg methods like start() > or init() > I call server.invoke(myObjectName, "start", new Object[0], > new String0]); > > But when I try to call sendNotification it screws up. > server.inovke(myObjectName, "sendNotification", new Object[]{ > myDeploymentNotification }, new > String[]{"javax.management.Notification"}); > > Is sendNotification not allowd to be invoke, or did I screw > up the signature > or something?
Is "sendNotification" in the management interface of your MBean ? If not, cannot be invoked through MBeanServer.invoke HTH, Simon _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development