dev@glassfish.java.net

[3.1.1] build failure

From: Kin-man Chung <kinman.chung_at_oracle.com>
Date: Thu, 16 Jun 2011 10:55:49 -0700

I got the following error building 3.1.1. Any ideas?

-------------------------------------------------------
  T E S T S
-------------------------------------------------------
Running org.glassfish.distributions.test.EmbeddedTest
Jun 16, 2011 10:44:10 AM
com.sun.enterprise.v3.server.CommonClassLoaderServiceImpl findDerbyClient
INFO: Cannot find javadb client jar file, derby jdbc driver will not be
available by default.
Jun 16, 2011 10:44:12 AM
org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register
INFO: Registered
org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for
persistence-type = replicated in BackingStoreFactoryRegistry
Jun 16, 2011 10:44:12 AM
com.sun.enterprise.v3.services.impl.GrizzlyService createNetworkProxy
INFO: Network listener http-listener on port 0 disabled per domain.xml
Jun 16, 2011 10:44:12 AM
com.sun.enterprise.v3.services.impl.GrizzlyService createNetworkProxy
INFO: Network listener https-listener on port 0 disabled per domain.xml
Jun 16, 2011 10:44:12 AM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish Server Open Source Edition 3.1.1-SNAPSHOT
(kchung-private) startup time : Embedded (1,657ms), startup
services(1,637ms), total(3,294ms)
Jun 16, 2011 10:44:14 AM
org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread
run
INFO: JMXStartupService: JMXConnector system is disabled, skipping.
Stopping server
com.sun.enterprise.glassfish.bootstrap.StaticGlassFishRuntime$1_at_1429cb2
Jun 16, 2011 10:44:14 AM
org.glassfish.admin.mbeanserver.JMXStartupService shutdown
INFO: JMXStartupService and JMXConnectors have been shut down.
Jun 16, 2011 10:44:14 AM com.sun.enterprise.v3.server.AppServerStartup stop
INFO: Shutdown procedure finished
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 12.561
sec <<< FAILURE!
Running org.glassfish.distributions.test.UnitTest
Jun 16, 2011 10:44:17 AM
org.glassfish.ejb.embedded.EJBContainerProviderImpl getValidFile
SEVERE: EJB6004:Specified application server installation location
[/home/kchung/.m2/repository/org/glassfish/ejb/ejb-container/domains/domain1]
does not exist.Jun 16, 2011 10:44:19 AM
com.sun.enterprise.v3.server.CommonClassLoaderServiceImpl findDerbyClient
INFO: Cannot find javadb client jar file, derby jdbc driver will not be
available by default.
Jun 16, 2011 10:44:20 AM
org.glassfish.ha.store.spi.BackingStoreFactoryRegistry register
INFO: Registered
org.glassfish.ha.store.adapter.cache.ShoalBackingStoreProxy for
persistence-type = replicated in BackingStoreFactoryRegistry
Jun 16, 2011 10:44:21 AM
com.sun.enterprise.v3.services.impl.GrizzlyService createNetworkProxy
INFO: Network listener http-listener on port 0 disabled per domain.xml
Jun 16, 2011 10:44:21 AM
com.sun.enterprise.v3.services.impl.GrizzlyService createNetworkProxy
INFO: Network listener https-listener on port 0 disabled per domain.xml
Jun 16, 2011 10:44:21 AM com.sun.enterprise.v3.server.AppServerStartup run
INFO: GlassFish Server Open Source Edition 3.1.1-SNAPSHOT
(kchung-private) startup time : Embedded (675ms), startup
services(1,148ms), total(1,823ms)
Jun 16, 2011 10:44:21 AM
org.glassfish.admin.mbeanserver.JMXStartupService$JMXConnectorsStarterThread
run
INFO: JMXStartupService: JMXConnector system is disabled, skipping.
Jun 16, 2011 10:44:21 AM
org.glassfish.ejb.embedded.EJBContainerProviderImpl createEJBContainer
SEVERE: EJB6001:Caught exception instantiating EmbeddedContainer.
java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker
         at
org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:823)
         at
com.sun.enterprise.registration.impl.RepositoryManager.<init>(RepositoryManager.java:105)
         at
com.sun.enterprise.registration.glassfish.RegistrationUtil.synchUUID(RegistrationUtil.java:158)
         at
com.sun.enterprise.registration.glassfish.PingService.postConstruct(PingService.java:92)
         at
com.sun.hk2.component.AbstractCreatorImpl.inject(AbstractCreatorImpl.java:131)
         at
com.sun.hk2.component.ConstructorCreator.initialize(ConstructorCreator.java:91)
         at
com.sun.hk2.component.AbstractCreatorImpl.get(AbstractCreatorImpl.java:82)
         at
com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:67)
         at
com.sun.hk2.component.EventPublishingInhabitant.get(EventPublishingInhabitant.java:139)
         at
com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:76)
         at
com.sun.enterprise.v3.server.AppServerStartup.run(AppServerStartup.java:336)
         at
com.sun.enterprise.v3.server.AppServerStartup.doStart(AppServerStartup.java:145)
         at
com.sun.enterprise.v3.server.AppServerStartup.start(AppServerStartup.java:136)
         at
com.sun.enterprise.glassfish.bootstrap.GlassFishImpl.start(GlassFishImpl.java:79)
         at
org.glassfish.ejb.embedded.EJBContainerImpl.<init>(EJBContainerImpl.java:104)
         at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createContainer(EJBContainerProviderImpl.java:218)
         at
org.glassfish.ejb.embedded.EJBContainerProviderImpl.createEJBContainer(EJBContainerProviderImpl.java:129)
         at
javax.ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.java:127)
         at org.glassfish.distributions.test.UnitTest.test(UnitTest.java:67)
         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:993)
Caused by: java.lang.ClassNotFoundException:
org.apache.xml.serializer.TreeWalker
         at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
         ... 43 more
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.934
sec <<< FAILURE!

Results :

Tests in error:
   test(org.glassfish.distributions.test.UnitTest)

Tests run: 2, Failures: 0, Errors: 2, Skipped: 0

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] There are test failures.

Please refer to
/export/work/v311/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: 27 minutes 5 seconds
[INFO] Finished at: Thu Jun 16 10:44:22 PDT 2011
[INFO] Final Memory: 288M/709M
[INFO]
------------------------------------------------------------------------