dev@glassfish.java.net

[v3] unable to deploy

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Mon, 04 Aug 2008 14:24:43 -0700

Hi,

I just checked-out and built GlassFish V3. Domain starts successfully
but when deploying a simple war app, I get this error:

./asadmin deploy ~/J2EE_apps/hello1.war
remote failure: com.sun.enterprise.module.ResolveError: Failed to start
org.glassfish.web.web-glue(Web Container glue code):10.0.0.SNAPSHOT

Command deploy failed.


server.log:
com.sun.enterprise.module.ResolveError: Failed to start
org.glassfish.web.web-glue(Web Container glue code):10.0.0.SNAPSHOT
        at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:113)
        at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.start(OSGiModuleImpl.java:122)
        at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl$1$1.loadClass(OSGiModuleImpl.java:257)
        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.glassfish.internal.data.ContainerInfo.getContainer(ContainerInfo.java:75)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:795)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:432)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:268)
        at
com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:270)
        at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:286)
        at
com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:114)
        at
com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:239)
        at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:156)
        at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:148)
        at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:621)
        at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:552)
        at
com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:800)
        at
com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:152)
        at
com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:82)
        at
com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:70)
        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
        at
com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
        at
com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:67)
        at
com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:56)
        at
com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:169)
Caused by: org.osgi.framework.BundleException: Unresolved package in
bundle 12: package; (package=org.apache.tools.ant.types)
        at org.apache.felix.framework.Felix._resolveBundle(Felix.java:1728)
        at org.apache.felix.framework.Felix._startBundle(Felix.java:1591)
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1544)
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:371)
        at
org.jvnet.hk2.osgiadapter.OSGiModuleImpl.resolve(OSGiModuleImpl.java:110)
        ... 26 more


Is this a known issue?

Thanks!
Jane