actually the failure is before :
SEVERE: Exception while deploying the app
java.lang.ClassCastException: org.glassfish.web.embed.impl.EmbeddedWebArchivist
$1 cannot be cast to
com.sun.enterprise.deployment.annotation.impl.WarScanner
at
com
.sun
.enterprise
.deployment
.archivist.WebArchivist.postAnnotationProcess(WebArchivist.java:312)
at
com
.sun
.enterprise
.deployment
.archivist.WebArchivist.postAnnotationProcess(WebArchivist.java:80)
at
com
.sun
.enterprise
.deployment
.archivist.Archivist.readRestDeploymentDescriptors(Archivist.java:397)
at
com
.sun
.enterprise
.deployment
.archivist.Archivist.readDeploymentDescriptors(Archivist.java:373)
at
com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:
238)
at
com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:
247)
at
com.sun.enterprise.deployment.archivist.Archivist.open(Archivist.java:
208)
I believe this could be linked to checkin 33004
shing wai, can you look at it ?
jerome
On Oct 20, 2009, at 11:49 AM, Bhakti Mehta wrote:
> Even the hudson jobs seem to be red. I am svn rev 33009
>
> http://gf-hudson.sfbay.sun.com/hudson/job/gf-trunk-build-continuous/2886/console
>
> NFO: Discovering the ProbeProviders
> Oct 20, 2009 11:45:40 AM
> com.sun.enterprise.v3.server.AppServerStartup$2 run
> SEVERE: Error processing
> org.glassfish.admin.mbeanserver.JMXStartupService
> java.lang.IllegalStateException
> at org.glassfish.admin.mbeanserver.BootAMX.<init>(BootAMX.java:70)
> at org.glassfish.admin.mbeanserver.BootAMX.create(BootAMX.java:85)
> at
> org
> .glassfish
> .admin
> .mbeanserver.JMXStartupService.postConstruct(JMXStartupService.java:
> 121)
> at
> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:
> 174)
> at com.sun.hk2.component.ConstructorWomb
> $1.run(ConstructorWomb.java:87)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> com
> .sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:84)
> at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
> 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 com.sun.enterprise.v3.server.AppServerStartup
> $2.run(AppServerStartup.java:229)
> at java.util.concurrent.Executors
> $RunnableAdapter.call(Executors.java:441)
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:
> 303)
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)
> at java.util.concurrent.ThreadPoolExecutor
> $Worker.runTask(ThreadPoolExecutor.java:885)
> at java.util.concurrent.ThreadPoolExecutor
> $Worker.run(ThreadPoolExecutor.java:907)
> at java.lang.Thread.run(Thread.java:637)
> org.jvnet.hk2.component.ComponentException: Failed to create class
> com.sun.enterprise.naming.GlassFishNamingBuilder
> at
> com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:76)
> at
> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:71)
> 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
> com
> .sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:
> 246)
> at
> com
> .sun
> .enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:
> 129)
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:457)
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:401)
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:310)
> at com.sun.enterprise.module.bootstrap.Main.launch(Main.java:303)
> at
> com
> .sun.enterprise.glassfish.bootstrap.ASEmbedded.run(ASEmbedded.java:
> 101)
> at
> com
> .sun
> .enterprise.glassfish.bootstrap.AbstractMain.start(AbstractMain.java:
> 41)
> at org.glassfish.api.embedded.Server.<init>(Server.java:284)
> at org.glassfish.api.embedded.Server.<init>(Server.java:61)
> at org.glassfish.api.embedded.Server$Builder.build(Server.java:158)
> at org.glassfish.api.embedded.Server$Builder.build(Server.java:140)
> at
> org
> .glassfish
> .ejb
> .embedded
> .EJBContainerProviderImpl.init(EJBContainerProviderImpl.java:147)
> at
> org
> .glassfish
> .ejb
> .embedded
> .EJBContainerProviderImpl
> .createEJBContainer(EJBContainerProviderImpl.java:114)
> at
> javax
> .ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:102)
> at org.glassfish.distributions.test.UnitTest.test(UnitTest.java:89)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org
> .junit
> .internal
> .runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
> at
> org
> .junit
> .internal
> .runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
> at
> org
> .junit
> .internal
> .runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:
> 34)
> at
> org
> .junit
> .internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
> at
> org
> .junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
> at
> org
> .junit
> .internal
> .runners
> .TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:
> 66)
> at
> org
> .junit
> .internal
> .runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
> at org.junit.internal.runners.TestClassRunner
> $1.runUnprotected(TestClassRunner.java:42)
> at
> org
> .junit
> .internal
> .runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:
> 34)
> at
> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:
> 52)
> at
> org
> .apache
> .maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> at
> org
> .apache
> .maven
> .surefire
> .suite
> .AbstractDirectoryTestSuite
> .executeTestSet(AbstractDirectoryTestSuite.java:140)
> at
> org
> .apache
> .maven
> .surefire
> .suite
> .AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:
> 165)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org
> .apache
> .maven
> .surefire
> .booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
> at
> org
> .apache
> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
> Caused by: java.lang.IllegalStateException:
> InitialContextFactoryBuilder already set
> at
> javax
> .naming
> .spi
> .NamingManager.setInitialContextFactoryBuilder(NamingManager.java:692)
> at
> com
> .sun
> .enterprise
> .naming.GlassFishNamingBuilder.<init>(GlassFishNamingBuilder.java:110)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun
> .reflect
> .NativeConstructorAccessorImpl
> .newInstance(NativeConstructorAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingConstructorAccessorImpl
> .newInstance(DelegatingConstructorAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at
> com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:68)
> ... 44 more
> Oct 20, 2009 11:45:40 AM
> com.sun.enterprise.v3.server.AppServerStartup run
> INFO: Startup service failed to start : Failed to create class
> com.sun.enterprise.naming.GlassFishNamingBuilder
> Oct 20, 2009 11:45:40 AM
> com.sun.enterprise.v3.server.AppServerStartup run
> INFO: GlassFish v3 startup time : Embedded(635ms) startup
> services(98ms) total(733ms)
> Oct 20, 2009 11:45:40 AM
> org.glassfish.admin.monitor.MonitoringBootstrap event
> INFO: Discovering the XML ProbeProviders from lib/monitor
> Oct 20, 2009 11:45:40 AM AppServerStartup run
> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
> Oct 20, 2009 11:45:40 AM
> com.sun.enterprise.transaction.JavaEETransactionManagerSimplified
> initDelegates
> INFO: Using
> com
> .sun.enterprise.transaction.jts.JavaEETransactionManagerJTSDelegate
> as the delegate
> Oct 20, 2009 11:45:40 AM
> com.sun.enterprise.security.SecurityLifecycle <init>
> INFO: security.secmgroff
> Oct 20, 2009 11:45:40 AM
> com.sun.enterprise.security.SecurityLifecycle onInitialization
> INFO: Security startup service called
> Oct 20, 2009 11:45:40 AM
> com.sun.enterprise.security.SecurityLifecycle onInitialization
> INFO: Security service(s) started successfully....
> DOL Loading time3
> Oct 20, 2009 11:45:40 AM com.sun.ejb.containers.BaseContainer
> initializeHome
> INFO: Portable JNDI names for EJB SampleEjb : [java:global/test-
> classes/SampleEjb!org.glassfish.distributions.test.ejb.SampleEjb,
> java:global/test-classes/SampleEjb]
> java.lang.NullPointerException
> at
> org
> .glassfish
> .deployment
> .autodeploy
> .AutoDeployService.stopAutoDeployer(AutoDeployService.java:226)
> at
> org
> .glassfish
> .deployment
> .autodeploy.AutoDeployService.preDestroy(AutoDeployService.java:152)
> at
> com
> .sun
> .hk2
> .component
> .AbstractWombInhabitantImpl.dispose(AbstractWombInhabitantImpl.java:
> 74)
> at
> com
> .sun
> .hk2.component.SingletonInhabitant.release(SingletonInhabitant.java:
> 66)
> at
> com.sun.hk2.component.LazyInhabitant.release(LazyInhabitant.java:112)
> at
> com
> .sun
> .enterprise.v3.server.AppServerStartup.stop(AppServerStartup.java:383)
> at org.glassfish.api.embedded.Server.stop(Server.java:591)
> at
> org
> .glassfish.ejb.embedded.EJBContainerImpl.stop(EJBContainerImpl.java:
> 294)
> at
> org
> .glassfish
> .ejb.embedded.EJBContainerImpl.forceClose(EJBContainerImpl.java:189)
> at
> org
> .glassfish.ejb.embedded.EJBContainerImpl.close(EJBContainerImpl.java:
> 175)
> at org.glassfish.distributions.test.UnitTest.test(UnitTest.java:90)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org
> .junit
> .internal
> .runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
> at
> org
> .junit
> .internal
> .runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
> at
> org
> .junit
> .internal
> .runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:
> 34)
> at
> org
> .junit
> .internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
> at
> org
> .junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
> at
> org
> .junit
> .internal
> .runners
> .TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:
> 66)
> at
> org
> .junit
> .internal
> .runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
> at org.junit.internal.runners.TestClassRunner
> $1.runUnprotected(TestClassRunner.java:42)
> at
> org
> .junit
> .internal
> .runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:
> 34)
> at
> org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:
> 52)
> at
> org
> .apache
> .maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
> at
> org
> .apache
> .maven
> .surefire
> .suite
> .AbstractDirectoryTestSuite
> .executeTestSet(AbstractDirectoryTestSuite.java:140)
> at
> org
> .apache
> .maven
> .surefire
> .suite
> .AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:
> 165)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun
> .reflect
> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun
> .reflect
> .DelegatingMethodAccessorImpl
> .invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org
> .apache
> .maven
> .surefire
> .booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:289)
> at
> org
> .apache
> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1005)
> Oct 20, 2009 11:45:40 AM
> com.sun.enterprise.v3.server.AppServerStartup stop
> INFO: Shutdown procedure finished
> Oct 20, 2009 11:45:40 AM AppServerStartup run
> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] exiting
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
> 4.346 sec
>
> Results :
>
> Failed tests:
>
> Tests run: 6, Failures: 1, Errors: 0, Skipped: 0
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] There are test failures.
>
> Please refer to /Users/bhakti/trialv3/v3/distributions/web/target/
> surefire-reports for the individual test results.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 7 minutes 56 seconds
> [INFO] Finished at: Tue Oct 20 11:45:41 PDT 2009
> [INFO] Final Memory: 295M/490M
> [INFO]
> ------------------------------------------------------------------------
> /Users/bhakti/trialv3/v3 %
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>