Skip to main content

CORBA Exception with remote EJB calls

4 replies [Last post]
cain05
Offline
Joined: 2009-08-25
Points: 0

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

<br />
java.lang.Exception: Failed to render report 'queue8000byMonthBy15'<br />
	at com.foo.callscenario.report.ReportRegressionTests.renderReport(ReportRegressionTests.java:136)<br />
	at com.foo.callscenario.report.ReportRegressionTests.generateReport(ReportRegressionTests.java:113)<br />
	at com.foo.callscenario.report.ReportRegressionTests.processPbxFile(ReportRegressionTests.java:86)<br />
	at com.foo.callscenario.TestHarness.processPlatformScenario(TestHarness.java:638)<br />
	at com.foo.callscenario.TestHarness.processScenario(TestHarness.java:620)<br />
	at com.foo.callscenario.TestHarness.processSuite(TestHarness.java:532)<br />
	at com.foo.callscenario.TestHarness.processScenarios(TestHarness.java:441)<br />
	at com.foo.callscenario.TestHarness.run(TestHarness.java:1123)<br />
	at com.foo.callscenario.report.ReportRegressionTests.runDefinityRegressionTests(ReportRegressionTests.java:344)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />
	at java.lang.reflect.Method.invoke(Method.java:597)<br />
	at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)<br />
	at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)<br />
	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)<br />
	at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)<br />
	at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)<br />
	at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)<br />
	at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)<br />
	at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)<br />
	at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)<br />
	at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)<br />
	at junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)<br />
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:420)<br />
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:911)<br />
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:768)<br />
Caused by: javax.ejb.EJBException: java.rmi.MarshalException: CORBA COMM_FAILURE 1330446373 No; nested exception is:<br />
	org.omg.CORBA.COMM_FAILURE: WARNING: IOP00410037IOP00410037: Timeout while reading data in buffer manager  vmcid: OMG  minor code: 37  completed: No<br />
	at com.foo.ejb.session._IReportFactoryRemote_Wrapper.renderReport(com/foo/ejb/session/_IReportFactoryRemote_Wrapper.java)<br />
	at com.foo.callscenario.report.ReportRegressionTests.renderReport(ReportRegressionTests.java:132)<br />
	... 26 more<br />
Caused by: java.rmi.MarshalException: CORBA COMM_FAILURE 1330446373 No; nested exception is:<br />
	org.omg.CORBA.COMM_FAILURE: WARNING: IOP00410037: Timeout while reading data in buffer manager  vmcid: OMG  minor code: 37  completed: No<br />
	at com.sun.corba.ee.impl.javax.rmi.CORBA.Util.mapSystemException(Util.java:259)<br />
	at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:213)<br />
	at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.invoke(StubInvocationHandlerImpl.java:152)<br />
	at com.sun.corba.ee.impl.presentation.rmi.codegen.CodegenStubBase.invoke(CodegenStubBase.java:227)<br />
	at com.foo.ejb.session.__IReportFactoryRemote_Remote_DynamicStub.renderReport(com/foo/ejb/session/__IReportFactoryRemote_Remote_DynamicStub.java)<br />
	... 28 more<br />
Caused by: org.omg.CORBA.COMM_FAILURE: WARNING: IOP00410037: Timeout while reading data in buffer manager  vmcid: OMG  minor code: 37  completed: No<br />
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)<br />
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)<br />
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)<br />
	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)<br />
	at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:248)<br />
	at com.sun.corba.ee.spi.orbutil.logex.corba.CorbaExtension.makeException(CorbaExtension.java:95)<br />
	at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.handleFullLogging(WrapperGenerator.java:387)<br />
	at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator.access$400(WrapperGenerator.java:107)<br />
	at com.sun.corba.ee.spi.orbutil.logex.WrapperGenerator$2.invoke(WrapperGenerator.java:511)<br />
	at com.sun.corba.ee.spi.orbutil.proxy.CompositeInvocationHandlerImpl.invoke(CompositeInvocationHandlerImpl.java:99)<br />
	at $Proxy29.bufferReadManagerTimeout(Unknown Source)<br />
	at com.sun.corba.ee.impl.encoding.BufferManagerReadStream.underflow(BufferManagerReadStream.java:142)<br />
	at com.sun.corba.ee.impl.encoding.CDRInputStream_1_1.grow(CDRInputStream_1_1.java:113)<br />
	at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_octet_array(CDRInputStream_1_0.java:719)<br />
	at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.getConvertedChars(CDRInputStream_1_0.java:2340)<br />
	at com.sun.corba.ee.impl.encoding.CDRInputStream_1_2.read_wstring(CDRInputStream_1_2.java:171)<br />
	at com.sun.corba.ee.impl.encoding.CDRInputStream_1_0.read_value(CDRInputStream_1_0.java:1082)<br />
	at com.sun.corba.ee.impl.encoding.CDRInputObject.read_value(CDRInputObject.java:531)<br />
	at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl$14.read(DynamicMethodMarshallerImpl.java:384)<br />
	at com.sun.corba.ee.impl.presentation.rmi.DynamicMethodMarshallerImpl.readResult(DynamicMethodMarshallerImpl.java:483)<br />
	at com.sun.corba.ee.impl.presentation.rmi.StubInvocationHandlerImpl.privateInvoke(StubInvocationHandlerImpl.java:203)</p>
<p>

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
oszhatife
Offline
Joined: 2011-03-11
Points: 0

Did you find solution to your problem ?
Or does anybody know solution to this problem ?

I also get the same exception with GlassFish 3.1.

Adding

-Dcom.sun.corba.ee.transport.ORBTCPTimeouts=2000:600000:20:2000 -Dcom.sun.corba.ee.ORBFragmentReadTimeout=600000

vm arguments did not solved the problem.

Thank you.

Anonymous

Did you find the solution to this problem because I am having the same
problem as well.

--

[Message sent by forum member 'dodo_manni']

View Post: http://forums.java.net/node/820002

dodo_manni
Offline
Joined: 2012-08-09
Points: 0

Did you find the solution to this problem because I am having the same problem as well.

cplaetzinger
Offline
Joined: 2008-06-12
Points: 0

Did you add the vm arguments to the Glassfish settings or the external process?

Regards
Christian