Topic
  • No replies
SystemAdmin
SystemAdmin
11979 Posts

Pinned topic java.rmi.MarshalException: Unable to read value from underlying bridge

‏2008-03-19T15:57:14Z |
Hi,

I am trying to retrieve a large amount of data from a Database using CMP EJB. For a query returning less than 32769 records, the EJB is working fine but when the record count exceeds 32769 number of records the EJB is giving below error.

3/19/08 10:13:29:699 EST 4d1811f4 SystemErr R java.rmi.MarshalException: CORBA MARSHAL 0x4942f896 No; nested exception is:
org.omg.CORBA.MARSHAL: Unable to read value from underlying bridge : -32768 vmcid: IBM minor code: 896 completed: No
3/19/08 10:13:29:699 EST 4d1811f4 SystemErr R at com.ibm.CORBA.iiop.UtilDelegateImpl.mapSystemException(UtilDelegateImpl.java:198)
3/19/08 10:13:29:699 EST 4d1811f4 SystemErr R at javax.rmi.CORBA.Util.mapSystemException(Util.java:83)
3/19/08 10:13:29:699 EST 4d1811f4 SystemErr R at com.ibm.rmi.util.ProxyUtil.copyObject(ProxyUtil.java:463)
3/19/08 10:13:29:699 EST 4d1811f4 SystemErr R at com.ibm.CORBA.iiop.UtilDelegateImpl.copyObject(UtilDelegateImpl.java:789)
3/19/08 10:13:29:699 EST 4d1811f4 SystemErr R at javax.rmi.CORBA.Util.copyObject(Util.java:332)

I tried to check on web whether there is any max number of records which can be returned through EJB but didnt got anything.
Plz help.
Thanks.