[ http://issues.apache.org/jira/browse/YOKO-129?page=comments#action_12426554 ] Matteo Vescovi commented on YOKO-129: -------------------------------------
I have seen similar errors (Exception in thread "main" java.lang.IllegalStateException: Shutdown in progress) when running tests on a fresh checkout on Debian Sarge, SUN JDK build 1.5.0_07-b03. In my case the problem happens sporadically (race condition?). Geir, can you consistently reproduce the problem? Is the exception always thrown when running the same test? > When running tests via 'mvn' invocation on r428845, tests end in crash and > hang > ------------------------------------------------------------------------------- > > Key: YOKO-129 > URL: http://issues.apache.org/jira/browse/YOKO-129 > Project: Yoko - CORBA Server > Issue Type: Bug > Environment: Ubuntu 6, intel x86 (Thinkpad T42), Sun JDK build > 1.5.0_07-b03, mixed mode, sharing, Maven 2.0.4 > Reporter: Geir Magnusson Jr > > Fresh checkout. Ran 'mvn', resulted in : > [client:out] Testing collocated servant activator... Done! > [client:out] Testing POA::create_POA()... Done! > [client:err] Exception in thread "main" java.lang.IllegalStateException: > Shutdown in progress > java.rmi.UnmarshalException: Error unmarshaling return header; nested > exception is: > java.io.EOFException > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:203) > at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126) > at > org.apache.yoko.processmanager.internal.ProcessAgentImpl_Stub.invokeStatic(Unknown > Source) > at > org.apache.yoko.processmanager.JavaProcess.invokeStatic(JavaProcess.java:143) > at > org.apache.yoko.processmanager.JavaProcess.invokeMain(JavaProcess.java:105) > at > org.apache.yoko.processmanager.JavaProcess.invokeMain(JavaProcess.java:101) > at org.apache.yoko.PoaTest.testCreate(PoaTest.java:36) > 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:585) > at junit.framework.TestCase.runTest(TestCase.java:164) > at junit.framework.TestCase.runBare(TestCase.java:130) > at junit.framework.TestResult$1.protect(TestResult.java:106) > at junit.framework.TestResult.runProtected(TestResult.java:124) > at junit.framework.TestResult.run(TestResult.java:109) > at junit.framework.TestCase.run(TestCase.java:120) > at junit.framework.TestSuite.runTest(TestSuite.java:230) > at junit.framework.TestSuite.run(TestSuite.java:225) > 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:585) > at > org.apache.maven.surefire.battery.JUnitBattery.executeJUnit(JUnitBattery.java:242) > at > org.apache.maven.surefire.battery.JUnitBattery.execute(JUnitBattery.java:216) > at > org.apache.maven.surefire.Surefire.executeBattery(Surefire.java:215) > at org.apache.maven.surefire.Surefire.run(Surefire.java:163) > at org.apache.maven.surefire.Surefire.run(Surefire.java:87) > at org.apache.maven.surefire.Surefire.run(Surefire.java:63) > 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:585) > at > org.apache.maven.surefire.SurefireBooter.main(SurefireBooter.java:785) > Caused by: java.io.EOFException > at java.io.DataInputStream.readByte(DataInputStream.java:243) > at > sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:189) > ... 33 more -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira