users@glassfish.java.net

[gf-users] Re: Fwd: [Jersey] Instructions to upgrade current Glassfish 4.1 stable

From: Romain Grecourt <romain.grecourt_at_oracle.com>
Date: Wed, 24 Jun 2015 18:55:49 -0700

Here is how you can perform an in-place upgrade of jersey 2.18:

1- Unpack the content of the following zip files into your GlassFish
installation:

https://maven.java.net/service/local/repositories/snapshots/content/org/glassfish/main/packager/jersey/4.2-SNAPSHOT/jersey-4.2-20150624.182310-194.zip
https://maven.java.net/service/local/repositories/snapshots/content/org/glassfish/main/packager/glassfish-hk2/4.2-SNAPSHOT/glassfish-hk2-4.2-20150624.182113-194.zip

unzip -o jersey-4.2-20150624.182310-194.zip
unzip -o glassfish-hk2-4.2-20150624.182113-194.zip

2- Remove the OSGi cache.

rm -rf domain_dir/osgi-cache/*

Thanks,
Romain

On 6/24/15 6:32 PM, Marek Potociar wrote:
> Forwarding to GlassFish mailing list.
>
> Marek
>
>> Begin forwarded message:
>>
>> *From: *Lenny Primak <lprimak_at_hope.nyc.ny.us
>> <mailto:lprimak_at_hope.nyc.ny.us>>
>> *Subject: **[Jersey] Instructions to upgrade current Glassfish 4.1
>> stable*
>> *Date: *23 Jun 2015 18:27:28 GMT-7
>> *To: *"users_at_jersey.java.net <mailto:users_at_jersey.java.net>"
>> <users_at_jersey.java.net <mailto:users_at_jersey.java.net>>
>> *Reply-To: *users_at_jersey.java.net <mailto:users_at_jersey.java.net>
>>
>> Hi,
>>
>> I am trying to get Jersey 2.18 working with Glassfish. I tried the
>> nightly build, but
>> it fails due to other bugs.
>> Can someone let me know what the steps are to upgrade the stable GF
>> 4.1 release to Jersey 2.18?
>>
>> Specifically, I am interested in a fix for this bug:
>> https://java.net/jira/browse/JERSEY-2661
>> which was fixed since Jersey 2.13
>>
>> Thank you
>