dev@glassfish.java.net

Re: Endorsed standards and v3

From: Sreekanth <Sreekanth.Manga_at_Sun.COM>
Date: Tue, 05 May 2009 14:06:54 +0530

>
> For standalone clients they will need to set java.endorsed.dirs to the
> folder containing these jars.
> From today jaxb-api-osgi.jar and webservices-api-osgi.jar are moved to
> modules/endorsed in the full glassfish distribution.
I see the files are not jar files and instead they are
jaxb-api-osgi.pack.gz and webservices-api-osgi.pack.gz.Is it ok?

I see an exception while deploying an application.

[#|2009-05-05T13:38:48.404+0530|SEVERE|glassfish|com.sun.enterprise.v3.admin.CommandRunnerImpl|_ThreadID=15;_ThreadName=Thread-1;|Exception
in command execution : com.sun.enterprise.module.ResolveError: Failed to
start org.glassfish.webservices.jsr109-impl(JSR-109 implementation to
deploy Metro):3.0.0.Preview-SNAPSHOT
com.sun.enterprise.module.ResolveError: Failed to start
org.glassfish.webservices.jsr109-impl(JSR-109 implementation to deploy
Metro):3.0.0.Preview-SNAPSHOT
   at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:143)
   at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1$1.loadClass(OSGiModuleImpl.java:280)

   at com.sun.hk2.component.LazyInhabitant.fetch(LazyInhabitant.java:91)
   at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:106)
   at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)

   at org.jvnet.hk2.component.Habitat$1.get(Habitat.java:252)
   at java.util.AbstractList$Itr.next(AbstractList.java:345)
   at java.util.AbstractCollection.toArray(AbstractCollection.java:124)
   at java.util.ArrayList.addAll(ArrayList.java:472)
   at
com.sun.enterprise.v3.server.SnifferManagerImpl.getSniffers(SnifferManagerImpl.java:85)

   at
com.sun.enterprise.v3.server.SnifferManagerImpl.hasNoSniffers(SnifferManagerImpl.java:112)

   at
org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:151)

   at
com.sun.enterprise.v3.admin.CommandRunnerImpl$4.execute(CommandRunnerImpl.java:415)

   at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:425)

   at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:560)

   at
com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:154)

   at
org.glassfish.deployment.autodeploy.AutoOperation.run(AutoOperation.java:121)

   at
org.glassfish.deployment.autodeploy.AutoDeployer.deploy(AutoDeployer.java:529)

   at
org.glassfish.deployment.autodeploy.AutoDeployer.deployAll(AutoDeployer.java:415)

   at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:347)
   at
org.glassfish.deployment.autodeploy.AutoDeployer.run(AutoDeployer.java:332)
   at
org.glassfish.deployment.autodeploy.AutoDeployService$1.run(AutoDeployService.java:200)

   at java.util.TimerThread.mainLoop(Timer.java:512)
   at java.util.TimerThread.run(Timer.java:462)
Caused by: org.osgi.framework.BundleException: Unresolved constraint in
bundle 67: package; (package=javax.xml.ws.spi.http)
   at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3090)
   at org.apache.felix.framework.Felix.startBundle(Felix.java:1439)
   at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:774)
   at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:137)
   ... 23 more
|#]

[#|2009-05-05T13:38:48.414+0530|WARNING|glassfish|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=15;_ThreadName=Thread-1;|[AutoDeploy]
Autodeploy failed :
/space/Sreekanth/servers/glassfishv3-st/glassfish/domains/domain1/autodeploy/hellojaxws2.2.war.|#]


[#|2009-05-05T13:38:50.238+0530|INFO|glassfish|javax.enterprise.system.tools.deployment.org.glassfish.deployment.common|_ThreadID=15;_ThreadName=Thread-1;|[AutoDeploy]
Selecting file
/space/Sreekanth/servers/glassfishv3-st/glassfish/domains/domain1/autodeploy/hellojaxws2.2.war
for autodeployment.|#]

Thanks,
Sreekanth