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

  • MBeans in glassfish?


    has anyone out here so far bothered trying to use MBeans together with the glassfish application server? So far, I have found the Spring MBeans facility to be too convenient and accessible not to use it, but I'd surely like to have Spring-exposed MBeans also available to the outside world while running apps inside the glassfish container... Experiences on this combination of technologies, anyone?

    TIA and best regards,

  • #2
    No probblem

    You can configure your beans in spring and the glassfish expose them as usual via rmi, as the other mbeans in glassfish. Try:
    jconsole and connect to "service:jmx:rmi:///jndi/rmi://"
    in the advanced connections.
    User and password of the glassfish admin.
    Off course you have to change the address and port for your instance, but in the startup of glassfish you have that information in the server.log


    • #3
      Remote GlassFish JMX Access

      The blog entry Simple Remote JMX with GlassFish provides additional details regarding fsoares' suggestions.