0 Replies Latest reply on Jan 21, 2004 2:01 PM by Jean-Francois Daune

    Trouble deploying EJBDeployer in JBoss 3.2.2 (NoClassDefFoun

    Jean-Francois Daune Newbie

      Hi all,

      I have installed JBoss 3.2.2, and tried to define custom configuration based on default one. I actually try to understand all the configuration options.

      With my configuration, I am unable to deply EJBDeployer. The trace is included hereafter.

      In default configuration, it works without any problem. If I copy all jars from default/lib, it works too. I really don't get it...

      Here is the list of jars in my /lib:

      jboss-j2ee.jar
      jboss-management.jar
      jboss-transaction.jar
      jboss.jar
      jmx-adaptor-plugin.jar
      jnet.jar
      jnpserver.jar
      jts.jar
      log4j.jar
      xalan.jar

      The JBoss.jar is in server/my_config/lib, so how is it possible that BeanVerifier is not defined ?

      Any help is welcome,

      J-F



      20:30:58,549 INFO [Server] Core system initialized
      20:30:58,598 INFO [MainDeployer] Starting deployment of package: file:/products/java/jboss-3.2.3/server/tams/conf/jboss-service.xml
      20:31:04,110 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException
      20:31:04,111 ERROR [MainDeployer] could not create deployment: file:/products/java/jboss-3.2.3/server/tams/conf/jboss-service.xml
      org.jboss.deployment.DeploymentException: create operation failed for package file:/products/java/jboss-3.2.3/server/tams/conf/jboss-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
      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:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:395)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139)
      at org.jboss.system.ServiceController.install(ServiceController.java:225)
      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:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
      ... 17 more
      Caused by: java.lang.reflect.UndeclaredThrowableException
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:181)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:151)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
      ... 27 more
      Caused by: java.lang.NoClassDefFoundError: org/jboss/verifier/BeanVerifier
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
      at java.lang.Class.getConstructor0(Class.java:1922)
      at java.lang.Class.getConstructor(Class.java:1019)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:853)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:291)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:318)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:98)
      ... 29 more
      Failed to boot JBoss:
      org.jboss.deployment.DeploymentException: create operation failed for package file:/products/java/jboss-3.2.3/server/tams/conf/jboss-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException))
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:202)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:786)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:641)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
      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:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy5.deploy(Unknown Source)
      at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
      at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
      at org.jboss.Main.boot(Main.java:150)
      at org.jboss.Main$1.run(Main.java:395)
      at java.lang.Thread.run(Thread.java:534)
      Caused by: org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:139)
      at org.jboss.system.ServiceController.install(ServiceController.java:225)
      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:546)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
      at $Proxy4.install(Unknown Source)
      at org.jboss.deployment.SARDeployer.create(SARDeployer.java:183)
      ... 17 more
      Caused by: java.lang.reflect.UndeclaredThrowableException
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:181)
      at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:151)
      at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:114)
      ... 27 more
      Caused by: java.lang.NoClassDefFoundError: org/jboss/verifier/BeanVerifier
      at java.lang.Class.getDeclaredConstructors0(Native Method)
      at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
      at java.lang.Class.getConstructor0(Class.java:1922)
      at java.lang.Class.getConstructor(Class.java:1019)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:853)
      at org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:291)
      at org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:318)
      at org.jboss.system.ServiceCreator.install(ServiceCreator.java:98)
      ... 29 more
      20:31:04,165 INFO [Server] JBoss SHUTDOWN: Undeploying all packages