8 Replies Latest reply on Jan 2, 2007 11:51 AM by Rafal Kedziorski

    JBoss 4.0.2 with Jetty 5.x

    Rafal Kedziorski Novice

      Hi,

      I downloaded JBoss 4.0.2. After replace tomcat with Jetty 5.1.2 sar for JBoss 4.0.0 I get this message:

      13:34:25,560 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

      --- Packages waiting for a deployer ---
      org.jboss.deployment.DeploymentInfo@27b55c3c { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/http-invoker.sar/invoker.war/ }
       deployer: null
       status: Starting
       state: INIT_WAITING_DEPLOYER
       watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/http-invoker.sar/invoker.war/
       altDD: null
       lastDeployed: 1115638453122
       lastModified: 1115638088263
       mbeans:
      
      org.jboss.deployment.DeploymentInfo@10da9582 { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jboss-ws4ee.sar/jboss-ws4ee.war }
       deployer: null
       status: Starting
       state: INIT_WAITING_DEPLOYER
       watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jboss-ws4ee.sar/jboss-ws4ee.war
       altDD: null
       lastDeployed: 1115638453122
       lastModified: 1115638449731
       mbeans:
      
      org.jboss.deployment.DeploymentInfo@c6d69c74 { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ }
       deployer: null
       status: Starting
       state: INIT_WAITING_DEPLOYER
       watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
       altDD: null
       lastDeployed: 1115638453122
       lastModified: 1115638090169
       mbeans:
      
      org.jboss.deployment.DeploymentInfo@aa5d38d7 { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/management/console-mgr.sar/web-console.war/ }
       deployer: null
       status: Starting
       state: INIT_WAITING_DEPLOYER
       watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/management/console-mgr.sar/web-console.war/
       altDD: null
       lastDeployed: 1115638453122
       lastModified: 1115638092716
       mbeans:
      
      org.jboss.deployment.DeploymentInfo@e9f7424f { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ }
       deployer: null
       status: null
       state: INIT_WAITING_DEPLOYER
       watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/
       altDD: null
       lastDeployed: 1115638465544
       lastModified: 1115638091278
       mbeans:
      
      org.jboss.deployment.DeploymentInfo@7517b746 { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.2-jboss-4.0.0/ }
       deployer: null
       status: null
       state: INIT_WAITING_DEPLOYER
       watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.2-jboss-4.0.0/
       altDD: null
       lastDeployed: 1115638465544
       lastModified: 1115638160310
       mbeans:
      
      --- Incompletely deployed packages ---
      org.jboss.deployment.DeploymentInfo@e9f7424f { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ }
       deployer: null
       status: null
       state: INIT_WAITING_DEPLOYER
       watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/
       altDD: null
       lastDeployed: 1115638465544
       lastModified: 1115638091278
       mbeans:
      
      org.jboss.deployment.DeploymentInfo@7517b746 { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.2-jboss-4.0.0/ }
       deployer: null
       status: null
       state: INIT_WAITING_DEPLOYER
       watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.2-jboss-4.0.0/
       altDD: null
       lastDeployed: 1115638465544
       lastModified: 1115638160310
       mbeans:
      
      --- MBeans waiting for other MBeans ---
      ObjectName: jboss.ws4ee:service=ServiceDeployerJSE
       State: CONFIGURED
       I Depend On:
       jboss.web:service=WebServer
      
      ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
       State: CONFIGURED
       I Depend On:
       jboss.mq:service=Invoker
       jboss.web:service=WebServer
      
      --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
      ObjectName: jboss.web:service=WebServer
       State: NOTYETINSTALLED
       Depends On Me:
       jboss.ws4ee:service=ServiceDeployerJSE
       jboss.mq:service=InvocationLayer,type=HTTP
      


      Regards,
      Rafal

        • 2. Re: JBoss 4.0.2 with Jetty 5.x
          Rafal Kedziorski Novice

           

          "frankgrimes" wrote:
          http://www.jboss.org/index.html?module=bb&op=viewtopic&t=63494


          I've added

          <!DOCTYPE web-app PUBLIC
           "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
           "http://java.sun.com/dtd/web-app_2_3.dtd">
          


          to jboss-ws4ee.war/WEB-INF/web.xml but I get this:

          --- Packages waiting for a deployer ---
          org.jboss.deployment.DeploymentInfo@27b55c3c { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/http-invoker.sar/invoker.war/ }
           deployer: null
           status: Starting
           state: INIT_WAITING_DEPLOYER
           watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/http-invoker.sar/invoker.war/
           altDD: null
           lastDeployed: 1115733120810
           lastModified: 1115638088263
           mbeans:
          
          org.jboss.deployment.DeploymentInfo@10da9582 { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jboss-ws4ee.sar/jboss-ws4ee.war }
           deployer: null
           status: Starting
           state: INIT_WAITING_DEPLOYER
           watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jboss-ws4ee.sar/jboss-ws4ee.war
           altDD: null
           lastDeployed: 1115733120810
           lastModified: 1115733117560
           mbeans:
          
          org.jboss.deployment.DeploymentInfo@c6d69c74 { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.
           deployer: null
           status: Starting
           state: INIT_WAITING_DEPLOYER
           watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/
           altDD: null
           lastDeployed: 1115733120810
           lastModified: 1115638090169
           mbeans:
          
          org.jboss.deployment.DeploymentInfo@aa5d38d7 { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/management/console-mgr.sar/web-console
           deployer: null
           status: Starting
           state: INIT_WAITING_DEPLOYER
           watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/management/console-mgr.sar/web-console.war/
           altDD: null
           lastDeployed: 1115733120810
           lastModified: 1115638092716
           mbeans:
          
          org.jboss.deployment.DeploymentInfo@e9f7424f { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ }
           deployer: null
           status: null
           state: INIT_WAITING_DEPLOYER
           watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/
           altDD: null
           lastDeployed: 1115733134856
           lastModified: 1115638091278
           mbeans:
          
          org.jboss.deployment.DeploymentInfo@4e2482b7 { url=file:/E:/jboss/jboss-4.0.2/server/oma/tmp/deploy/tmp19050oma.ear-contents/oma.war }
           deployer: null
           status: Starting
           state: START_SUBDEPLOYMENTS
           watch: file:/E:/jboss/jboss-4.0.2/server/oma/tmp/deploy/tmp19050oma.ear-contents/oma.war
           altDD: null
           lastDeployed: 1115733137888
           lastModified: 1115733135388
           mbeans:
          
          org.jboss.deployment.DeploymentInfo@56f580e5 { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.3-jboss-4.0.0/ }
           deployer: null
           status: null
           state: INIT_WAITING_DEPLOYER
           watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.3-jboss-4.0.0/
           altDD: null
           lastDeployed: 1115733165919
           lastModified: 1115733079278
           mbeans:
          
          --- Incompletely deployed packages ---
          org.jboss.deployment.DeploymentInfo@e9f7424f { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/ }
           deployer: null
           status: null
           state: INIT_WAITING_DEPLOYER
           watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jmx-console.war/
           altDD: null
           lastDeployed: 1115733134856
           lastModified: 1115638091278
           mbeans:
          
          org.jboss.deployment.DeploymentInfo@56f580e5 { url=file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.3-jboss-4.0.0/ }
           deployer: null
           status: null
           state: INIT_WAITING_DEPLOYER
           watch: file:/E:/jboss/jboss-4.0.2/server/oma/deploy/jetty-5.1.3-jboss-4.0.0/
           altDD: null
           lastDeployed: 1115733165919
           lastModified: 1115733079278
           mbeans:
          
          --- MBeans waiting for other MBeans ---
          ObjectName: jboss.ws4ee:service=ServiceDeployerJSE
           State: CONFIGURED
           I Depend On:
           jboss.web:service=WebServer
          
          ObjectName: jboss.mq:service=InvocationLayer,type=HTTP
           State: CONFIGURED
           I Depend On:
           jboss.mq:service=Invoker
           jboss.web:service=WebServer
          
          --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
          ObjectName: jboss.web:service=WebServer
           State: NOTYETINSTALLED
           Depends On Me:
           jboss.ws4ee:service=ServiceDeployerJSE
           jboss.mq:service=InvocationLayer,type=HTTP
          


          I installed the newest Jetty 5.1.3 for JBoss 4.0.0.


          Regards,
          Rafal

          • 3. Re: JBoss 4.0.2 with Jetty 5.x
            Frank Grimes Newbie

            The log output you posted doesn't show what exception(s) are occurring that are keeping those services from being deployed.

            Still, I did manage to get everything working by building a jetty-5.1.4rc0-jboss-4.0.2.sar from the jetty-5.1.4rc0-all.zip distribution.
            Just edit jboss.properties and run build.xml under JETTY_HOME/extra/j2ee/.

            I then dropped in the jetty-5.1.4rc0-jboss-4.0.2.sar (removing the jbossweb-tomcat55.sar).
            After that, for jboss-ws4ee.war, I only needed to add the web.xml doctype entry and remove the JBossAxisAdminServlet servlet declaration and mapping.

            I also needed to comment out the "Status Servlet" (org.jboss.web.tomcat.tc5.StatusServlet) declaration and mapping from the web-console.war.

            • 4. Re: JBoss 4.0.2 with Jetty 5.x
              Rafal Kedziorski Novice

               

              "frankgrimes" wrote:
              The log output you posted doesn't show what exception(s) are occurring that are keeping those services from being deployed.

              Still, I did manage to get everything working by building a jetty-5.1.4rc0-jboss-4.0.2.sar from the jetty-5.1.4rc0-all.zip distribution.
              Just edit jboss.properties and run build.xml under JETTY_HOME/extra/j2ee/.

              I then dropped in the jetty-5.1.4rc0-jboss-4.0.2.sar (removing the jbossweb-tomcat55.sar).
              After that, for jboss-ws4ee.war, I only needed to add the web.xml doctype entry and remove the JBossAxisAdminServlet servlet declaration and mapping.

              I also needed to comment out the "Status Servlet" (org.jboss.web.tomcat.tc5.StatusServlet) declaration and mapping from the web-console.war.


              I try this tomorrow. Currently I get this exceptions:

              18:33:21,075 INFO [ModelMBeanImpl] Registered jboss.jetty:Server=0,JBossWebApplicationContext=3,context=/web-console
              18:33:22,372 INFO [Container] Started org.mortbay.jetty.servlet.WebApplicationHandler@2982d8
              18:33:22,872 INFO [ModelMBeanImpl] Deregister jboss.jetty:Server=0,JBossWebApplicationContext=3,context=/web-console
              18:33:22,888 ERROR [WebModule] Starting failed jboss.web.deployment:war=web-console.war,id=-1436731177
              org.jboss.deployment.DeploymentException: Started; - nested throwable: (java.lang.IllegalStateException: Started)
               at org.jboss.jetty.Jetty.undeploy(Jetty.java:374)
               at org.jboss.jetty.Jetty.deploy(Jetty.java:345)
               at org.jboss.jetty.JettyService.performDeploy(JettyService.java:207)
               at org.jboss.jetty.JettyService$JettyDeployer.performDeploy(JettyService.java:414)
               at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
               at org.jboss.web.WebModule.startModule(WebModule.java:68)
               at org.jboss.web.WebModule.startService(WebModule.java:46)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
               at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
               at $Proxy0.start(Unknown Source)
               at org.jboss.system.ServiceController.start(ServiceController.java:418)
               at org.jboss.system.ServiceController.start(ServiceController.java:440)
               at org.jboss.system.ServiceController.start(ServiceController.java:440)
               at org.jboss.system.ServiceController.start(ServiceController.java:440)
               at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
               at $Proxy4.start(Unknown Source)
               at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
               at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
               at $Proxy8.deploy(Unknown Source)
               at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
               at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
               at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
               at $Proxy0.start(Unknown Source)
               at org.jboss.system.ServiceController.start(ServiceController.java:418)
               at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
               at $Proxy4.start(Unknown Source)
               at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
               at $Proxy5.deploy(Unknown Source)
               at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
               at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
               at org.jboss.Main.boot(Main.java:195)
               at org.jboss.Main$1.run(Main.java:463)
               at java.lang.Thread.run(Thread.java:595)
              Caused by: java.lang.IllegalStateException: Started
               at org.mortbay.http.ResourceCache.destroy(ResourceCache.java:445)
               at org.mortbay.http.HttpContext.destroy(HttpContext.java:1848)
               at org.mortbay.jetty.servlet.ServletHttpContext.destroy(ServletHttpContext.java:197)
               at org.mortbay.jetty.servlet.WebApplicationContext.destroy(WebApplicationContext.java:599)
               at org.mortbay.j2ee.J2EEWebApplicationContext.destroy(J2EEWebApplicationContext.java:84)
               at org.jboss.jetty.JBossWebApplicationContext.destroy(JBossWebApplicationContext.java:94)
               at org.jboss.jetty.Jetty.undeploy(Jetty.java:367)
               ... 100 more
              18:33:23,778 WARN [ServiceController] Problem starting service jboss.web.deployment:war=web-console.war,id=-1436731177
              org.jboss.deployment.DeploymentException: Started; - nested throwable: (java.lang.IllegalStateException: Started)
               at org.jboss.jetty.Jetty.undeploy(Jetty.java:374)
               at org.jboss.jetty.Jetty.deploy(Jetty.java:345)
               at org.jboss.jetty.JettyService.performDeploy(JettyService.java:207)
               at org.jboss.jetty.JettyService$JettyDeployer.performDeploy(JettyService.java:414)
               at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
               at org.jboss.web.WebModule.startModule(WebModule.java:68)
               at org.jboss.web.WebModule.startService(WebModule.java:46)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
               at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
               at $Proxy0.start(Unknown Source)
               at org.jboss.system.ServiceController.start(ServiceController.java:418)
               at org.jboss.system.ServiceController.start(ServiceController.java:440)
               at org.jboss.system.ServiceController.start(ServiceController.java:440)
               at org.jboss.system.ServiceController.start(ServiceController.java:440)
               at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
               at $Proxy4.start(Unknown Source)
               at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
               at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
               at $Proxy8.deploy(Unknown Source)
               at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:325)
               at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:501)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:204)
               at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:277)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
               at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
               at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
               at $Proxy0.start(Unknown Source)
               at org.jboss.system.ServiceController.start(ServiceController.java:418)
               at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
               at $Proxy4.start(Unknown Source)
               at org.jboss.deployment.SARDeployer.start(SARDeployer.java:273)
               at org.jboss.deployment.MainDeployer.start(MainDeployer.java:964)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:775)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:738)
               at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
               at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
               at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:585)
               at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
               at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
               at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
               at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
               at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
               at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
               at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
               at $Proxy5.deploy(Unknown Source)
               at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
               at org.jboss.system.server.ServerImpl.start(ServerImpl.java:315)
               at org.jboss.Main.boot(Main.java:195)
               at org.jboss.Main$1.run(Main.java:463)
               at java.lang.Thread.run(Thread.java:595)
              Caused by: java.lang.IllegalStateException: Started
               at org.mortbay.http.ResourceCache.destroy(ResourceCache.java:445)
               at org.mortbay.http.HttpContext.destroy(HttpContext.java:1848)
               at org.mortbay.jetty.servlet.ServletHttpContext.destroy(ServletHttpContext.java:197)
               at org.mortbay.jetty.servlet.WebApplicationContext.destroy(WebApplicationContext.java:599)
               at org.mortbay.j2ee.J2EEWebApplicationContext.destroy(J2EEWebApplicationContext.java:84)
               at org.jboss.jetty.JBossWebApplicationContext.destroy(JBossWebApplicationContext.java:94)
               at org.jboss.jetty.Jetty.undeploy(Jetty.java:367)
               ... 100 more
              


              • 5. Re: JBoss 4.0.2 with Jetty 5.x
                Gil Katz Newbie

                I tried your configuration but when i try to run applications under jetty i get

                java.lang.NoClassDefFoundError: org/apache/catalina/core/StandardWrapperFacade
                at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java)
                at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427)
                at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:832)
                at org.mortbay.jetty.servlet.jsr77.Jsr77Filter.doFilter(Jsr77Filter.java:77)
                at org.mortbay.jetty.servlet.WebApplicationHandler$CachedChain.doFilter(WebApplicationHandler.java:823)
                at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
                at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
                at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
                at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:623)
                at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
                at org.mortbay.http.HttpServer.service(HttpServer.java:954)
                at org.jboss.jetty.Jetty.service(Jetty.java:456)
                at org.mortbay.http.HttpConnection.service(HttpConnection.java:814)
                at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:981)
                at org.mortbay.http.HttpConnection.handle(HttpConnection.java:831)
                at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
                at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
                at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)

                is there anything else i can do?

                • 7. Re: JBoss 4.0.2 with Jetty 5.x
                  singhindresh Newbie

                  I have some similar problems. Did your Jboss 4.0.2 configuration worked with Jetty ?

                  • 8. Re: JBoss 4.0.2 with Jetty 5.x
                    Rafal Kedziorski Novice

                     

                    "singhindresh" wrote:
                    I have some similar problems. Did your Jboss 4.0.2 configuration worked with Jetty ?


                    Yes. Currently I'm using jetty-5.1.4-jboss-4.0.2.sar. But jetty-5.1.12-jboss-4.0.2.sar should work too.

                    But I'm using JBoss 4.0.3SP1.


                    Best Regards
                    Rafal