my dog learned polymorphism
The moose likes BEA/Weblogic and the fly likes MBeans in WebLogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "MBeans in WebLogic" Watch "MBeans in WebLogic" New topic

MBeans in WebLogic

anakin skywalker

Joined: May 30, 2006
Posts: 2
Hi All,

I wanted some information on writing MBeans on weblogic. I tried the BEA site and the information listed wasnt of much help in writing custom mbeans.

I have following questions. do let me know the answers or any information u have on it.

1) Does a standard MBean implement certain weblogic specific interfaces ?
2) How do I register this MBean ? ( i used t3TaskDef interface which helps me while registering at the startup)
3) How can i access the MBean from a different JVM ? i done a look up on MBean Home using MBean.ADMIN_JNDI_NAME and tried accessing it using getMBean which ended up giving me InstanceNotFoundException, even tho it was registered.

If anyone cud provide me a sample code of MBean interface the implementation class of it, registering class for it and the Agent that is used for accessing it would be of great help.

Thanks in Advance.
I agree. Here's the link:
subject: MBeans in WebLogic
It's not a secret anymore!