Results 1 to 2 of 2

Thread: MBeanProxyFactoryBean: serviceURL for WebSphere 6.1

  1. #1

    Default 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

  2. #2

    Default

    Ok, I found out that the right service URL is
    Code:
    service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi
    where 9999 is the JMX remote port.

Posting Permissions

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