[jboss-dev-forums] [Design of POJO Server] - Regression on VirtualFile.toURL()

wolfc do-not-reply at jboss.com
Wed Feb 18 10:36:30 EST 2009


Because of a regression in VFS where virtualFile.toURL() used to return 'vfszip:/tmp/ejb3_pkg_scope.ear/ejb3_pkg_scope.jar' and is now returning 'vfszip:/tmp/ejb3_pkg_scope.ear/ejb3_pkg_scope.jar/' JPA deployers doesn't get the Persistence Unit root URL anymore.

This is most harmful for jar-file entries in persistence xml which are supposed to be relative to that URL. Thus resulting in entries like 'vfszip:/tmp/ejb3_pkg_scope.ear/ejb3_pkg_scope.jar/lib/common.jar' instead of 'vfszip:/tmp/ejb3_pkg_scope.ear/lib/common.jar'.

I say this needs to be fixed soon.

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

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



More information about the jboss-dev-forums mailing list