I am getting started with jmx to my application , I am using spring jms server, here is my configration
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.Code:<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 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.


Reply With Quote