users@jersey.java.net

Re: [Jersey] JBoss5 problem with Jersey 1.0.3

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 18 Jun 2009 21:03:12 +0200

On Jun 18, 2009, at 2:57 PM, William Zhou wrote:

> 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.
>

Please log an issue if you wish so we do not forget about it. If we do
support this it will require some re-factoring of the scanning
algorithm to support plug-able URI scheme processing.

Paul.

> 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.
>
>
>