Hi,

I hope I have posted the question in the right Forum. This is about the problem 
with running Embeddable JBoss within Eclipse.

I am trying to run the "archive" example. It works fine with ant build file you 
have provided, but gives problems while running within Eclipse.

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

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

I get the following exception :

anonymous wrote : 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.(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.(Unknown Source)
  | at java.util.zip.ZipFile.(Unknown Source)
  | at org.jboss.util.file.JarArchiveBrowser.(JarArchiveBrowser.java:35)
  | ... 6 more
  | 

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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3897154#3897154

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3897154


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to