Results 1 to 3 of 3

Thread: MBeans in glassfish?

  1. #1

    Default 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. #2
    Join Date
    Nov 2007
    Posts
    10

    Default 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

  3. #3

    Default Remote GlassFish JMX Access

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •