1 Reply Latest reply on Jan 26, 2006 11:21 AM by Adrian Pillinger

    EJB 3.0 Embedable gives me an exception on start up.

    Adrian Pillinger Newbie

      Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: java.util.zip.ZipException: No such file or directory
      at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:157)
      at org.jboss.tutorial.mdbstandalone.Main.main(Main.java:40)
      Caused by: java.lang.RuntimeException: java.util.zip.ZipException: No such file or directory
      at org.jboss.util.file.JarArchiveBrowser.(JarArchiveBrowser.java:40)
      at org.jboss.util.file.ArchiveBrowser.getBrowser(ArchiveBrowser.java:37)
      at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:297)
      at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:275)
      at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:262)
      at org.jboss.ejb3.embedded.EJB3StandaloneDeployer.create(EJB3StandaloneDeployer.java:381)
      at org.jboss.ejb3.embedded.EJB3StandaloneBootstrap.scanClasspath(EJB3StandaloneBootstrap.java:152)
      ... 1 more
      Caused by: java.util.zip.ZipException: No such file or directory
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.(ZipFile.java:204)
      at java.util.zip.ZipFile.(ZipFile.java:235)
      at org.jboss.util.file.JarArchiveBrowser.(JarArchiveBrowser.java:35)
      ... 7 more



      Any ideas?

        • 1. Re: EJB 3.0 Embedable gives me an exception on start up.
          Adrian Pillinger Newbie

          I am starting the embeddable container with the following command from the root directory of the embeddable download. lib/tutorial.jar is the mdbstandalone tutorial placed into the lib folder

          java -cp lib/tutorial.jar:conf/:lib/atlr-2.7.5H3.jar:lib/asm-attrs.jar:lib/asm.jar:lib/cglib-2.1.1.jar:lib/commons-collections.jar:lib/commons-logging-api.jar:lib/commons-logging.jar:lib/concurrent.jar:lib/dom4j.jar:lib/ejb3-persistence.jar:lib/hibernate3.jar:lib/hibernate-annotations.jar:lib/hibernate-entitymanager.jar:lib/hsqldb.jar:lib/javassist.jar:lib/jboss-annotations-ejb3.jar:lib/jboss-aop-jdk50.jar:lib/jboss-aspect-library-jdk50.jar:lib/jboss-common.jar:lib/jboss-common-jdbc-wrapper.jar:lib/jboss-container.jar:lib/jboss-dependency.jar:lib/jboss-ejb3.jar:lib/jboss-ejb3x.jar:lib/jboss-j2ee.jar:lib/jboss-j2se.jar:lib/jboss.jar:lib/jboss-jca.jar:lib/jboss-local-jdbc.jar:lib/jboss-microcontainer.jar:lib/jbossmq.jar:lib/jboss-remoting.jar:lib/jbosssx.jar:lib/jboss-system.jar:lib/jboss-transaction.jar:lib/jboss-xa-jdbc.jar:lib/jnpserver.jar:lib/log4j.jar:lib/resolver.jar:lib/trove.jar:lib/xercesImpl.jar:lib/xml-apis.jar org.jboss.tutorial.mdbstandalone.Main