cancel
Showing results for 
Search instead for 
Did you mean: 

java.net.SocketTimeoutException: Read - Connect to Salesforce

0 Kudos

Hi,

I have crystal reports 2011 and am getting this "java.net.SocketTimeoutException: Read timed out" error  when i refresh my report and click to view the second page. I think the data is populated, but for some reason clicking on the second paged creates this data connection error. I verified the database and the first page is refreshed. Also happens when i refresh a report in crystalreports.com

Any idea what could be causing this issue?

Accepted Solutions (1)

Accepted Solutions (1)

vitaly_izmaylov
Employee
Employee
0 Kudos

What is usually missing in Salesforce.com connectivity is JVM memory recomended configuration:

By default JVMMaxHeap set to 64 000 000 , but recomended settings in CRConfig.xml are:

<JVMMaxHeap>512000000</JVMMaxHeap>
<JVMMinHeap>64000000</JVMMinHeap>

see SAP Note 1294557

Try it first.

Do you have subreport in your report?

0 Kudos

Yes, I do have subreports. I made this change a while ago when i had an issue with all Accounts not showing up. So those setting have been done.  Then, recently did a Java update to 7.7, i think, and that is when this problem started. I don't think this would be the solution. Don't think the update changed my CRConfig.xml file. Any other suggestions?

vitaly_izmaylov
Employee
Employee
0 Kudos

To locate the problem I would start removing subreports till the problems go away.

Then test subreports one by one separately.

Answers (0)