Announcement Announcement Module
No announcement yet.
Multiple JVMs, One Service URL Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multiple JVMs, One Service URL

    I have 2 or more Spring applications using one MBean Server. However, each Spring application creates its own ConnectorServerFactoryBean with a different service URL for each.

    Because our design allows for dynamic starting of different Spring applications each with their own JVM, I think each application using its own service URL can get unwieldy for management. I would like to have all applications attach to the same service URL but only one application can create a ConnectorServerFactoryBean that uses a specific serviceUrl. All other applications get an URL already bound exception.

    Is there a way to have multiple Spring applications, each in their own JVM, connect to the same ConnectorServerFactoryBean using the same serviceUrl? In other words, the first application creates it, the next applications just connect to it and register their MBeans.

    Thanks in advance.