3 Replies Latest reply on Mar 8, 2002 4:08 PM by bctboss

    Deployment on 3.0 is defective

    bctboss Newbie

      I'm trying to deploy an EAR (3 EJBs, and a couple utility JARs) to JBoss 3.0beta. The same EAR deploys fine under 2.4.3, but when deploying the EJBs under 3.0beta, it chokes on finding the utility.jar. The manifest for the EJBs specifically lists the utility.jar in it's Class-Path, but the way JBoss is mangeling the name when it extracts it into the deploy/tmp directory it can't find it.

      I should not have to edit the JBoss configuration files to find my classes in my EAR. That's what the manifests are for. Read the J2EE specs...

      I'm using Win2k, JDK 1.3.1, and JBoss3.0beta.

      Below is the stack dump is the ...

      12:29:53,127 WARN [MainDeployer] The manifest entry in file:/E:/Development/jbo
      ss-3.0.0beta/tmp/deploy/73.ordersession.jar references URL file:/E:/Development/
      jboss-3.0.0beta/tmp/deploy/utilities.jar which could not be opened, entry ignore
      d
      12:29:53,167 WARN [MainDeployer] The manifest entry in file:/E:/Development/jbo
      ss-3.0.0beta/tmp/deploy/73.ordersession.jar references URL file:/E:/Development/
      jboss-3.0.0beta/tmp/deploy/domainobjects.jar which could not be opened, entry ig
      nored
      12:29:53,317 ERROR [EJBDeployer] Verfiy failed
      java.lang.NoClassDefFoundError: HeaderType
      at java.lang.Class.getMethods0(Native Method)
      at java.lang.Class.getMethods(Class.java:742)
      at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(Abstr
      actVerifier.java:470)
      at org.jboss.verifier.strategy.EJBVerifier11.verifySessionBean(EJBVerifi
      er11.java:567)
      at org.jboss.verifier.strategy.EJBVerifier11.checkSession(EJBVerifier11.
      java:93)
      at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:137)
      at org.jboss.ejb.EJBDeployer.deploy(EJBDeployer.java:392)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:458)
      at org.jboss.deployment.MainDeployer.deploySubPackages(MainDeployer.java
      :793)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:453)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:413)
      at org.jboss.deployment.MainDeployer.scan(MainDeployer.java:272)
      at org.jboss.deployment.MainDeployer.startService(MainDeployer.java:218)

      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:1
      60)
      at java.lang.reflect.Method.invoke(Native Method)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:16
      28)
      at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:15
      23)
      at org.jboss.system.Server.(Server.java:157)
      at org.jboss.Main.boot(Main.java:263)
      at org.jboss.Main.run(Main.java:48)
      at java.lang.Thread.run(Thread.java:484)