Results 1 to 3 of 3

Thread: Access MBeans from WebSphere 6.1

  1. #1
    Join Date
    May 2007
    Location
    Istanbul
    Posts
    42

    Default 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. #2
    Join Date
    Jul 2008
    Posts
    4

    Default

    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?

  3. #3
    Join Date
    Sep 2008
    Location
    London
    Posts
    20

    Smile 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"}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •