dev@glassfish.java.net

Re: RequestDispatcher injection fails in embedded

From: Amy Roh <Amelia.Roh_at_Sun.COM>
Date: Fri, 14 Aug 2009 13:55:16 -0700

I reported this to dev on 8/12 also. It is a blocking issue for embedded.

Vivek Pandey wrote:
> This was working till few days back. There is no change in my embedded
> side application code to cause this.
>
> Here is whats happening:
>
> When, EmbeddedDeployer.deploy() is called for jruby app, hk2 fails to
> load JRubyContainer as it fails to inject RequestDispatcher in
> JRubyDeployer.
>
> The root cause is RequestDispatcher fails to be loaded by hk2 due to
> this error:
>
> org.jvnet.hk2.component.UnsatisfiedDepedencyException: Unsatisfied
> dependency exception :
> org.glassfish.flashlight.provider.ProbeProviderFactory
> com.sun.enterprise.v3.services.impl.GrizzlyService.probeProviderFactory
>
> and the above is failing because of the following exception,
>
> INFO: Cannot inject
> com.sun.enterprise.config.serverbeans.MonitoringService
> org.glassfish.flashlight.impl.provider.FlashlightProbeProviderFactory.monitoringServiceConfig
> in componentClass Modifiers
> Field Value
>
> FlashlightProbeProviderFactory (package)
> monitoringServiceConfig <null>
> FlashlightProbeProviderFactory (package)
> ppem <null>
> FlashlightProbeProviderFactory (package)
> habitat <null>
> FlashlightProbeProviderFactory private
> dt <null>
> FlashlightProbeProviderFactory private
> providerInfo {}
> FlashlightProbeProviderFactory private
> debug false
> FlashlightProbeProviderFactory private static final
> logger java.util.logging.Logger_at_ecfeb11
> FlashlightProbeProviderFactory private final
> primTypes {short=java.lang.Short,
> char=java.lang.Character, byte=java.lang.Byte, int=java.lang.Integer,
> void=java.lang.Void, boolean=java.lang.Boolean, double=java.lang.Double,
> long=java.lang.Long, float=java.lang.Float}
>
> Can someone from monitoring take a look at it? The server does not even
> start properly and nothing works for glassfish-embedded-nucleus.jar!
>
> The complete exception can be found here: http://pastie.org/584466
>
> -vivek.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>