MBeanProxyFactoryBean: serviceURL for WebSphere 6.1
Hello,
I'm trying to access a MBean registered on a WebSphere 6.1 Application Server by employing the MBeanProxyFactoryBean. Unfortunately I do not know what the right serviceURL is. I tried to use
Code:
service:jmx:rmi://localhost/jndi/rmi://localhost:9999
but I'm getting the following exception:
Code:
Caused by: java.lang.ClassCastException: com.sun.jndi.rmi.registry.RegistryContext incompatible with javax.management.remote.rmi.RMIServer
What would be the right URL for accessing the service on WebSphere 6.1? Can anyone post details about how to register Spring Beans as JMX MBeans on WebSphere AS and accessing them by using MBeanProxyFactoryBean?
Thanks
Jens