users@glassfish.java.net

deployment failed in Glassfish V3

From: Felipe Gaúcho <fgaucho_at_gmail.com>
Date: Thu, 11 Jun 2009 20:38:16 +0200

I tried to deploy my footprint-service in the Glassfish V3, but I got
the below error. The same service works fine with V2.x:


[#|2009-06-11T20:31:47.442+0200|INFO|glassfish|org.apache.catalina.loader.WebappLoader|_ThreadID=21;_ThreadName=Thread-1;|Unknown
loader org.glassfish.internal.api.DelegatingClassLoader_at_1685e30 class
org.glassfish.internal.api.DelegatingClassLoader|#]

[#|2009-06-11T20:31:47.463+0200|INFO|glassfish|com.sun.jersey.api.core.PackagesResourceConfig|_ThreadID=21;_ThreadName=Thread-1;|Scanning
for root resource and provider classes in the packages:
  net.java.dev.footprint.service.resources|#]

[#|2009-06-11T20:31:47.482+0200|INFO|glassfish|com.sun.jersey.api.core.PackagesResourceConfig|_ThreadID=21;_ThreadName=Thread-1;|Root
resource classes found:
  class net.java.dev.footprint.service.resources.EventResource
  class net.java.dev.footprint.service.resources.OrganizationResource
  class net.java.dev.footprint.service.resources.MockResource
  class net.java.dev.footprint.service.resources.CertificateResource
  class net.java.dev.footprint.service.resources.Wadl2HtmlResource
  class net.java.dev.footprint.service.resources.UserResource|#]

[#|2009-06-11T20:31:47.483+0200|INFO|glassfish|com.sun.jersey.api.core.PackagesResourceConfig|_ThreadID=21;_ThreadName=Thread-1;|Provider
classes found:
  class net.java.dev.footprint.service.resources.EJBProvider|#]

[#|2009-06-11T20:31:47.664+0200|SEVERE|glassfish|javax.enterprise.system.container.web.com.sun.enterprise.web|_ThreadID=21;_ThreadName=Thread-1;|WebModule[/footprint-service]StandardWrapper.Throwable
java.lang.ClassCastException
        at java.lang.Class.cast(Class.java:2990)
        at com.sun.jersey.core.spi.component.ProviderServices.getProvidersAndServices(ProviderServices.java:122)
        at com.sun.jersey.server.impl.model.parameter.multivalued.StringReaderFactory.init(StringReaderFactory.java:57)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:562)
        at com.sun.jersey.server.impl.application.WebApplicationImpl.initiate(WebApplicationImpl.java:383)
        at com.sun.jersey.spi.container.servlet.ServletContainer.initiate(ServletContainer.java:377)
        at com.sun.jersey.spi.container.servlet.ServletContainer$InternalWebComponent.initiate(ServletContainer.java:242)
        at com.sun.jersey.spi.container.servlet.WebComponent.load(WebComponent.java:449)
        at com.sun.jersey.spi.container.servlet.WebComponent.init(WebComponent.java:169)
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:281)
        at com.sun.jersey.spi.container.servlet.ServletContainer.init(ServletContainer.java:442)
        at javax.servlet.GenericServlet.init(GenericServlet.java:243)

-- 
Looking for a client application for this service:
http://fgaucho.dyndns.org:8080/footprint-service/wadl