users@jersey.java.net

Jersey 1.2 / Glassfish 3

From: Daniel Mischler <maillist.mischler_at_gmail.com>
Date: Thu, 8 Apr 2010 18:43:17 +0200

Hi all

I'm trying to get jersey version 1.2 up and running on my glassfish
v3.0. I've
  updated everything according to https://jersey.dev.java.net/nonav/
documentation/latest/user-guide.html#d4e1730 -> Chapter 9.

It seems to be working but I getting the error message below:

INFO: Initiating Jersey application, version 'Jersey: 1.2 05/07/2010
02:11 PM'
INFO: Adding the following classes declared in META-INF/services/
jersey-server-components to the resource configuration:
   class com.sun.jersey.multipart.impl.FormDataMultiPartDispatchProvider
   class com.sun.jersey.multipart.impl.MultiPartConfigProvider
   class com.sun.jersey.multipart.impl.MultiPartReader
   class com.sun.jersey.multipart.impl.MultiPartWriter
SEVERE: The provider class, class
com.sun.jersey.core.impl.provider.xml.SAXParserContextProvider, could
not be instantiated. Processing will continue but the class will not
be utilized
java.lang.NullPointerException


What (obvious :-) point am I missing? I'm working with maven and
eclipse so I guess all dependencies should be haldled automatically,
right?

Is it crucial to use the exact same version for glassfish and the
project itself, i.e. jersey 1.2, or is it ok to have glassfish
running on jersey 1.2 and the project on jersey 1.2 snapshot?

Thanks for your help

Daniel


PS. I'm also going to need atmosphere and I know I'm in the wrong
list ;-) But maybe it could be answered in the same post if jersey
1.2 is ok with it (atmosphere 0.6.0 snapshot or another version)