Please keep support questions OFF this list, 
thanks

marcf

|-----Original Message-----
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of
|Bordet, Simone
|Sent: Sunday, November 04, 2001 10:46 AM
|To: jBoss Dev (E-mail)
|Subject: R: [JBoss-dev] Quick JMX question
|
|
|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

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to