Announcement Announcement Module
Collapse
No announcement yet.
Access MBeans from WebSphere 6.1 Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access MBeans from WebSphere 6.1

    Hi All,

    I'm a newbie on JMX. It may be a very simple question but I couldn't find an answer for this. I have successfully registered a spring managed bean into WebSphere 6.1 Server. I saw these lines in log:

    Code:
    [9/15/08 16:41:44:173 EEST] 00000017 MBeanExporter I org.springframework.jmx.export.MBeanExporter afterPropertiesSet Registering beans for JMX exposure on startup
    [9/15/08 16:41:44:188 EEST] 00000017 MBeanExporter I org.springframework.jmx.export.MBeanExporter registerBeanInstance Located managed bean 'messageCacheBean': registering with JMX server as MBean [WebSphere:cell=0206x318Node03Cell,name=messageCacheBean,type=SDFCache,node=0206x318Node03,process=server1]
    But I don't know how to access this mbean? Does WebSphere have support for it? I mean is it possible to access from administrative console? Or should I use other tool like MC4J?

    Any help is appreciated.
    Thanks,

  • #2
    If you don't mind, how did you register these beans in your context, I am having issues registering them under was6.1 via my spring context.

    also, did you have to make any changes in was6.1 for these beans to register?

    Comment


    • #3
      Access MBeans from WebSphere 6.1

      Hi Guys,

      For WAS6.1, you can use wsadmin commands to invoke your MBean.

      A sample eg shown below.

      wsadmin>$AdminControl invoke WebSphere:cell=cs-dikkgtd6xNode05Cell,name=cs-dikkg
      td6xNode05Cell,node=cs-dikkgtd6xNode05,process=server1,type=JJSSLF4JLogge rLevelC
      hanger changeRootLoggerLevel {"DEBUG"}

      Comment

      Working...
      X