| Author |
Getting WebSphere's MBeanServer thru lookup
|
Madhes Rathinam
Greenhorn
Joined: Aug 19, 2011
Posts: 7
|
|
I am trying to access the MBeanServer, thru JNDI lookup:
Its failing with:"javax.naming.NameNotFoundException: Name comp/env/jmx not found in context "java:""
Where as, the similar code works fine in WLS, and returns the MBeanServer instance.
What am I doing wrong?
any pointers?
Thanks in advance
|
 |
Madhes Rathinam
Greenhorn
Joined: Aug 19, 2011
Posts: 7
|
|
I tried the same using Spring framework too:
This code works fine in WebLogic, and returns the MBeanServer instance.
Is the JNDI name wrong for WebSphere?
|
 |
Pranali Brahmankar
Greenhorn
Joined: Jan 17, 2010
Posts: 3
|
|
|
Hi, could you fix it?
|
 |
 |
|
|
subject: Getting WebSphere's MBeanServer thru lookup
|
|
|