0 Replies Latest reply: Nov 16, 2011 9:54 AM by user11138293 RSS

    jconsole remote server connection

    user11138293
      I am getting started with jmx to my application , I am using spring jms server, here is my configration
           <context:mbean-export/>
           <bean class="org.springframework.jmx.support.MBeanServerFactoryBean"/>
      
           
           
           
          <bean id="jemosJmxServer" class="org.springframework.jmx.support.ConnectorServerFactoryBean" depends-on="rmiRegistry">
              <property name="objectName" value="connector:name=rmi" />
              <property name="serviceUrl" value="service:jmx:rmi://localhost:9999/jndi/rmi://localhost:10099/myConnector" />
          </bean>
      
          <bean id="rmiRegistry" class="org.springframework.remoting.rmi.RmiRegistryFactoryBean">
              <property name="port" value="10099" />
          </bean>
      when I deploy my application to my local server, use jconsole I can see all my mbeans I can call methods on the benas etc.. all works good.
      when deployed to remote server a linux box, use jconsole the connection succeeds , but none of my mbeans are visible ,please advice me what I have to do for connection to my jmx server deployed in remote server.