That's what you call a sad story!
Thanks for letting me know though
I don't know what to use but this is what I have so far, seems to be getting somewhere...
The problem I have is I don't know what to cast that object as. I know I must somehow use this "weblogic.management.runtime.MessageDrivenEJBRuntimeMBean"
Does it ring any bells?
With the above code I get this compilation error:
"Multiple markers at this line
- The type weblogic.health.HealthFeedback cannot be resolved. It is indirectly
referenced from required .class files
- The type weblogic.management.runtime.RuntimeMBean cannot be resolved. It
is indirectly referenced from required .class files"
It has to do with the line "MessageDrivenEJBRuntimeMBean mdb = (MessageDrivenEJBRuntimeMBean)server.getObjectInstance(ejbName);"
I will carry on updating if I find any solutions, but if anyone can help please do
Thanks again