[jboss-dev-forums] [Design of POJO Server] - Re: AbstractDeploymentUnit.getMetaDataFiles()

bill.burke@jboss.com do-not-reply at jboss.com
Thu Oct 19 14:20:31 EDT 2006


"scott.stark at jboss.org" wrote : I have always thought jar urls were fundamentally flawed since they never have dealt with nested jars, and mix content with another protocol. Its also not really a protocol issue. I would like jar urls to disappear and whether or not a file was a compressed archive be a detail of the VFS.
  | 

That's great you want to do this, but various SPIs in JavaEE5 require passing valid URLs.  I'm running into this problem right now with nested jars within an EAR.  PU need to pass in URL of the persistence.xml file but it is fucked up URL:

jar:file:/.../foo.ear!/ejb.jar/META-INF/persistence.xml

URL handler tries to open ejb.jar/META-INF/persistence.xml as a JarEntry within foo.ear (which its not obviously)

Are we going to do:

vfs:file:/.../foo.ear/ejb.jar/META-INF/persistence.xml?

Is this something I can work on please as it is blocking me.

Thanks,

Bill

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

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



More information about the jboss-dev-forums mailing list