amt_muk 4 Light Poster

Hello,
I was trying to make a client-server application using java orb.
Server was fetching data from database and passing them to client.
The client was getting an exception for large numbers of rows (say, 50K).

Jan 15, 2013 11:48:51 AM com.sun.corba.se.impl.transport.SocketOrChannelConnecti
onImpl readFully
WARNING: "IOP00410215: (COMM_FAILURE) Read of full message failed : bytes reques
ted = 800,024 bytes read = 747,343 max wait time = 3,000 total time spent waitin
g = 3,190"
org.omg.CORBA.COMM_FAILURE: vmcid: SUN minor code: 215 completed: No
at com.sun.corba.se.impl.logging.ORBUtilSystemException.transportReadTim

After some googling I found that this problem can be overcome by setting a property,

System.setProperty("com.sun.CORBA.transport.ORBTCPReadTimeouts", "100:60000:0:20")

Now my questions are,
1. Whether it is possible to disable that timeout property?
2. My client does not know how much data will be returned by server. Hence how can I optimize these property values?

Thanx & Regards,
Amit M.