3 Replies Latest reply on Aug 19, 2002 3:59 PM by mindstate

    Warnings on startup: JMX HtmlAdaptor not starting

    mindstate

      Hi, I am using Jboss 3 (w/Jetty) built from Branch_3_0 from CVS on FreeBSD 4.5, w/Blackdown 1.3.1 jdk

      The JMX Html adaptor that is supposed to run on port 8082 is not starting when I start up Jboss. The build from source went fine, except i had do it twice having failed to add java to my PATH the first time (I just deleted the output dir and tried again..) I have tried deploying a simple WAR and that worked, however I'd like to try and figure out what's wrong.

      There are some warnings in server.log every time I start it up, some of them (the so-and-so does not implement any Service methods) appear with my binary install on win98, however, the other ones don't.
      Can someone give me some insight?

      Following are the warnings grep'd from the server.log. Please let me know if any other info would be useful. Thanks.:

      2002-08-17 18:09:47,071 WARN [org.jboss.deployment.MainDeployer] The manifest entry in file:/usr/local/jboss/jboss-all/build/output/jboss-3.0.2RC1/server/default/deploy/jbossweb.sar/org.mortbay.jetty.jar references URL file:/usr/local/jboss/jboss-all/build/output/jboss-3.0.2RC1/server/default/deploy/jbossweb.sar/javax.servlet.jar which could not be opened, entry ignored
      2002-08-17 18:09:47,083 WARN [org.jboss.deployment.MainDeployer] The manifest entry in file:/usr/local/jboss/jboss-all/build/output/jboss-3.0.2RC1/server/default/deploy/jbossweb.sar/org.mortbay.jetty.jar references URL file:/usr/local/jboss/jboss-all/build/output/jboss-3.0.2RC1/server/default/deploy/ext/com.sun.net.ssl.jar which could not be opened, entry ignored
      2002-08-17 18:09:54,504 WARN [org.jboss.system.ServiceController] jboss.jca:service=LocalTxDS,name=hsqldbDS does not implement any Service methods
      2002-08-17 18:09:54,548 WARN [org.jboss.system.ServiceController] jboss.jca:service=LocalTxDS,name=hsqldbDS does not implement any Service methods
      2002-08-17 18:09:58,434 WARN [org.jboss.mq.il.oil.OILServerILService] SocketException occured (Connection reset by peer?). Cannot initialize the OILServerILService.
      2002-08-17 18:09:58,439 WARN [org.jboss.mq.il.uil.UILServerILService] SocketException occured (Connection reset by peer?). Cannot initialize the UILServerILService.
      2002-08-17 18:09:58,566 WARN [org.jboss.system.ServiceController] jboss.jca:service=XaTxDS,name=jmsra does not implement any Service methods
      2002-08-17 18:10:00,561 WARN [org.jboss.system.ServiceController] jboss.jca:service=RARDeployment,name=JMS Adapter does not implement any Service methods
      2002-08-17 18:10:00,570 WARN [org.jboss.system.ServiceController] jboss.jca:service=XaTxDS,name=jmsra does not implement any Service methods
      2002-08-17 18:10:02,026 WARN [org.jboss.system.ServiceController] jboss.jca:service=RARDeployment,name=JBoss LocalTransaction JDBC Wrapper does not implement any Service methods
      2002-08-17 18:10:02,035 WARN [org.jboss.system.ServiceController] jboss.jca:service=LocalTxDS,name=hsqldbDS does not implement any Service methods
      2002-08-17 18:10:02,798 WARN [org.jboss.system.ServiceController] jboss.jca:service=RARDeployment,name=Minerva JDBC XATransaction ResourceAdapter does not implement any Service methods
      2002-08-17 18:14:28,008 WARN [org.jboss.jbossweb] WARNING: Exception for /jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system%3Atype%3DServer&methodName=shutdown

        • 1. Re: Warnings on startup: JMX HtmlAdaptor not starting
          mindstate

          It looks like the last warning is where JMX is crashing out.. could it be related to the first warnings at the top regarding Jars not found?

          Should I just re-download the source from CVS and reinstall or is JMX not configured to work from the source install?

          Should this question be in another forum?

          • 2. Re: Warnings on startup: JMX HtmlAdaptor not starting

            I think this is a mistake in current CVS
            jmxri.jar has been removed so the html adaptor
            won't start.

            The reason is that http://localhost:8080/jmx-console
            replaces it.

            I think you can ignore all of the warnings except the
            last one. I'm suprised the "exception" hasn't appeared in
            the log?

            Regards,
            Adrian

            • 3. Re: Warnings on startup: JMX HtmlAdaptor not starting
              mindstate

              Hi warjort,

              Thanks for the info, I checked out localhost:8080/jmx-console and the "Jboss Managemnt Console" is running there. Regarding your post:

              Apparently I have jmxri.jar in the following dirs:
              ./server/all/lib/jmxri.jar
              ./server/default/lib/jmxri.jar
              ./server/default/tmp/deploy/server/default/lib/jmxri.jar
              So perhaps the html adaptor should be starting?

              I had a second look at server.log and there is a Java exception nested in the last WARN that I posted. This appears to take place at shutdown tho, not at startup. Should this be a concern then?:

              2002-08-17 18:14:27,885 INFO [org.jboss.jbossweb] Deregister jboss.web:Jetty=0,JBossWebApplicationContext=1,context=/jmx-console
              2002-08-17 18:14:28,008 WARN [org.jboss.jbossweb] WARNING: Exception for /jmx-console/HtmlAdaptor?action=invokeOpByName&name=jboss.system%3Atype%3DServer&methodName=shutdown
              javax.servlet.UnavailableException: Servlet Not Initialized
              at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:315)
              at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:313)
              at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:204)
              at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOpByName(HtmlAdaptorServlet.java:199)
              at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:79)
              at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doGet(HtmlAdaptorServlet.java:54)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
              at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:344)
              at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:313)
              at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:554)
              at org.mortbay.jetty.servlet.WebApplicationHandler.handle(WebApplicationHandler.java:199)
              at org.mortbay.http.HttpContext.handle(HttpContext.java:1572)
              at org.mortbay.http.HttpContext.handle(HttpContext.java:1522)
              at org.mortbay.http.HttpServer.service(HttpServer.java:795)
              at org.jboss.jetty.Jetty.service(Jetty.java:531)
              at org.mortbay.http.HttpConnection.service(HttpConnection.java:784)
              at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:941)
              at org.mortbay.http.HttpConnection.handle(HttpConnection.java:799)
              at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:186)
              at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:322)
              at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:713)
              at java.lang.Thread.run(Thread.java:484)

              2002-08-17 18:14:28,223 INFO [org.jboss.jbossweb] Deregister jboss.web:Jetty=0,JBossWebApplicationContext=0,context=/helloworld
              ...
              2002-08-17 18:14:34,188 INFO [org.jboss.system.server.Server] Shutdown complete