2 Replies Latest reply on Oct 12, 2004 12:24 PM by tarun s

    jboss 4

    tarun s Newbie

      i installed jboss 4 yesterday with the jdk 1.5 and it's given me a whole lot of errors on accessing the jmx console. firefox crashes. and ie doesn't even navigate to local:8080, it just shows a page not found error. what's wrong? is jboss 4 not compatible with 1.5 or something?

        • 1. Re: jboss 4
          Scott Stark Master

          Accessing the jmx-conslole using the release version of java5 works fine for me with jboss-4.0.0

          [starksm@banshee9100 bin]$ run.sh
          =========================================================================
          
           JBoss Bootstrap Environment
          
           JBOSS_HOME: C:\cvs\Releases\jboss-4.0.0
          
           JAVA: /usr/java/jdk1.5.0/bin/java
          
           JAVA_OPTS: -server -Xms128m -Xmx128m -Dprogram.name=run.sh
          
           CLASSPATH: C:\cvs\Releases\jboss-4.0.0\bin\run.jar;C:\usr\java\jdk1.5.0\lib\tools.jar
          
          =========================================================================
          
          07:24:38,078 INFO [Server] Starting JBoss (MX MicroKernel)...
          07:24:38,078 INFO [Server] Release ID: JBoss [Zion] 4.0.0 (build: CVSTag=JBoss_4_0_0 date=200409200418)
          07:24:38,078 INFO [Server] Home Dir: C:\cvs\Releases\jboss-4.0.0
          07:24:38,078 INFO [Server] Home URL: file:/C:/cvs/Releases/jboss-4.0.0/
          07:24:38,078 INFO [Server] Library URL: file:/C:/cvs/Releases/jboss-4.0.0/lib/
          07:24:38,078 INFO [Server] Patch URL: null
          07:24:38,078 INFO [Server] Server Name: default
          07:24:38,078 INFO [Server] Server Home Dir: C:\cvs\Releases\jboss-4.0.0\server\default
          07:24:38,093 INFO [Server] Server Home URL: file:/C:/cvs/Releases/jboss-4.0.0/server/default/
          07:24:38,093 INFO [Server] Server Data Dir: C:\cvs\Releases\jboss-4.0.0\server\default\data
          07:24:38,093 INFO [Server] Server Temp Dir: C:\cvs\Releases\jboss-4.0.0\server\default\tmp
          07:24:38,093 INFO [Server] Server Config URL: file:/C:/cvs/Releases/jboss-4.0.0/server/default/conf/
          07:24:38,093 INFO [Server] Server Library URL: file:/C:/cvs/Releases/jboss-4.0.0/server/default/lib/
          07:24:38,093 INFO [Server] Root Deployment Filename: jboss-service.xml
          07:24:38,093 INFO [Server] Starting General Purpose Architecture (GPA)...
          07:24:38,718 INFO [ServerInfo] Java version: 1.5.0,Sun Microsystems Inc.
          07:24:38,718 INFO [ServerInfo] Java VM: Java HotSpot(TM) Server VM 1.5.0-b64,Sun Microsystems Inc.
          07:24:38,718 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
          




          • 2. Re: jboss 4
            tarun s Newbie

            i don't know is this is a problem with jboss and java 1.5. i assumed it was because i didn't touch jboss before running it and it gave me a lot of messages which the console ate up and didn't let me go back to.
            but i can tell u some errors it gave me



            ava:118)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:102)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
            ve.java:109)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
            
             at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
            0)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
            :799)
             at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
            ssConnection(Http11Protocol.java:705)
             at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
            :577)
             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
            ool.java:683)
             at java.lang.Thread.run(Thread.java:595)
            12:18:00,278 ERROR [Engine] ApplicationDispatcher[/jmx-console] Allocate excepti
            on for servlet HtmlAdaptor
            javax.servlet.ServletException: Wrapper cannot find servlet class org.jboss.jmx.
            adaptor.html.HtmlAdaptorServlet or a class it depends on
             at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
            java:974)
             at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
            a:687)
             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
            atcher.java:671)
             at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
            tionDispatcher.java:474)
             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
            ispatcher.java:409)
             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
            patcher.java:312)
             at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.j
            ava:670)
             at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav
            a:637)
             at org.apache.jsp.index_jsp._jspService(index_jsp.java:44)
             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
            .java:324)
             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
            92)
             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:237)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:157)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
            lter.java:75)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:186)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:157)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
            alve.java:214)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
            ContextValve.java:198)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
            alve.java:152)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
            ipalValve.java:44)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:102)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
            yAssociationValve.java:169)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:102)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
            ava:137)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
            ava:118)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:102)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
            ve.java:109)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
            
             at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
            0)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
            :799)
             at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
            ssConnection(Http11Protocol.java:705)
             at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
            :577)
             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
            ool.java:683)
             at java.lang.Thread.run(Thread.java:595)
            12:18:00,278 ERROR [Engine] ----- Root Cause -----
            java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.html.HtmlAdaptorServlet
             at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
            der.java:1340)
             at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
            der.java:1189)
             at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
            java:964)
             at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
            a:687)
             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
            atcher.java:671)
             at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
            tionDispatcher.java:474)
             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
            ispatcher.java:409)
             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
            patcher.java:312)
             at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.j
            ava:670)
             at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav
            a:637)
             at org.apache.jsp.index_jsp._jspService(index_jsp.java:44)
             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
            .java:324)
             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
            92)
             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:237)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:157)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
            lter.java:75)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:186)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:157)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
            alve.java:214)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
            ContextValve.java:198)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
            alve.java:152)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
            ipalValve.java:44)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:102)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
            yAssociationValve.java:169)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:102)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
            ava:137)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
            ava:118)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:102)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
            ve.java:109)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
            
             at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
            0)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
            :799)
             at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
            ssConnection(Http11Protocol.java:705)
             at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
            :577)
             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
            ool.java:683)
             at java.lang.Thread.run(Thread.java:595)
            12:18:00,308 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for ser
            vlet jsp threw exception
            java.lang.ClassNotFoundException: org.jboss.jmx.adaptor.html.HtmlAdaptorServlet
             at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
            der.java:1340)
             at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa
            der.java:1189)
             at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.
            java:964)
             at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.jav
            a:687)
             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
            atcher.java:671)
             at org.apache.catalina.core.ApplicationDispatcher.processRequest(Applica
            tionDispatcher.java:474)
             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
            ispatcher.java:409)
             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
            patcher.java:312)
             at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.j
            ava:670)
             at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.jav
            a:637)
             at org.apache.jsp.index_jsp._jspService(index_jsp.java:44)
             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
            .java:324)
             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
            92)
             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:237)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:157)
             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
            lter.java:75)
             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
            icationFilterChain.java:186)
             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
            ilterChain.java:157)
             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
            alve.java:214)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
            ContextValve.java:198)
             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
            alve.java:152)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrinc
            ipalValve.java:44)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:102)
             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
            yAssociationValve.java:169)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:102)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
            ava:137)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
            ava:118)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:102)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
            ve.java:109)
             at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
            eContext.java:104)
             at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
            a:520)
             at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
            
             at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
            0)
             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
            :799)
             at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
            ssConnection(Http11Protocol.java:705)
             at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java
            :577)
             at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
            ool.java:683)
             at java.lang.Thread.run(Thread.java:595)