users@jersey.java.net

[Jersey] Jersey not working with WLS 10.3.4 but works under 10.3

From: Yu, Xiaohui <Xiaohui.Yu_at_ONSTAR.com>
Date: Thu, 10 Feb 2011 15:40:11 -0500

Hi,

Our application is using both Jersey and JAX-WS. We also used Spring for DI. When invoked under REST protocol, it works under WLS 10.3 as Spring DI happened. However, when deployed under WLS 10.3.4, neither Spring DI or @Context kicked in, thus service fails. JAX-WS works under both server environments.

For Jersey, we used PackageResourceConfig and I did see all services being identified.

Feb 10, 2011 2:31:57 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Provider classes found:
Feb 10, 2011 2:31:57 PM com.sun.jersey.server.impl.application.WebApplicationImpl initiate
INFO: Initiating Jersey application, version 'Jersey: 1.1.2-ea 08/25/2009 04:39 PM'

What could be the problem? Really appreciate the clarification.

Thanks,
- John