0 Replies Latest reply on Sep 4, 2002 2:19 PM by Haris Peco

    Jboss 3.0.2 (3.0.3RC1) and catalina tomcat 4.0.4

    Haris Peco Newbie

      Hello,
      I am compile Jboss 3.0.2 (from sourceforge) with catalina
      tomcat 4.0.4.

      I set catalina.home absolute pathname

      When JBoss start I get next error :

      ...
      19:44:34,589 INFO [MainDeployer] Deployed package: file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/catalina/common/lib/jndi.jar
      19:44:34,784 INFO [EmbeddedCatalinaServiceSX] Creating
      19:44:34,786 INFO [EmbeddedCatalinaServiceSX] Created
      19:44:34,787 INFO [EmbeddedCatalinaServiceSX] Starting
      19:44:34,787 INFO [MainDeployer] Adding deployer: org.jboss.web.catalina.EmbeddedCatalinaServiceSX@af72d8
      19:44:34,788 INFO [MainDeployer] Starting deployment of package: file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/server/default/deploy/http-invoker.sar/invoker.war/
      19:44:35,322 INFO [EmbeddedCatalinaServiceSX] deploy, ctxPath=/invoker, warUrl=file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/server/default/deploy/http-invoker.sar/invoker.war/
      19:44:35,376 ERROR [MainDeployer] DeploymentException while trying to deploy a package with a new deployer
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (java.lang.NullPointerException)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:309)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:224)
      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:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.deployment.SubDeployerSupport.startService(SubDeployerSupport.java:98)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.startService(EmbeddedCatalinaServiceSX.java:214)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)
      at $Proxy5.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:396)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy4.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:427)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:648)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:499)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:261)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:164)
      at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:967)
      at $Proxy0.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:396)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.start(Unknown Source)
      at org.jboss.deployment.SARDeployer.start(SARDeployer.java:249)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:802)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:616)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:580)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:564)
      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:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:324)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:221)
      at org.jboss.Main.boot(Main.java:142)
      at org.jboss.Main$1.run(Main.java:375)
      at java.lang.Thread.run(Thread.java:536)
      Caused by: java.lang.NullPointerException
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.createWebContext(EmbeddedCatalinaServiceSX.java:359)
      at org.jboss.web.catalina.EmbeddedCatalinaServiceSX.performDeploy(EmbeddedCatalinaServiceSX.java:301)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:300)
      ... 74 more
      19:44:36,768 INFO [STDOUT] Apache Tomcat/4.0.4
      19:44:36,847 INFO [Engine] HttpConnector Opening server socket on all host IP addresses
      19:44:36,847 INFO [Engine] HttpConnector[8080] Starting background thread
      19:44:37,147 INFO [Engine] HttpProcessor[8080][0] Starting background thread
      19:44:37,149 INFO [Engine] HttpProcessor[8080][1] Starting background thread
      19:44:37,151 INFO [Engine] HttpProcessor[8080][2] Starting background thread
      19:44:37,152 INFO [EmbeddedCatalinaServiceSX] OK
      19:44:37,152 INFO [EmbeddedCatalinaServiceSX] Started

      ...

      19:44:46,701 INFO [EmbeddedCatalinaServiceSX] Using Java2 parent classloader delegation: true
      19:44:46,707 INFO [Engine] StandardWrapper[/jmx-console:default]: Loading container servlet default
      19:44:46,976 INFO [Engine] default: init
      19:44:47,012 INFO [Engine] StandardWrapper[/jmx-console:invoker]: Loading container servlet invoker
      19:44:47,037 INFO [Engine] invoker: init
      19:44:47,143 INFO [Engine] jsp: init
      19:44:47,557 INFO [MainDeployer] Deployed package: file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/server/default/deploy/jmx-console.war/
      19:44:47,593 ERROR [URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@be8c4575 { url=file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/server/default/deploy/http-invoker.sar/invoker.war/ }
      deployer: org.jboss.web.catalina.EmbeddedCatalinaServiceSX@af72d8
      status: Deployment FAILED reason: Error during deploy; - nested throwable: (java.lang.NullPointerException)
      state: FAILED
      watch: file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml
      lastDeployed: 1031161474790
      lastModified: 1031159922000
      mbeans:
      , org.jboss.deployment.DeploymentInfo@be8c4575 { url=file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/server/default/deploy/http-invoker.sar/invoker.war/ }
      deployer: org.jboss.web.catalina.EmbeddedCatalinaServiceSX@af72d8
      status: Deployment FAILED reason: Error during deploy; - nested throwable: (java.lang.NullPointerException)
      state: FAILED
      watch: file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml
      lastDeployed: 1031161474790
      lastModified: 1031159922000
      mbeans:
      , org.jboss.deployment.DeploymentInfo@be8c4575 { url=file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/server/default/deploy/http-invoker.sar/invoker.war/ }
      deployer: org.jboss.web.catalina.EmbeddedCatalinaServiceSX@af72d8
      status: Deployment FAILED reason: Error during deploy; - nested throwable: (java.lang.NullPointerException)
      state: FAILED
      watch: file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/server/default/deploy/http-invoker.sar/invoker.war/WEB-INF/web.xml
      lastDeployed: 1031161474790
      lastModified: 1031159922000
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:


      19:44:47,605 INFO [URLDeploymentScanner] Started
      19:44:47,606 INFO [MainDeployer] Deployed package: file:/u3/src/jboss-3.0.2-src/catalina/output/jboss-3.0.3RC1/server/default/conf/jboss-service.xml
      19:44:47,609 INFO [Server] JBoss (MX MicroKernel) [3.0.3RC1 Date:200209041905] Started in 0m:32s:627ms

      What is wrong
      regards
      Haris Peco