1 Reply Latest reply on May 11, 2003 10:35 PM by adrian.brock

    ejb jar file baesname can't be longer than 35 chars

    willievu

      I have an ejb jar whose base name is longer than 35 chars (if counting the extension ".jar", it is 39 chars). Also, it contains nested jar files. When deployed, it causes the following exception, using that nested jars are not found:

      (The system cannot find the path specified)

      at java.io.FileOutputStream.open(Native Method)

      at java.io.FileOutputStream.(FileOutputStream.java:176)

      at java.io.FileOutputStream.(FileOutputStream.java:131)

      at org.jboss.util.file.JarUtils.extractNestedJar(JarUtils.java:338)

      at org.jboss.deployment.SubDeployerSupport.addDeployableJar(SubDeployerSupport.java:296)

      at org.jboss.deployment.SubDeployerSupport.processNestedDeployments(SubDeployerSupport.java:201)

      at org.jboss.ejb.EJBDeployer.init(EJBDeployer.java:303)

      at org.jboss.deployment.MainDeployer.init(MainDeployer.java:679)

      When I keep the file name length under 35 chars, it is okay.