Paul,
Thank you for the quickly answering. You are right that the resources jar is in WEB-INF/lib. I need to get to understand how JBoss vfs schemes work.
Thanks,
William
Subject:Re: [Jersey] JBoss5 problem with Jersey 1.0.3 Actions...
From:Paul Sandoz (Paul..._at_Sun.COM)
Date:Jun 18, 2009 3:11:24 am
List:net.java.dev.jersey.users
Hi William,
Are you deploying resources classes in a jar in WEB-INF/lib ?
The issue was fixed for the scheme of "vfsfile" but not for a scheme
of "vfszip".
Looking at the URL:
vfszip:/C:/jboss-5.0.1.GA/server/default/deploy/example-rs.ear/
example-rs.war/WEB-INF/lib/example-rs-impl.jar/org/example/rs/
I am not sure how to interpret it, "vfszip" it is a proprietary URL
scheme specific to JBoss. We managed to interpret "vfsfile" as "file",
but we are relying on an implementation detail that could change.
I am guessing frameworks like Struts, which does scanning, will have
similar issues.
I dunno what to do about this, apart from make the scanning algorithm
plug-able per the URI scheme, and there can be a plugin to support the
JBoss vfs-based schemes.
Paul.