1 Reply Latest reply on Jul 2, 2004 10:42 AM by dannyyates

    Deployment issues upgrading from 2.4.3 to 3.2.4

    trickard Newbie

      We have a group of beans that have been running in 2.4.3 for several years. We are upgrading to 3.2.4. The beans were deployed to JBOSS using the SUN deploytool. I have unpacked one EAR file which included 30 beans or so and am attempting to deploy one bean from the ear using the jar that was packed in ear by deploytool. The ejb-jar had an invalid coding scheme in the xml version line and I have removed that, otherwise it is the same bean that is running correctly in 2.4.3. The jar will not deploy. I have listed the log entry below. Is there some tracing I can turn on to get more information on what is wrong. Anyone know of any reason this should not deploy.

      2004-07-02 09:21:51,771 DEBUG [org.jboss.deployment.DeploymentInfo] createLoaderRepository from config: LoaderRepositoryConfig(repositoryName: JMImplementation:service=LoaderRepository,name=Default, repositoryClassName: null, configParserClassName: null, repositoryConfig: null)
      2004-07-02 09:21:51,771 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url file:/C:/jboss-3.2.4/server/default/tmp/deploy/tmp16662ejb-jar-ic9.jar
      2004-07-02 09:21:51,771 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] setRepository, r=org.jboss.mx.loading.UnifiedLoaderRepository3@7b6889, ucl=org.jboss.mx.loading.UnifiedClassLoader3@ec42e0{ url=file:/C:/jboss-3.2.4/server/default/tmp/deploy/tmp16662ejb-jar-ic9.jar ,addedOrder=0}
      2004-07-02 09:21:51,771 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] setRepository, r=org.jboss.mx.loading.UnifiedLoaderRepository3@7b6889, ucl=org.jboss.mx.loading.UnifiedClassLoader3@ec42e0{ url=file:/C:/jboss-3.2.4/server/default/tmp/deploy/tmp16662ejb-jar-ic9.jar ,addedOrder=0}
      2004-07-02 09:21:51,771 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding org.jboss.mx.loading.UnifiedClassLoader3@ec42e0{ url=file:/C:/jboss-3.2.4/server/default/tmp/deploy/tmp16662ejb-jar-ic9.jar ,addedOrder=0}
      2004-07-02 09:21:51,771 DEBUG [org.jboss.deployment.MainDeployer] found 0 subpackages of file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar
      2004-07-02 09:21:51,771 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar
      2004-07-02 09:21:51,771 DEBUG [org.jboss.deployment.MainDeployer] create step for deployment file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar
      2004-07-02 09:21:51,771 DEBUG [org.jboss.ejb.EJBDeployer] create, ejb-jar-ic9.jar
      2004-07-02 09:21:51,880 DEBUG [org.jboss.ejb.EJBDeployer] Verifying file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar
      2004-07-02 09:21:51,943 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : Warehouse
      Section: 9.2.9
      Warning: The primary key class must override equals().

      2004-07-02 09:21:51,958 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true
      2004-07-02 09:21:51,958 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false
      2004-07-02 09:21:51,958 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true
      2004-07-02 09:21:51,943 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      2004-07-02 09:21:51,958 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@ac6b04c6{ url=file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar, deployedLastModified=0 }
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
      at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:60)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:61)
      at org.jboss.mx.server.Invocation.dispatch(Invocation.java:53)
      at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
      at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:185)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:473)
      at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176)
      at $Proxy7.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:304)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:478)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191)
      2004-07-02 09:21:51,958 DEBUG [org.jboss.deployment.scanner.URLDeploymentScanner] Watch URL for: file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar -> file:/C:/jboss-3.2.4/server/default/deploy/ejb-jar-ic9.jar