users@jersey.java.net

Re: [Jersey] Re: deployment issues with latest glassfish build

From: Paul Sandoz <Paul.Sandoz_at_oracle.com>
Date: Tue, 14 Sep 2010 07:43:17 -0700

On Sep 10, 2010, at 2:59 PM, jfarcand wrote:

>
>
> On 10-09-10 5:45 PM, John Lister wrote:
>>
>>
>> On 10/09/2010 09:29, Paul Sandoz wrote:
>>> What version of GlassFish are you using?
>>
>> either 3.0.1-22 or 3.1.0-18 result in the issue
>>
>>> Can you provide more details on your application, preferably
>>> attaching
>>> a reproducible test case to the bug?
>>
>> Attached to the issue. It is simply a single resource class with 1
>> method. When you call the method the given exception is raised.
>>
>>> There are some fundamental errors going on here which makes me think
>>> there is a conflict between the version of Jersey deployed in the
>>> war
>>> and the version of Jersey distributed with GlassFish.
>>
>> They should be the same as I build the war using the jersey jars from
>> the glassfish modules directory, but I could be wrong...
>> The version of jersey is listed as 1.4-0.4 (not what is below) and
>> dated
>> 31 Aug 2010. I was using a slightly older version from a few weeks
>> ago
>> with no issues.
>
> FYI do get some funny warning as well with javascript files (Paul,
> just deploy atmosphere-jquery-pubsub for an example)
>
>>
>> [#|2010-09-10T11:46:25.142-0400|WARNING|glassfish3.1|
>> javax.enterprise.system.container.web.org.glassfish.web.loader|
>> _ThreadID=1;_ThreadName=main;|WEB9052: Unable to load class
>> getJQuery, reason: java.lang.ClassNotFoundException: getJQuery|#]
>>
>> [#|2010-09-10T11:46:25.143-0400|WARNING|glassfish3.1|
>> javax.enterprise.system.container.web.org.glassfish.web.loader|
>> _ThreadID=1;_ThreadName=main;|WEB9052: Unable to load class
>> getJQuery, reason: java.lang.ClassNotFoundException: getJQuery|#]
>
> Looks like all file get inspected ;-)
>

Yeah, something funny is going on with the web container. It's not a
Jersey thing because it does not output stuff like "WEB 9052".

Paul.