dev@glassfish.java.net

Re: Windows Build Broken

From: Jane Young <Jane.Young_at_Sun.COM>
Date: Thu, 17 Sep 2009 12:01:44 -0700

The failure is from the unit test in
ejb/ejb-container/src/test/java/org/glassfish/tests/ejb/EmbeddedTest.java.
Can we add @Ignore to disable this test?

Jane


Marina Vatkina wrote:
> Jane,
>
> How can you disable the tests in a single module (ejb/ejb-container)?
>
> thanks,
> -marina
>
> Jane Young wrote:
>>
>> I'm also seeing the build failure in Windows.
>> Caused by: java.io.EOFException
>> at java.io.DataInputStream.readInt(DataInputStream.java:375)
>> at
>> sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:628)
>> at
>> sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
>> at java.security.KeyStore.load(KeyStore.java:1185)
>> at
>> com.sun.enterprise.security.ssl.SecuritySupportImpl.loadKS(SecuritySupportImpl.java:194)
>>
>> at
>> com.sun.enterprise.security.ssl.SecuritySupportImpl.loadStores(SecuritySupportImpl.java:147)
>>
>>
>> and as Byron pointed out it's because the files in
>> <home>\.glassfishv3-build\config are empty
>> The files are empty because the NullPointerException is thrown in
>> /security/core/src/main/java/com/sun/enterprise/security/common/Util.java:
>> line 149
>>
>> //Util.java
>> InputStream iStream =
>> Util.class.getClassLoader().getResourceAsStream("config"+File.separator
>> + fileName);
>>
>> while (iStream.available() > 0) { <-- line 149
>> oStream.write(iStream.read());
>> }
>>
>> iStream is null.... but the files are there in
>> v3\security\core\target\classes\config. Can someone from security
>> team take a look at this? In the meantime can we disable the
>> ejb.EmbeddedTest since it's breaking Windows build?
>>
>> Thanks,
>> Jane
>>
>>
>>
>>
>> Kedar Mhaswade wrote:
>>
>>> Marina Vatkina wrote:
>>>
>>>> Kedar,
>>>>
>>>> Jerome said you might know the answer ;). Why would other OS-s just
>>>> complain about these files and Win break?
>>>
>>>
>>> Ms. Marina,
>>>
>>> I am really clueless :(. I think the Security Lifecycle is somehow
>>> not liking that these files are zero-byte (it's really either the
>>> keystore/truststore).
>>>
>>> I need to find a Windoze VB image and time to look into this further.
>>> VB Kumar -- do you know?
>>>
>>> -Kedar
>>>
>>>>
>>>> thanks,
>>>> -marina
>>>>
>>>> Byron Nevins wrote:
>>>>
>>>>> I have 4 empty files :
>>>>>
>>>>> C:\Documents and Settings\bnevins\.glassfishv3-build\config>ls -l
>>>>> total 0
>>>>> -rwxrwxrwa 1 bnevins None 0 Aug 11
>>>>> 01:55 cacerts.jks
>>>>> -rwxrwxrwa 1 bnevins None 0 Aug 11
>>>>> 01:55 keystore.jks
>>>>> -rwxrwxrwa 1 bnevins None 0 Aug 4
>>>>> 15:51 login.conf
>>>>> -rwxrwxrwa 1 bnevins None 0 Aug 11
>>>>> 01:30 server.policy
>>>>>
>>>>> p.s. How in the world did you find this?!?
>>>>>
>>>>> Paul Sterk wrote:
>>>>>
>>>>>>
>>>>>> I see one problem on Vista (at least on my box). These two files
>>>>>> are empty:
>>>>>>
>>>>>> "${user.home}\.glassfishv3-build\config\keystore.jks"
>>>>>> "${user.home}\.glassfishv3-build\config\cacerts.jks"
>>>>>>
>>>>>> To verify, move these files out of the way and retest
>>>>>> org.glassfish.tests.ejb.EmbeddedTest. Note that the
>>>>>> EOFException is mitigated. See below for the stack trace[1]. So,
>>>>>> perhaps these files are not being created properly when doing mvn
>>>>>> install. Is this just a build issue on Vista?
>>>>>>
>>>>>> Unfortunately, I now get a different exception[2]. I'll work on
>>>>>> this later this morning.
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>> [1]
>>>>>> com.sun.enterprise.security.ssl.SecuritySupportImpl.loadKS(SecuritySupportImpl.java:174)
>>>>>>
>>>>>> com.sun.enterprise.security.ssl.SecuritySupportImpl.loadStores(SecuritySupportImpl.java:147)
>>>>>>
>>>>>> com.sun.enterprise.security.ssl.SecuritySupportImpl.initJKS(SecuritySupportImpl.java:107)
>>>>>>
>>>>>> com.sun.enterprise.security.ssl.SecuritySupportImpl.<init>(SecuritySupportImpl.java:86)
>>>>>>
>>>>>> com.sun.enterprise.security.ssl.SecuritySupportImpl.<init>(SecuritySupportImpl.java:81)
>>>>>>
>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java)
>>>>>>
>>>>>> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>>>>>>
>>>>>> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>>>>>>
>>>>>> java.lang.reflect.Constructor.newInstance(Constructor.java:513)
>>>>>> java.lang.Class.newInstance0(Class.java:355)
>>>>>> java.lang.Class.newInstance(Class.java:308)
>>>>>> com.sun.hk2.component.ConstructorWomb.create(ConstructorWomb.java:72)
>>>>>>
>>>>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:71)
>>>>>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>>>>>>
>>>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>>>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>>>>>>
>>>>>> org.jvnet.hk2.component.Habitat.getComponent(Habitat.java:358)
>>>>>> com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:144)
>>>>>>
>>>>>> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81)
>>>>>>
>>>>>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
>>>>>>
>>>>>> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:89)
>>>>>> java.security.AccessController.doPrivileged(AccessController.java)
>>>>>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
>>>>>>
>>>>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>>>>>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>>>>>>
>>>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>>>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>>>>>>
>>>>>> org.jvnet.hk2.component.Habitat.getBy(Habitat.java:599)
>>>>>> org.jvnet.hk2.component.Habitat.getByType(Habitat.java:580)
>>>>>> com.sun.hk2.component.AbstractWombImpl$1.getValue(AbstractWombImpl.java:149)
>>>>>>
>>>>>> org.jvnet.hk2.component.InjectionManager.inject(InjectionManager.java:81)
>>>>>>
>>>>>> com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:170)
>>>>>>
>>>>>> com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:89)
>>>>>> java.security.AccessController.doPrivileged(AccessController.java)
>>>>>> com.sun.hk2.component.ConstructorWomb.initialize(ConstructorWomb.java:86)
>>>>>>
>>>>>> com.sun.hk2.component.AbstractWombImpl.get(AbstractWombImpl.java:77)
>>>>>> com.sun.hk2.component.SingletonInhabitant.get(SingletonInhabitant.java:58)
>>>>>>
>>>>>> com.sun.hk2.component.LazyInhabitant.get(LazyInhabitant.java:107)
>>>>>> com.sun.hk2.component.AbstractInhabitantImpl.get(AbstractInhabitantImpl.java:60)
>>>>>>
>>>>>> com.sun.enterprise.security.SecuritySniffer.setup(SecuritySniffer.java:105)
>>>>>>
>>>>>> com.sun.enterprise.v3.server.ContainerStarter.startContainer(ContainerStarter.java:101)
>>>>>>
>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainer(ApplicationLifecycle.java:676)
>>>>>>
>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.setupContainerInfos(ApplicationLifecycle.java:424)
>>>>>>
>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:234)
>>>>>>
>>>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:191)
>>>>>>
>>>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:151)
>>>>>>
>>>>>> org.glassfish.tests.ejb.EmbeddedTest.test(EmbeddedTest.java:33)
>>>>>>
>>>>>>
>>>>>> [2]
>>>>>> SEVERE: Exception while invoking class
>>>>>> org.glassfish.ejb.startup.EjbApplication start method
>>>>>> java.lang.NullPointerException
>>>>>> at
>>>>>> com.sun.ejb.containers.AbstractSingletonContainer.createSingletonEJB(AbstractSingletonContainer.java:522)
>>>>>>
>>>>>>
>>>>>> at
>>>>>> com.sun.ejb.containers.AbstractSingletonContainer.access$100(AbstractSingletonContainer.java:71)
>>>>>>
>>>>>> at
>>>>>> com.sun.ejb.containers.AbstractSingletonContainer$SingletonContextFactory.create(AbstractSingletonContainer.java:692)
>>>>>>
>>>>>> at
>>>>>> com.sun.ejb.containers.AbstractSingletonContainer.instantiateSingletonInstance(AbstractSingletonContainer.java:435)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.ejb.startup.SingletonLifeCycleManager.initializeSingleton(SingletonLifeCycleManager.java:93)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.ejb.startup.SingletonLifeCycleManager.doStartup(SingletonLifeCycleManager.java:62)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.ejb.startup.EjbApplication.start(EjbApplication.java:138)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>>>>>> at
>>>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:223)
>>>>>> at
>>>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:214)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:311)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:191)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:151)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.tests.ejb.EmbeddedTest.test(EmbeddedTest.java:33)
>>>>>> 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
>>>>>> junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
>>>>>> at
>>>>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:515)
>>>>>>
>>>>>> at
>>>>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1031)
>>>>>>
>>>>>> at
>>>>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:888)
>>>>>>
>>>>>> Sep 16, 2009 9:28:29 AM org.glassfish.api.ActionReport failure
>>>>>> SEVERE: Exception while loading the app
>>>>>> java.lang.NullPointerException
>>>>>> at
>>>>>> com.sun.ejb.containers.AbstractSingletonContainer.createSingletonEJB(AbstractSingletonContainer.java:522)
>>>>>>
>>>>>> at
>>>>>> com.sun.ejb.containers.AbstractSingletonContainer.access$100(AbstractSingletonContainer.java:71)
>>>>>>
>>>>>> at
>>>>>> com.sun.ejb.containers.AbstractSingletonContainer$SingletonContextFactory.create(AbstractSingletonContainer.java:692)
>>>>>>
>>>>>> at
>>>>>> com.sun.ejb.containers.AbstractSingletonContainer.instantiateSingletonInstance(AbstractSingletonContainer.java:435)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.ejb.startup.SingletonLifeCycleManager.initializeSingleton(SingletonLifeCycleManager.java:93)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.ejb.startup.SingletonLifeCycleManager.doStartup(SingletonLifeCycleManager.java:62)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.ejb.startup.EjbApplication.start(EjbApplication.java:138)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.internal.data.EngineRef.start(EngineRef.java:126)
>>>>>> at
>>>>>> org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:223)
>>>>>> at
>>>>>> org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:214)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:311)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:191)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.kernel.embedded.EmbeddedDeployerImpl.deploy(EmbeddedDeployerImpl.java:151)
>>>>>>
>>>>>> at
>>>>>> org.glassfish.tests.ejb.EmbeddedTest.test(EmbeddedTest.java:33)
>>>>>> 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
>>>>>> junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
>>>>>> at
>>>>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:515)
>>>>>>
>>>>>> at
>>>>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1031)
>>>>>>
>>>>>> at
>>>>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:888)
>>>>>>
>>>>>> javax.naming.NamingException: Lookup failed for
>>>>>> 'java:global/sample/SimpleEjb' in SerialContext [Root exception
>>>>>> is javax.naming.NameNotFoundException: SimpleEjb not found]
>>>>>> at
>>>>>> com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:434)
>>>>>>
>>>>>> at
>>>>>> javax.naming.InitialContext.lookup(InitialContext.java:392)
>>>>>> at
>>>>>> javax.naming.InitialContext.lookup(InitialContext.java:392)
>>>>>> at
>>>>>> org.glassfish.tests.ejb.EmbeddedTest.test(EmbeddedTest.java:38)
>>>>>> 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
>>>>>> junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
>>>>>> at
>>>>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:515)
>>>>>>
>>>>>> at
>>>>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:1031)
>>>>>>
>>>>>> at
>>>>>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:888)
>>>>>>
>>>>>> Caused by: javax.naming.NameNotFoundException: SimpleEjb not found
>>>>>> at
>>>>>> com.sun.enterprise.naming.impl.TransientContext.doLookup(TransientContext.java:197)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:168)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:172)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.naming.impl.TransientContext.lookup(TransientContext.java:172)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.naming.impl.SerialContextProviderImpl.lookup(SerialContextProviderImpl.java:58)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.naming.impl.LocalSerialContextProviderImpl.lookup(LocalSerialContextProviderImpl.java:100)
>>>>>>
>>>>>> at
>>>>>> com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:422)
>>>>>>
>>>>>> ... 21 more
>>>>>>
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>>> I also see the problem on windows.
>>>>>>>
>>>>>>> Paul Sterk wrote:
>>>>>>>
>>>>>>>>
>>>>>>>> Byron,
>>>>>>>>
>>>>>>>> I am also getting failures when running 'mvn test' in
>>>>>>>> v3/ejb/ejb-container via cygwin. See my earlier email with
>>>>>>>> Subject 'ejb-container:
>>>>>>>> org.jvnet.hk2.component.UnsatisfiedDependencyException'.
>>>>>>>>
>>>>>>>> Paul
>>>>>>>>
>>>>>>>>> I get test failures when trying to build on windows in unit
>>>>>>>>> tests for EJB.
>>>>>>>>>
>>>>>>>>> I smell a platform issue. Is this a known problem?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Deleting
>>>>>>>>> recursivelyC:\gf\v3\ejb\ejb-container\gfembed5014587749918152326tmp
>>>>>>>>>
>>>>>>>>> ..........FINISHED EmbeddedTest
>>>>>>>>> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time
>>>>>>>>> elapsed: 3.969 sec
>>>>>>>>> Running org.glassfish.tests.ejb.UnitTest
>>>>>>>>> Files in dir/META-INF: [ejb-jar.xml, persistence.xml]
>>>>>>>>> ===GF location: c:\glassfishv3\glassfish
>>>>>>>>> Sep 15, 2009 1:40:26 PM
>>>>>>>>> org.glassfish.ejb.embedded.EJBContainerProviderImpl getLocations
>>>>>>>>> *SEVERE: ejb.embedded.cannot_determine_installation_location
>>>>>>>>> *Sep 15, 2009 1:40:26 PM
>>>>>>>>> org.glassfish.ejb.embedded.EJBContainerProviderImpl getLocations
>>>>>>>>> INFO: +++ installed_root_location : null
>>>>>>>>> Sep 15, 2009 1:40:29 PM
>>>>>>>>> com.sun.enterprise.v3.server.SystemTasks writePidFile
>>>>>>>>> WARNING: The domain's config directory does not exist:
>>>>>>>>> C:\gf\v3\ejb\ejb-container\gfembed5435836601672681256tmp\config
>>>>>>>>> Sep 15, 2009 1:40:29 PM com.sun.enterprise.v3.admin.IdmService
>>>>>>>>> verify
>>>>>>>>> WARNING:
>>>>>>>>> C:\gf\v3\ejb\ejb-container\gfembed5435836601672681256tmp\config\keystore.jks
>>>>>>>>> (The system cannot find the path specified)
>>>>>>>>> Sep 15, 2009 1:40:29 PM com.sun.enterprise.v3.admin.IdmService
>>>>>>>>> postConstruct
>>>>>>>>> WARNING: THIS SHOULD BE FIXED, IN EMBEDDED CASE, THERE IS NO
>>>>>>>>> MASTER PASSWORD SET OR KEYSTORE DOES NOT EXIST ...
>>>>>>>>> Sep 15, 2009 1:40:30 PM
>>>>>>>>> com.sun.enterprise.v3.server.AppServerStartup run
>>>>>>>>> INFO: GlassFish v3 startup time : Embedded(2765ms) startup
>>>>>>>>> services(422ms) total(3187ms)
>>>>>>>>> Sep 15, 2009 1:40:30 PM AppServerStartup run
>>>>>>>>> INFO: [Thread[GlassFish Kernel Main Thread,5,main]] started
>>>>>>>>> Sep 15, 2009 1:40:30 PM
>>>>>>>>> org.glassfish.ejb.embedded.EJBContainerProviderImpl
>>>>>>>>> isRequestedEJBModule
>>>>>>>>> INFO: ... Testing ... test-classes
>>>>>>>>> Sep 15, 2009 1:40:30 PM
>>>>>>>>> org.glassfish.ejb.embedded.EJBContainerProviderImpl
>>>>>>>>> isRequestedEJBModule
>>>>>>>>> INFO: ... is EJB module: true
>>>>>>>>> Sep 15, 2009 1:40:30 PM
>>>>>>>>> org.glassfish.ejb.embedded.EJBContainerProviderImpl
>>>>>>>>> isRequestedEJBModule
>>>>>>>>> INFO: ... is Requested EJB module [sample]: true
>>>>>>>>> Sep 15, 2009 1:40:30 PM
>>>>>>>>> org.glassfish.ejb.embedded.EJBContainerProviderImpl addEJBModule
>>>>>>>>> INFO: ... Added EJB Module .... test-classes
>>>>>>>>> Sep 15, 2009 1:40:30 PM
>>>>>>>>> org.glassfish.ejb.embedded.EJBContainerImpl deploy
>>>>>>>>> INFO: ==> Deploying app:
>>>>>>>>> C:\gf\v3\ejb\ejb-container\target\test-classes
>>>>>>>>> Sep 15, 2009 1:40:30 PM
>>>>>>>>> com.sun.enterprise.transaction.JavaEETransactionManagerSimplified
>>>>>>>>> initDelegates
>>>>>>>>> INFO: Using
>>>>>>>>> com.sun.enterprise.transaction.JavaEETransactionManagerSimplifiedDelegate
>>>>>>>>> as the delegate
>>>>>>>>> >>Started EJB Container Service....: server
>>>>>>>>> >>EjbContainerUtil:
>>>>>>>>> com.sun.ejb.containers.EjbContainerUtilImpl_at_17b4703
>>>>>>>>> Sep 15, 2009 1:40:30 PM
>>>>>>>>> com.sun.enterprise.security.SecurityLifecycle <init>
>>>>>>>>> INFO: security.secmgroff
>>>>>>>>> Sep 15, 2009 1:40:30 PM org.glassfish.api.ActionReport failure
>>>>>>>>> SEVERE: Exception while deploying the app
>>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ---------------------------------------------------------------------
>>>>>>>
>>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>>
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>>
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>