dev@glassfish.java.net

Re: Failed to load org.glassfish.webservices.WebServicesSniffer error

From: Sahoo <Sahoo_at_Sun.COM>
Date: Sat, 30 Aug 2008 07:09:38 +0530

Bhakti,

The manifest looks alright to me. What is the state of
org.glassfish.webservices.jsr109-impl bundle? I guess the bundle is not
getting resolved. A few things you can try at your end are:
1. set Felix log level to debug.
2. attach felix shell.
3. run ps to know the bundle id of this bundle
4. start this bundle.
5. see if you get any resolution error.

Thanks,
Sahoo

Bhakti Mehta wrote:
> Sahoo/Richard/Jerome,
> Pls can you help My jsr109impl bundle cannot load the
> WebServicesSniffer. I do not know what I am missing.
> I can start the bundle refresh it however if I do packages <id>
> I get INFO: JSR-109 implementation to deploy Metro (120): No active
> exported packages
> Why is this happening even if org.glassfish.webservices is there in
> exported and imported packages. I have attached MANIFEST.MF
>
> Even if I did packages for gf-web-connector I see the same thing
> No active exported packages. Why did the exports stop showing up?
>
> What am I missing?
> Regards,
> Bhakti
>
> Instructions to reproduce
> 1. Take latest gf
> 2. Copy 2 metro osgi bundles from
> http://hudson.sfbay.sun.com/job/wsit-javanet/3466/artifact/dist/image/metro/for_v3/
> to glassfish/modules
> 3. Copy to glassfish/modules
> http://hudson.sfbay/job/jsr109-impl/50/org.glassfish.webservices$jsr109-impl/artifact/org.glassfish.webservices/jsr109-impl/10.0-SNAPSHOT/jsr109-impl-10.0-SNAPSHOT.jar
>
> 4. Deploy a basic jaxws war
> http://javaweb.sfbay/~bhakti/webaug21/wsit-jaxws-fromwsdl.war
>
>
>
> SEVERE: Error during deployment : Failed to load
> org.glassfish.webservices.WebSe
> rvicesSniffer from org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1_at_2eb6fb
> org.jvnet.hk2.component.ComponentException: Failed to load
> org.glassfish.webserv
> ices.WebServicesSniffer from
> org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1_at_2eb6fb
>
> at
> com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:94)
> at
> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
> at
> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantIm
> pl.java:60)
> at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:243)
> at java.util.AbstractList$Itr.next(AbstractList.java:422)
> at
> com.sun.enterprise.v3.server.SnifferManager.createSnifferParentCL(Sni
> fferManager.java:150)
> at
> com.sun.enterprise.v3.server.SnifferManager.createSnifferParentCL(Sni
> fferManager.java:161)
> at
> com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.
> java:238)
> at
> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.jav
> a:286)
> at
> com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.jav
> a:130)
> at
> org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.j
> ava:118)
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.
> java:526)
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeploy
> er.java:409)
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.jav
> a:341)
> at
> org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.jav
> a:329)
> at
> org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeplo
> yService.java:200)
> at java.util.TimerThread.mainLoop(Timer.java:512)
> at java.util.TimerThread.run(Timer.java:462)
> Caused by: java.lang.ClassNotFoundException:
> org.glassfish.webservices.WebServic
> esSniffer
> at
> org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1.loadClass(OSGiModuleImpl
> .java:266)
> at
> com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
> ... 17 more
> Aug 29, 2008 1:44:12 PM
> org.glassfish.deployment.autodeploy.AutoOperation run
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>