0 Replies Latest reply on Apr 1, 2002 8:40 PM by yellek

    Possible bug in EAR deployment ?

    yellek

      We are having some problems deploying an EAR file. We have in our EAR file (sample.ear), amongst other things, ejb.jar with the EJB's and data.jar with the data utility classes. The manifest in ejb.jar includes the following line:

      Class-Path: data.jar jvi6.0.2-jdk1.2.jar

      (The jvi jar which is also in the EAR includes some Versant classes)

      When we deploy the EAR in JBoss 3.0.0 beta we get the following messages:

      11:18:34,548 INFO [MainDeployer] Deploying: file:/C:/tools/jboss-3.0.0beta/deploy/sample.ear
      11:18:34,618 INFO [EARDeployer] Init J2EE application: file:/C:/tools/jboss-3.0.0beta/deploy/sample.ear
      11:18:35,088 INFO [MainDeployer] Deploying: file:/C:/tools/jboss-3.0.0beta/tmp/deploy/94.jvi6.0.2-jdk1.2.jar
      11:18:35,158 INFO [MainDeployer] Deploying: file:/C:/tools/jboss-3.0.0beta/tmp/deploy/92.ejb.jar
      11:18:35,168 WARN [MainDeployer] The manifest entry in file:/C:/tools/jboss-3.0.0beta/tmp/deploy/92.ejb.jar references URL file:/C:/tools/jboss-3.0.0beta/tmp/deploy/data.jar which could not be opened, entry ignored
      11:18:35,178 WARN [MainDeployer] The manifest entry in file:/C:/tools/jboss-3.0.0beta/tmp/deploy/92.ejb.jar references URL file:/C:/tools/jboss-3.0.0beta/tmp/deploy/jvi6.0.2-jdk1.2.jar which could not be opened, entry ignored
      11:18:35,289 INFO [EJBDeployer] Deploying TesterBean
      11:18:36,030 ERROR [ServiceController] JMRuntimeException thrown during ServiceProxy operation create on mbean jboss.j2ee:service=EJB,jndiName=test/Testerjava.lang.NoClassDefFoundError: au/com/moveit/data/Header

      It appears as if JBoss is prepending a number and a period to the jar file name in the deployment directory but then trying to look up the jar files without the number and the period when the classpath information in the manifest file is used.

      Is this a bug or am I doing something incorrectly ?