users@jersey.java.net

Re: [Jersey] Fwd: Jersey failing to deploy on GF v3

From: Pavel Bucek <Pavel.Bucek_at_Sun.COM>
Date: Sat, 10 Oct 2009 11:54:59 +0200

Hello Felipe,

do you have jersey-gf-statsproviders.jar [1] in your EAR? This might be
some ugly classloading issue (jersey from EAR can't properly access
glassfish-provided stats provider module)

Pavel

[1]
http://download.java.net/maven/2/com/sun/jersey/glassfish/v3/osgi/jersey-gf-statsproviders/



Felipe Gaścho wrote:
> My application is failing to deploy in GFv3b66 due to a Jersey dependency:
>
> [exec] com.sun.enterprise.admin.cli.CommandException: remote failure:
> Exception while loading the app : java.lang.Exception:
> java.lang.IllegalStateException: ContainerBase.addChild: start:
> org.apache.catalina.LifecycleException:
> org.apache.catalina.LifecycleException:
> com.sun.jersey.spi.service.ServiceConfigurationError:
> com.sun.jersey.spi.monitoring.GlassfishMonitoringProvider: The class
> com.sun.jersey.server.spi.monitoring.glassfish.GlassfishMonitoringServiceProvider
> implementing provider interface
> com.sun.jersey.spi.monitoring.GlassfishMonitoringProvider could not be
> instantiated: null
>
> Strange because I am including the libs of Jersey in the EAR.. perhaps
> a version problem or other
>
> Step by step my app is getting close to deploy in GF v3.. my goal is
> to finish the day blogging about the success :) your help is
> welcome.........
>
>
>
>