dev@glassfish.java.net

Re: v3 build failed

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Tue, 28 Jul 2009 08:41:43 -0700

I built with no problems (Mac).

On Jul 28, 2009, at 8:09 AM, Jason Lee wrote:

> I'm on a Mac.
>
> On Jul 28, 2009, at 9:58 AM, Hong Zhang wrote:
>
>>
>>> I am at the rev and built successfully this morning, fwiw.
>>>
>> What OS are you using? I remember I hit a similar problem related
>> to domain.xml a couple weeks ago and that problem only happened on
>> Linux.
>>
>>> On Jul 28, 2009, at 9:19 AM, Hong Zhang wrote:
>>>
>>>> Hi,
>>>> I updated my workspace this morning (revision 29824) and I could
>>>> not get the build to go successfully. I have no local changes,
>>>> and I used mvn -U clean install.
>>>> Anyone else seeing this?
>>>>
>>>> The continuous hudson build shows all tests passed, so I am not
>>>> sure why. I am on linux (ubuntu).
>>>>
>>>> T E S T S
>>>> -------------------------------------------------------
>>>> Running org.glassfish.tests.ejb.EmbeddedTest
>>>> Jul 28, 2009 9:56:47 AM com.sun.enterprise.v3.admin.IdmService
>>>> verify
>>>> WARNING: /home/hzhang/files/workspaces/v3/ejb/ejb-container/
>>>> gfembed137420750947881144tmp/config/keystore.jks (No such file or
>>>> directory)
>>>> Jul 28, 2009 9:56:47 AM com.sun.enterprise.v3.admin.IdmService
>>>> postConstruct
>>>> SEVERE: THIS SHOULD BE FIXED, IN EMBEDDED CASE, THERE IS NO
>>>> MASTER PASSWORD SET...
>>>> Jul 28, 2009 9:56:47 AM com.sun.enterprise.v3.admin.IdmService
>>>> postConstruct
>>>> INFO: OK, finally using a master passsword: changeit REMOVE --
>>>> debug statement ...
>>>> Jul 28, 2009 9:56:47 AM
>>>> com.sun.enterprise.v3.server.AppServerStartup run
>>>> INFO: GlassFish v3 startup time : Embedded(494ms) startup
>>>> services(386ms) tota(880ms)
>>>> Jul 28, 2009 9:56:47 AM AppServerStartup run
>>>> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
>>>> Jul 28, 2009 9:56:47 AM
>>>> com.sun.enterprise.transaction.JavaEETransactionManagerimplified
>>>> initDelegates
>>>> INFO: Using
>>>> com
>>>> .sun
>>>> .enterprise.transaction.JavaEETransactionManagerSimplifiedDeegate
>>>> as the delegate
>>>> >>Started EJB Container Service....: server
>>>> >>EjbContainerUtil:
>>>> com.sun.ejb.containers.EjbContainerUtilImpl_at_9ac0f5
>>>> Jul 28, 2009 9:56:47 AM
>>>> com.sun.enterprise.security.SecurityLifecycle <init>
>>>> INFO: security.secmgroff
>>>> Jul 28, 2009 9:56:47 AM
>>>> com.sun.enterprise.security.SecurityLifecycle onInitialzation
>>>> INFO: Security startup service called
>>>> Jul 28, 2009 9:56:47 AM com.sun.enterprise.security.PolicyLoader
>>>> loadPolicy
>>>> INFO: policy.loading
>>>> Jul 28, 2009 9:56:48 AM
>>>> com.sun.enterprise.security.SecurityLifecycle onInitialzation
>>>> INFO: Security service(s) started successfully....
>>>> DOL Loading time566
>>>> Jul 28, 2009 9:56:48 AM
>>>> org.glassfish.admin.monitor.StatsProviderManagerDelegatImpl
>>>> register
>>>> SEVERE: flashlight registration failed
>>>> java.lang.RuntimeException: Invalid probe desc: glassfish:ejb-
>>>> container:ejb:ejbCCreationStartEvent
>>>> at
>>>> org
>>>> .glassfish
>>>> .flashlight
>>>> .impl
>>>> .client
>>>> .FlashlightProbeClientMediator
>>>> .rgisterListener(FlashlightProbeClientMediator.java:186)
>>>> at
>>>> org
>>>> .glassfish
>>>> .admin
>>>> .monitor
>>>> .StatsProviderManagerDelegateImpl
>>>> .registe(StatsProviderManagerDelegateImpl.java:112)
>>>> at
>>>> org
>>>> .glassfish
>>>> .external
>>>> .probe
>>>> .provider.StatsProviderManager.register(tatsProviderManager.java:
>>>> 61)
>>>> at
>>>> org
>>>> .glassfish
>>>> .ejb
>>>> .security
>>>> .application.EJBSecurityManager.initializeEJBSecurityManager.java:
>>>> 283)
>>>> at
>>>> org
>>>> .glassfish
>>>> .ejb
>>>> .security
>>>> .application.EJBSecurityManager.<init>(EJBecurityManager.java:188)
>>>> at
>>>> org
>>>> .glassfish
>>>> .ejb
>>>> .security
>>>> .factory
>>>> .EJBSecurityManagerFactory
>>>> .createMnager(EJBSecurityManagerFactory.java:201)
>>>> at
>>>> org
>>>> .glassfish
>>>> .ejb.startup.EjbApplication.loadContainers(EjbApplicatin.java:190)
>>>> at
>>>> org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:175)
>>>> at
>>>> org.glassfish.ejb.startup.EjbDeployer.load(EjbDeployer.java:62)
>>>> at
>>>> org.glassfish.internal.data.ModuleInfo.load(ModuleInfo.java:154)
>>>> at
>>>> org
>>>> .glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.jav:
>>>> 178)
>>>> at
>>>> com
>>>> .sun
>>>> .enterprise
>>>> .v3.server.ApplicationLifecycle.deploy(Applicationifecycle.java:
>>>> 303)
>>>> at
>>>> org
>>>> .glassfish
>>>> .kernel
>>>> .embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeloyerImpl.java:182)
>>>> at
>>>> org
>>>> .glassfish
>>>> .kernel
>>>> .embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeloyerImpl.java:151)
>>>> at
>>>> org.glassfish.tests.ejb.EmbeddedTest.test(EmbeddedTest.java:33)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>>> Method)
>>>> at
>>>> sun
>>>> .reflect
>>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpljava:39)
>>>> at
>>>> sun
>>>> .reflect
>>>> .DelegatingMethodAccessorImpl
>>>> .invoke(DelegatingMethodAccesorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners.TestMethodRunner.executeMethodBody(TestMehodRunner.java:
>>>> 99)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners.TestMethodRunner.runUnprotected(TestMethoRunner.java:81)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners
>>>> .BeforeAndAfterRunner.runProtected(BeforeAdAfterRunner.java:34)
>>>> at
>>>> org
>>>> .junit
>>>> .internal.runners.TestMethodRunner.runMethod(TestMethodRunnr.java:
>>>> 75)
>>>> at
>>>> org
>>>> .junit.internal.runners.TestMethodRunner.run(TestMethodRunner.jav:
>>>> 45)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners
>>>> .TestClassMethodsRunner
>>>> .invokeTestMethod(TstClassMethodsRunner.java:66)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners.TestClassMethodsRunner.run(TestClassMethosRunner.java:35)
>>>> at org.junit.internal.runners.TestClassRunner
>>>> $1.runUnprotected(TestClasRunner.java:42)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners
>>>> .BeforeAndAfterRunner.runProtected(BeforeAdAfterRunner.java:34)
>>>> at
>>>> org
>>>> .junit.internal.runners.TestClassRunner.run(TestClassRunner.java:2)
>>>> at
>>>> org
>>>> .apache
>>>> .maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSetjava:62)
>>>> at
>>>> org
>>>> .apache
>>>> .maven
>>>> .surefire
>>>> .suite
>>>> .AbstractDirectoryTestSuite
>>>> .executeTetSet(AbstractDirectoryTestSuite.java:140)
>>>> at
>>>> org
>>>> .apache
>>>> .maven
>>>> .surefire
>>>> .suite
>>>> .AbstractDirectoryTestSuite
>>>> .execute(AstractDirectoryTestSuite.java:165)
>>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>>> Method)
>>>> at
>>>> sun
>>>> .reflect
>>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpljava:39)
>>>> at
>>>> sun
>>>> .reflect
>>>> .DelegatingMethodAccessorImpl
>>>> .invoke(DelegatingMethodAccesorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org
>>>> .apache
>>>> .maven
>>>> .surefire
>>>> .booter.SurefireBooter.runSuitesInProcess(SrefireBooter.java:289)
>>>> at
>>>> org
>>>> .apache
>>>> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.ava:1005)
>>>> Jul 28, 2009 9:56:48 AM com.sun.ejb.containers.BaseContainer
>>>> initializeHome
>>>> INFO: Portable JNDI names for EJB SimpleEjb : [java:global/sample/
>>>> SimpleEjb, jaa:global/sample/SimpleEjb!
>>>> org.glassfish.tests.ejb.sample.SimpleEjb]
>>>> boo
>>>> delete /home/hzhang/files/workspaces/v3/ejb/ejb-container/
>>>> gfembed137420750947981144tmp = true
>>>> Deleting recursively/home/hzhang/files/workspaces/v3/ejb/ejb-
>>>> container/gfembed174207509479881144tmp
>>>> ..........FINISHED EmbeddedTest
>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed:
>>>> 2.748 sec
>>>> Running org.glassfish.tests.ejb.UnitTest
>>>> Files in dir/META-INF: [persistence.xml]
>>>> +++GF location: /home/hzhang/files/sun/appserver
>>>> +++ gf_root : /home/hzhang/files/sun/appserver
>>>> +++ domain_root : /home/hzhang/files/sun/appserver/domains/
>>>> domain1/config/domai.xml
>>>> +++ installed_root: /home/hzhang/files/sun/appserver
>>>> +++ domain_file: /home/hzhang/files/sun/appserver/domains/domain1/
>>>> config/domainxml
>>>> java.lang.NullPointerException
>>>> at
>>>> com
>>>> .sun
>>>> .enterprise
>>>> .glassfish
>>>> .bootstrap.ASMainHelper.getLastModified(SMainHelper.java:350)
>>>> at
>>>> com
>>>> .sun
>>>> .enterprise.glassfish.bootstrap.ASMainStatic.run(ASMainStaticjava:
>>>> 120)
>>>> at
>>>> com
>>>> .sun
>>>> .enterprise
>>>> .glassfish.bootstrap.AbstractMain.start(AbstractMan.java:41)
>>>> at org.glassfish.api.embedded.Server.<init>(Server.java:223)
>>>> at org.glassfish.api.embedded.Server.<init>(Server.java:62)
>>>> at org.glassfish.api.embedded.Server
>>>> $Builder.build(Server.java:128)
>>>> at
>>>> org
>>>> .glassfish
>>>> .ejb
>>>> .embedded
>>>> .EJBContainerProviderImpl.init(EJBContaineProviderImpl.java:156)
>>>> at
>>>> org
>>>> .glassfish
>>>> .ejb
>>>> .embedded
>>>> .EJBContainerProviderImpl
>>>> .createEJBContainr(EJBContainerProviderImpl.java:86)
>>>> at
>>>> javax
>>>> .ejb.embeddable.EJBContainer.createEJBContainer(EJBContainer.jaa:
>>>> 102)
>>>> at org.glassfish.tests.ejb.UnitTest.test(UnitTest.java:73)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>>> Method)
>>>> at
>>>> sun
>>>> .reflect
>>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpljava:39)
>>>> at
>>>> sun
>>>> .reflect
>>>> .DelegatingMethodAccessorImpl
>>>> .invoke(DelegatingMethodAccesorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners.TestMethodRunner.executeMethodBody(TestMehodRunner.java:
>>>> 99)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners.TestMethodRunner.runUnprotected(TestMethoRunner.java:81)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners
>>>> .BeforeAndAfterRunner.runProtected(BeforeAdAfterRunner.java:34)
>>>> at
>>>> org
>>>> .junit
>>>> .internal.runners.TestMethodRunner.runMethod(TestMethodRunnr.java:
>>>> 75)
>>>> at
>>>> org
>>>> .junit.internal.runners.TestMethodRunner.run(TestMethodRunner.jav:
>>>> 45)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners
>>>> .TestClassMethodsRunner
>>>> .invokeTestMethod(TstClassMethodsRunner.java:66)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners.TestClassMethodsRunner.run(TestClassMethosRunner.java:35)
>>>> at org.junit.internal.runners.TestClassRunner
>>>> $1.runUnprotected(TestClasRunner.java:42)
>>>> at
>>>> org
>>>> .junit
>>>> .internal
>>>> .runners
>>>> .BeforeAndAfterRunner.runProtected(BeforeAdAfterRunner.java:34)
>>>> at
>>>> org
>>>> .junit.internal.runners.TestClassRunner.run(TestClassRunner.java:2)
>>>> at
>>>> org
>>>> .apache
>>>> .maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSetjava:62)
>>>> at
>>>> org
>>>> .apache
>>>> .maven
>>>> .surefire
>>>> .suite
>>>> .AbstractDirectoryTestSuite
>>>> .executeTetSet(AbstractDirectoryTestSuite.java:140)
>>>> at
>>>> org
>>>> .apache
>>>> .maven
>>>> .surefire
>>>> .suite
>>>> .AbstractDirectoryTestSuite
>>>> .execute(AstractDirectoryTestSuite.java:165)
>>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:107)
>>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>>>> Method)
>>>> at
>>>> sun
>>>> .reflect
>>>> .NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpljava:39)
>>>> at
>>>> sun
>>>> .reflect
>>>> .DelegatingMethodAccessorImpl
>>>> .invoke(DelegatingMethodAccesorImpl.java:25)
>>>> at java.lang.reflect.Method.invoke(Method.java:597)
>>>> at
>>>> org
>>>> .apache
>>>> .maven
>>>> .surefire
>>>> .booter.SurefireBooter.runSuitesInProcess(SrefireBooter.java:289)
>>>> at
>>>> org
>>>> .apache
>>>> .maven.surefire.booter.SurefireBooter.main(SurefireBooter.ava:1005)
>>>> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed:
>>>> 0.114 sec <<< FILURE!
>>>>
>>>> Results :
>>>>
>>>> Tests in error:
>>>> test(org.glassfish.tests.ejb.UnitTest)
>>>>
>>>> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0
>>>>
>>>> [INFO]
>>>> ------------------------------------------------------------------------
>>>> [ERROR] BUILD FAILURE
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>> Jason Lee
>>> Senior Java Developer
>>> GlassFish Administration Console
>>>
>>> Sun Microsystems, Inc.
>>> Phone x31197/+1 405-343-1964
>>> Email jasondlee_at_sun.com
>>> Blog http://blogs.sun.com/jasondlee
>>> Blog http://blogs.steeplesoft.com
>>
>
> Jason Lee
> Senior Java Developer
> GlassFish Administration Console
>
> Sun Microsystems, Inc.
> Phone x31197/+1 405-343-1964
> Email jasondlee_at_sun.com
> Blog http://blogs.sun.com/jasondlee
> Blog http://blogs.steeplesoft.com
>

Lloyd Chambers
lloyd.chambers_at_sun.com
GlassFish Team