atom feed2 messages in net.java.dev.glassfish.dev[@GFv3] Failed to create class com.su...
FromSent OnAttachments
SahooMar 24, 2008 8:17 am 
SahooMar 24, 2008 9:30 am 
Subject:[@GFv3] Failed to create class com.sun.enterprise.web.WebContainer
From:Sahoo (Sah@Sun.COM)
Date:Mar 24, 2008 8:17:33 am
List:net.java.dev.glassfish.dev

After checking out and building HK2 and V3 workspaces, I am now getting the following error while deploying a simple web app. There is no build failure in Hudson, so must be something to do with my system, but I have a clean workspace! While I am trying to figure out what's causing this failure, if someone has any clue, please provide.

SEVERE: Cannot start container from module Module: org.glassfish.web:webtier::ModuleClassLoader(name=org.glassfish.web:webtier, parent=,URls[]=file:/space/ss141213/WS/gf/v3.trunk.new/publish/glassfish/modules/web/webtier-10.0-SNAPSHOT.jar,file:/space/ss141213/WS/gf/v3.trunk.new/publish/glassfish/modules/web/jasper-jsr199-9.1.jar,),init=true,URls[]=file:/space/ss141213/WS/gf/v3.trunk.new/publish/glassfish/modules/web/webtier-10.0-SNAPSHOT.jar,file:/space/ss141213/WS/gf/v3.trunk.new/publish/glassfish/modules/web/jasper-jsr199-9.1.jar,) org.jvnet.hk2.component.ComponentException: Failed to create class com.sun.enterprise.web.WebContainer at com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:40) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:38) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:22) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:24) at com.sun.enterprise.v3.data.ContainerInfo.getContainer(ContainerInfo.java:76) at com.sun.enterprise.v3.server.ApplicationLifecycle.startContainers(ApplicationLifecycle.java:740) at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:408) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:264) at com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:287) at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:192) at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:93) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:178) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:134) at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:605) at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:536) at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:785) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:130) at com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:99) at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:61) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:78) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179) Caused by: java.lang.NoClassDefFoundError: com/sun/enterprise/admin/monitor/stats/WebModuleStats 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:34) ... 23 more Mar 24, 2008 8:21:05 PM com.sun.enterprise.v3.server.ApplicationLifecycle failure SEVERE: Failed to start containers Mar 24, 2008 8:21:05 PM com.sun.enterprise.v3.server.ApplicationLifecycle failure SEVERE: Exception while deploying the app java.lang.Exception: Failed to start containers at com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:411) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:264) at com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:287) at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:192) at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:93) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:178) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:134) at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:605) at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:536) at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:785) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:130) at com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:99) at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:61) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:78) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179) Mar 24, 2008 8:21:05 PM 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:40) at com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:38) at com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:22) at com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:71) at com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:24) at com.sun.enterprise.v3.data.ContainerInfo.getContainer(ContainerInfo.java:76) at com.sun.enterprise.v3.server.ApplicationLifecycle.stopContainer(ApplicationLifecycle.java:784) at com.sun.enterprise.v3.server.ApplicationLifecycle.stopContainers(ApplicationLifecycle.java:771) at com.sun.enterprise.v3.server.ApplicationLifecycle$1.actOn(ApplicationLifecycle.java:259) at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:289) at com.sun.enterprise.v3.deployment.DeployCommand.execute(DeployCommand.java:287) at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:192) at com.sun.enterprise.v3.admin.CommandRunner.doCommand(CommandRunner.java:93) at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:178) at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:134) at com.sun.grizzly.http.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:605) at com.sun.grizzly.http.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:536) at com.sun.grizzly.http.DefaultProcessorTask.process(DefaultProcessorTask.java:785) at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:130) at com.sun.enterprise.v3.services.impl.HttpProtocolFilter.execute(HttpProtocolFilter.java:99) at com.sun.enterprise.v3.services.impl.GlassfishProtocolChain.executeProtocolFilter(GlassfishProtocolChain.java:61) at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:78) at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54) at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57) at com.sun.grizzly.util.WorkerThreadImpl.run(WorkerThreadImpl.java:179) Caused by: java.lang.NoClassDefFoundError: com/sun/enterprise/admin/monitor/stats/WebModuleStats 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:34) ... 24 more