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

  • MBeans in glassfish?

    Folks;

    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,
    Kristian

  • #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://mina.anarca.org:8686/jmxrmi"
    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

    Comment


    • #3
      Remote GlassFish JMX Access

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

      Comment

      Working...
      X