File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Java in General
Bookmark "MBeans On Weblogic" Watch "MBeans On Weblogic" New topic

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

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

My blood is tested +ve for Java.
I agree. Here's the link:
subject: MBeans On Weblogic
It's not a secret anymore!