Announcement Announcement Module
No announcement yet.
ConnectorServiceFactoryBean Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • ConnectorServiceFactoryBean

    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
    Stanislav Zabudkin

    <!-- 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=" rverFactoryBean">
    <property name="objectName" value="connector:name=rmiRemSTS"></property>
    <property name="serviceUrl"