[jboss-user] [EJB 3.0] - Re: Exploded jar containing persistence.xml with jar-file el

jaikiran do-not-reply at jboss.com
Mon Mar 31 07:28:27 EDT 2008

"jwenting" wrote : 
  | In your hack you're actually creating 2 persistence units with the same name, each a part of its own enterprise application and existing only in that context.

Nope. The piece of code that i modified just tries to resolve the relative URL. Without this code change earlier, the path was being resolved to

anonymous wrote : java.lang.RuntimeException: error trying to scan <jar-file>: file:/D:/JBoss_4_2/server/default/deploy/EJB3Persistence.ear/myapp_ejb3.jar/myapp2_ejb3.jar
The myapp2_ejb3.jar was being considered to be inside the myapp_ejb3.jar instead of EJB3Persistence.ear. After this code change the relative URL correctly resolves to

anonymous wrote : file:/D:/JBoss_4_2/server/default/deploy/EJB3Persistence.ear/myapp2_ejb3.jar

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

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

More information about the jboss-user mailing list