[Jersey] 'single element array' problem in Glassfish3.1

From: Rimi <>
Date: Tue, 6 Sep 2011 01:50:05 -0700 (PDT)


I am trying to solve a 'single element array' problem in OSGI environment,
Glassfish 3.1.
I saw 2 ways, none of them worked for me:
1) Define a Provider as described here:
The provider wasn't invoked. I didn't see any errors/warnings in log. I saw
that the application recognized provider, it appeared in the following

the Application class com.test.MyApplication. The following root resource
and provider classes are registered:

2) Configure Jersey to use Jackson, I added in web.xml:

And received an exception
"com.sun.jersey.core.spi.scanning.ScannerException: The URI scheme bundle of
the URI bundle: ... is not supported. Package scanning deployment is not
supported for such URIs. "

Is there another way to make OSGI war to work with jackson?

thank you

View this message in context:
Sent from the Jersey mailing list archive at