-
1. Re: ModelMBean setManagedResource(EJBHandle..)
squirest Apr 5, 2002 2:24 AM (in response to susan)Hi Susan,
First off, you've not told us what JMX agent you are using...
Secondly, you're setting the managed object type as "objectReference" when you really mean "EJBHandle".
If you're using JBossMX I'm pretty sure that support for this has not quite yet been added...
HTH
Trev -
2. Re: ModelMBean setManagedResource(EJBHandle..)
susan Apr 5, 2002 4:30 AM (in response to susan)Thanks for your reply!
Yes, I forgot to tell, that I'm using the jmxri.jar (SUN RI), which includes the class RequiredModelMBean.
I read, that it is possible to manage EJBs or other applications with the requiredModelMBean.
But I didnt found a way how to set ManagedResource.
I looked in the source code of the methode "setManagedResource" from RequiredModelMBean (JMX RI 1.0), but there is only the type "objectReference" allowed .
Is it now really possible to manage an ejb or application with modelmbeans? Or would it be a feature for the future?
Thanks in advance
Susan -
3. Re: ModelMBean setManagedResource(EJBHandle..)
adrian.brock Apr 5, 2002 5:57 AM (in response to susan)The JMX RI does not support EJBHandle.
We will be adding support for this to JBossMX, but it
is in not there yet.
Regards,
Adrian