aspose file tools*
The moose likes Java in General and the fly likes MBeans On Weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "MBeans On Weblogic" Watch "MBeans On Weblogic" New topic
Author

MBeans On Weblogic

anakin skywalker
Greenhorn

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.
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Post in Weblogic Forum.


My blood is tested +ve for Java.
 
jQuery in Action, 2nd edition
 
subject: MBeans On Weblogic