Fortunately, Tyrus does not depend on HK2 so the task here is lot easier. To be absolutely honest, I did expect some issues with Grizzly dependency in Tyrus client, but changes are backwards compatible (applies to Tyrus 1.4), so you can update Tyrus to any version of released Glassfish very easily.
You can get this from tyrus-core.jar manifest:
This means you are using Tyrus 1.0. I strongly recommend to upgrade. Latest version now is Tyrus 1.4 and the output will look like:
Table below contains overview of current Glassfish 4.x builds:
|Glassfish version||Download link||Tyrus version|
|4.0 (Java EE 7 RI)||[download]||1.0|
|4.0.1 latest nightly||[download]||latest|
And that’s it. Remember to restart Glassfish instance after replacing Tyrus jar files.
As of now (1/24/2013) latest nightly build of Glassfish contains Tyrus 1.3.3. Next nightly should contain latest Tyrus release – version 1.4.