Nov 16th, 2007, 07:56 AM
Good day everybody !
I have next problem: our application is deployed to the tomcat.
And I want to use jmx features here. As I have learned tomcat it has own mbean server. And it work fine - I can deploy to it mbeans - and the see it's properties. But in my application I want my own mbean server, which I wrote in applicationContext.xml. And it run ok - I can see mbeans deployed to it - using coding. But problem is when I want to see remote my mbeans. As are written in the documentation I am taking ConnectorServiceFactoryBean to the appicationServiceFactoryBean ( Example is on the bottom ).But I cant conntect this ConnectorServiceFactoryBean to my MBean server. I always see tomcat MBeanServer through the mc4j program.
How can I see my own server ?
Please help me if you know the answer !
With best regards
<!-- Configure the RMI Registry -->
<bean id="registry" class="org.springframework.remoting.rmi.RmiRegistr yFactoryBean">
<property name="port" value="1799"/>
<!-- Configure the Connector -->
<bean id="connectorServer" class="org.springframework.jmx.support.ConnectorSe rverFactoryBean">
<property name="objectName" value="connector:name=rmiRemSTS"></property>