Note that JERSEY_2661 is said to be caused by HK2_233, which has been
fixed in HK2 2.4.0-b03.
The glassfish-hk2 package I referenced contains HK2 2.4.0-b12.
<https://java.net/jira/browse/JERSEY-2661>
> 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
>>
>