dev@glassfish.java.net

v3 deployment failed with the latest checkout

From: Anissa Lam <Anissa.Lam_at_Sun.COM>
Date: Fri, 11 Jul 2008 12:05:09 -0700

I did a fresh checkout and build. I can start the server and 'asadmin
list-commands' works fine.
But when i try to deploy hello.war, i got the following error:

Any idea ?

thanks
Anissa

Jul 11, 2008 11:34:18 AM
com.sun.enterprise.v3.server.ApplicationLifecycle startContainers
SEVERE: Cannot start container web
org.jvnet.hk2.component.ComponentException: Failed to create class
com.sun.enterprise.web.WebContainer
        at
com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:76)
        at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:74)
        at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        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:766)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:411)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
        at
com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:274)
        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:238)
        at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:155)
        at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:145)
        at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:620)
        at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:551)
        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:61)
        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: java.lang.NoClassDefFoundError:
org/apache/catalina/connector/CoyoteConnector
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at
org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:214)
        at
org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:85)
        at
org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:141)
        at
org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:101)
        at
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.searchImports(R4SearchPolicyCore.java:507)
        at
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:468)
        at
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:187)
        at
org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
        at
org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:109)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructor0(Class.java:2671)
        at java.lang.Class.newInstance0(Class.java:321)
        at java.lang.Class.newInstance(Class.java:303)
        at
com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:70)
        ... 25 more
Jul 11, 2008 11:34:18 AM org.glassfish.api.ActionReport failure
SEVERE: Failed to start containers
Jul 11, 2008 11:34:18 AM org.glassfish.api.ActionReport failure
SEVERE: Exception while deploying the app
java.lang.Exception: Failed to start containers
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:414)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:262)
        at
com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:274)
        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:238)
        at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:155)
        at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:145)
        at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:620)
        at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:551)
        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:61)
        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)
Jul 11, 2008 11:34:18 AM
com.sun.enterprise.v3.server.ApplicationLifecycle stopContainers
INFO: Cannot release container web
org.jvnet.hk2.component.ComponentException: Failed to create class
com.sun.enterprise.web.WebContainer
        at
com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:76)
        at
com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:74)
        at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
        at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
        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.stopContainer(ApplicationLifecycle.java:810)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.stopContainers(ApplicationLifecycle.java:797)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:257)
        at
com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:292)
        at
com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:274)
        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:238)
        at
com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:155)
        at
com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:145)
        at
com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:620)
        at
com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:551)
        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:61)
        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: java.lang.NoClassDefFoundError:
org/apache/catalina/connector/CoyoteConnector
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at
org.apache.felix.framework.searchpolicy.ContentClassLoader.findClass(ContentClassLoader.java:214)
        at
org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClassFromModule(ContentClassLoader.java:85)
        at
org.apache.felix.framework.searchpolicy.ContentLoaderImpl.getClass(ContentLoaderImpl.java:141)
        at
org.apache.felix.framework.searchpolicy.R4Wire.getClass(R4Wire.java:101)
        at
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.searchImports(R4SearchPolicyCore.java:507)
        at
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClassOrResource(R4SearchPolicyCore.java:468)
        at
org.apache.felix.framework.searchpolicy.R4SearchPolicyCore.findClass(R4SearchPolicyCore.java:187)
        at
org.apache.felix.framework.searchpolicy.R4SearchPolicy.findClass(R4SearchPolicy.java:45)
        at
org.apache.felix.framework.searchpolicy.ContentClassLoader.loadClass(ContentClassLoader.java:109)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructor0(Class.java:2671)
        at java.lang.Class.newInstance0(Class.java:321)
        at java.lang.Class.newInstance(Class.java:303)
        at
com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:70)
        ... 26 more