Hi Paul,
Again I am trying to make it work properly with 1.1.5-ea-SNAPHOT... From
your explanations the easiest way will be replacing the jars bundled with
Glassfish.
Now I replaced jersey-gf-bundle.jar with latest-bundle
http://download.java.net/maven/2/com/sun/jersey/jersey-bundle/1.1.5-ea-SNAPSHOT/
I deployed my application my application. But I could not see any error.
However I could not see any log about 1.1.5-ea-SNAPSHOT too. This is weird
because I have always seen that when I am deploying my application I could
see this log entry in my server log.
After first request to application. (You can check times)
I can see scanned resources, some errors and loaded 1.1.5-ea-SNAPSHOT log
entry.
Here is the related log file :
http://n2.nabble.com/file/n4164945/server.log server.log
What should I do to work with new SNAPHOT without any problem.
Thanks
Paul Sandoz wrote:
>
>
> On Dec 14, 2009, at 4:21 PM, Cemo Koc wrote:
>
>>
>> Hi,
>>
>> In this try, I could see SNAPSHOT log but also raised some errors.
>> You can
>> check my attached logs.
>>
>> Thanks http://n2.nabble.com/file/n4164663/log.txt log.txt
>>
>
> Yes, as i said previously there will be some errors, due to the
> intermix of META-INF/services for different versions of Jersey for
> stuff loaded using different class loaders, but they do not stop the
> application from functioning.
>
> The former occurs because Jersey in the war finds a component declared
> in Jersey in GF but it is loaded by a different class loader.
>
> The latter can be resolved by including jersey-multipart in the war. I
> have yet to work out why this exception occurs, but is probably some
> consequence of class loaders.
>
> Paul.
>
>
>> Thanks
>>
>>
>>
>> Paul Sandoz wrote:
>>>
>>>
>>> On Dec 14, 2009, at 3:54 PM, Cemo Koc wrote:
>>>
>>>>
>>>>
>>>> Paul Sandoz wrote:
>>>>>
>>>>>
>>>>> I just went back though the thread and i wonder if you have the XML
>>>>> incorrect, as you stated:
>>>>>
>>>>> <class-loader>
>>>>> <property name="delagate" value="false"/>
>>>>> </class-loader>
>>>>>
>>>>> and i am not sure if the above is supported.
>>>>>
>>>>> Paul.
>>>>>
>>>>>
>>>>
>>>>
>>>> I changed as you stated Paul, but I still could not see logs about
>>>> Snapshot
>>>> of Jersey. I will try with hello world application at night.
>>>>
>>>
>>> The attached might save you some time. It works for me on GF v3.
>>>
>>> Paul.
>>>
>>>
>>>
>>>
>>>
>>>> See you soon.
>>>>
>>>> Thanks
>>>>
>>>> --
>>>> View this message in context:
>>>> http://n2.nabble.com/Classloader-Issues-tp4163936p4164482.html
>>>> Sent from the Jersey mailing list archive at Nabble.com.
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>>>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>>
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/Classloader-Issues-tp4163936p4164663.html
>> Sent from the Jersey mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
>> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>
>
>
--
View this message in context: http://n2.nabble.com/Classloader-Issues-tp4163936p4164945.html
Sent from the Jersey mailing list archive at Nabble.com.