users@glassfish.java.net

CORBA Exception with remote EJB calls

From: <forums_at_java.net>
Date: Fri, 8 Jul 2011 09:47:53 -0500 (CDT)

Now that I have the other problem fixed up we're able to run all of our tests
now.  Unfortunately we're getting another exception.  In total there are 77
calls to a remote EJB by a client application junit test.  More often than
not one of those calls will fail and it's not always the same one.  So one
call that worked could fail the next time the test is run.  Here's the
relevant part of the stack trace from the exception that is thrown.  I've
tried googling but the terms "CORBA COMM_FAILURE 1330446373" and
" IOP00410037" come up with no results at all.  Other searches provided no
relevant results.  We're using Glassfish 3.1 on Windows 7 using JDK 1.6.23.

 java.lang.Exception: Failed to render report

at
com.foo.callscenario.report.ReportRegressionTests.renderReport(ReportRegressionTests.java:136)

at
com.foo.callscenario.report.ReportRegressionTests.generateReport(ReportRegressionTests.java:113)

at
com.foo.callscenario.report.ReportRegressionTests.processPbxFile(ReportRegressionTests.java:86)

at
com.foo.callscenario.TestHarness.processPlatformScenario(TestHarness.java:638)

at com.foo.callscenario.TestHarness.processScenario(TestHarness.java:620)

at com.foo.callscenario.TestHarness.processSuite(TestHarness.java:532)

at com.foo.callscenario.TestHarness.processScenarios(TestHarness.java:441)

at com.foo.callscenario.TestHarness.run(TestHarness.java:1123)

at
com.foo.callscenario.report.ReportRegressionTests.runDefinityRegressionTests(ReportRegressionTests.java:344)

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:420)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)

at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)

Caused by: javax.ejb.EJBException: java.rmi.MarshalException: CORBA
COMM_FAILURE 1330446373 No; nested exception is: 

org.omg.CORBA.COMM_FAILURE: WARNING: IOP00410037IOP00410037: Timeout while
reading data in buffer manager  vmcid: OMG  minor code: 37  completed: No

at
com.foo.ejb.session._IReportFactoryRemote_Wrapper.renderReport(com/foo/ejb/session/_IReportFactoryRemote_Wrapper.java)

at
com.foo.callscenario.report.ReportRegressionTests.renderReport(ReportRegressionTests.java:132)

... 26 more

Caused by: java.rmi.MarshalException: CORBA COMM_FAILURE 1330446373 No;
nested exception is: 

org.omg.CORBA.COMM_FAILURE: WARNING: IOP00410037: Timeout while reading data
in buffer manager  vmcid: OMG  minor code: 37  completed: No

at
com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:259)

at
com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:213)

at
com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)

at
com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:227)

at
com.foo.ejb.session.__IReportFactoryRemote_Remote_DynamicStub.renderReport(com/foo/ejb/session/__IReportFactoryRemote_Remote_DynamicStub.java)

... 28 more

Caused by: org.omg.CORBA.COMM_FAILURE: WARNING: IOP00410037: Timeout while
reading data in buffer manager  vmcid: OMG  minor code: 37  completed: No

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
com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)

at
com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)

at
com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)

at
com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)

at
com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)

at
com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)

at $Proxy29.bufferReadManagerTimeout(Unknown Source)

at
com.sun.corba.ee.impl.encoding.BufferManagerReadStream.underflow(BufferManagerReadStream.java:142)

at
com.sun.corba.ee.impl.encoding.CDRInputStream_1_1.grow(CDRInputStream_1_1.java:113)

at
com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_octet_array(CDRInputStream_1_0.java:719)

at
com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.getConvertedChars(CDRInputStream_1_0.java:2340)

at
com.sun.corba.ee.impl.encoding.CDRInputStream_1_2.read_wstring(CDRInputStream_1_2.java:171)

at
com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1082)

at
com.sun.corba.ee.impl.encoding.CDRInputObject.read_value(CDRInputObject.java:531)

at
com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:384)

at
com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readResult(DynamicMethodMarshallerImpl.java:483)

at
com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:203)

 

 

 


--
[Message sent by forum member 'cain05']
View Post: http://forums.java.net/node/820002