users@jersey.java.net

[Jersey] Re: Problems with GFv3.01 upgrade of Jersey components

From: NBW <emailnbw_at_gmail.com>
Date: Mon, 28 Feb 2011 16:26:34 -0500

After working past the mimepull issue I am now getting the following error
messages:

[#|2011-02-28T16:15:24.143-0500|SEVERE|oracle-glassfish3.0.1|com.sun.jersey.spi.inject.Errors|_ThreadID=21;_ThreadName=Thread-1;|The
following errors and warnings have been detected with resource and/or
provider classes:
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.GetResultJsonProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.OptionsResultXmlProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.CommandResourceGetResultHtmlProvider.uriInfo
  SEVERE: Missing dependency for field: javax.ws.rs.core.UriInfo
com.sun.jersey.impl.template.ViewableMessageBodyWriter.ui
  SEVERE: Missing dependency for field:
com.sun.jersey.spi.template.TemplateContext
com.sun.jersey.impl.template.ViewableMessageBodyWriter.tc
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.CommandResourceGetResultJsonProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.TreeNodeJsonProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.TreeNodeHtmlProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.OptionsResultJsonProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.FormWriter.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.GetResultListJsonProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.GetResultXmlProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.GetResultHtmlProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.GetResultListHtmlProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.GetResultListXmlProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.CommandResourceGetResultXmlProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.TreeNodeXmlProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.StringResultJsonProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.StringResultXmlProvider.uriInfo
  SEVERE: Missing dependency for field: protected javax.ws.rs.core.UriInfo
org.glassfish.admin.rest.provider.StringResultHtmlProvider.uriInfo|#]

These seem to be similar errors to what was reported here [1] and here [2]
although my application is a webapp not an OSGI bundle. Does the suggestion
of bundling 1.5 with your webapp and changing the class loading delegation
to false still apply? Is it not possible to update Jersey at the Glassfish
v3.01 level because of this? Thanks,

-Noah

[1] - http://jersey.576304.n2.nabble.com/OSGI-Startup-Errors-td5531369.html
[2] -
http://jersey.576304.n2.nabble.com/Re-OSGI-Startup-Errors-td5641189.html