users@jsr311.java.net

Using jersey-0.8 in GlassFish v2

From: Markus KARG <markus.karg_at_gmx.net>
Date: Tue, 01 Jul 2008 22:14:11 +0200

I am trying to use jersey-0.8 in GlassFish v2, but it just doesn't work. :-(

I have used GlassFish's updatetool.bat to install jersey-0.8.
Then I have started domain1.

When I want to run verifier, it doesn't find the Jersey Class
com.sun.jersey.spi.container.servlet.ServletContainer. Okay, so I
skipped the verifier and just deployed.
But that doesn't work, too: It finishes with warnings and wants to
restart GlassFish.

In server.log it also says that it doesn't find
"com.sun.jersey.spi.container.servlet.ServletContainer". But that class
obviously is found in jersey.jar, and jersey jar was correctly installed
by the GF update tool. Strange. Is there anything I must do besides
running the updatetool? Maybe I have to put jersey.jar into my war?

Can you please tell me what my fault is?
How can I run a JAX-RS Resource using jersey-0.8 in GlassFish v2?

Thanks
Markus

BTW: The WAR is attached in case you want to try to deploy it in GFv2.

-- 
http://www.xing.com/go/invita/58469