4 Replies Latest reply on Mar 2, 2002 3:00 PM by Ken Kachnowich

    Running JMX with Tomcat

    Ken Kachnowich Newbie

      Hi,

      How would I run JbossMX with Tomcat so that I could
      use Tomcat as the Html connector? Is it possible to
      do this without Jboss?

      Thanks,

      Ken

        • 1. Re: Running JMX with Tomcat
          David Jencks Master

          I'm not sure what you want to do here. You don't need jboss (server) to run jbossmx. jbossmx right now has no html connector of its own. A jmx html connector is not a servlet engine, and a servlet engine is not a jmx html connector. If you want to see something like the sun jmx html connector that you usually see on port 8082 with jboss run through a servlet container like tomcat, you will need some servlets to create the display, and something to talk jmx to the jmx implementation. One possibility is an ejb, but then you'd need to run jboss server.

          • 2. Re: Running JMX with Tomcat
            Juha Lindfors Master

            > How would I run JbossMX with Tomcat so that I could
            > use Tomcat as the Html connector?

            You need to create an MBean for the Tomcat servlet engine, and register it to the MBean server. I don't know the Tomcat details, but they at least used to have something called "EmbeddedTomcat" that you could embed into your applications.

            > Is it possible to do this without Jboss?

            Yes, there are no dependencies from JBossMX to the JBoss server.

            -- Juha

            • 3. Re: Running JMX with Tomcat
              Juha Lindfors Master

              >One possibility is an ejb, but then you'd need to run jboss server.

              Ugh. Leave EJB out of it.

              -- Juha

              • 4. Re: Running JMX with Tomcat
                Ken Kachnowich Newbie

                Thank you for replying. I was a bit confused on the
                concept, but I have the JMX book now and will do
                some reading.

                Are there any licensing issues on using the Sun Html
                connector?

                Thanks,

                Ken