0 Replies Latest reply on Sep 24, 2005 4:56 PM by rahuldevblore

    Problem with Embeddable JBoss with Eclipse

    rahuldevblore

      Hi,

      I am trying to run the "archive".

      It works fine with ant build file you have provided, but gives problems while running within Eclipse.

      I am avoiding creating tutorial.ejb3 and trying to run the code directly from eclipse. I have persistence.xml and conf dir in the class path.

      Exception occurs at this code:
      -> deployer.create();

      I get the following exception :

      DEBUG 25-09 02:14:33,625 (KernelFactory.java:assembleNewKernel:68) -Starting JBoss Kernel construction...
      DEBUG 25-09 02:14:36,500 (KernelFactory.java:assembleNewKernel:94) -Completed JBoss Kernel construction. Duration: 2860 milliseconds
      INFO 25-09 02:14:43,609 (LocalTxDataSource.java:bindConnectionFactory:102) -Bound datasource to JNDI name 'java:/DefaultDS'
      INFO 25-09 02:14:50,890 (JaccHelper.java:initialiseJacc:46) -Initialising JACC Context for deployment: resources
      java.lang.RuntimeException: java.util.zip.ZipException: The system cannot find the path specified
      at org.jboss.util.file.JarArchiveBrowser.<init>(JarArchiveBrowser.java:40)
      at org.jboss.util.file.ArchiveBrowser.getBrowser(ArchiveBrowser.java:37)
      at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:286)
      at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:264)
      at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:251)
      at org.jboss.ejb3.embedded.EJB3StandaloneDeployer.create(EJB3StandaloneDeployer.java:390)
      at org.jboss.tutorial.archive.Main.main(Main.java:35)
      Caused by: java.util.zip.ZipException: The system cannot find the path specified
      at java.util.zip.ZipFile.open(Native Method)
      at java.util.zip.ZipFile.<init>(Unknown Source)
      at java.util.zip.ZipFile.<init>(Unknown Source)
      at org.jboss.util.file.JarArchiveBrowser.<init>(JarArchiveBrowser.java:35)
      ... 6 more


      Any idea what I am doing wrong here?
      Thanks in advance