How do you resolve Socket Closed?

0

One of the reports that I have prepared is quite extensive, and takes a little bit more time than my other reports to run if you only use one parameter.  When still in the iReport, using one parameter, it does run after some time.  Once I publish it though, after attempting to run for about 3 minutes or so, I get

Socket Closed

I'm assuming that it is taking too long and it is timing out. I've cleaned up the code to make sure only the necessities are there, and I cannot change the report.

Below is the error:

Any ideas?

TheMatthew's picture
Joined: May 16 2016 - 1:26pm
Last seen: 1 year 10 months ago

1 Answer:

0

 

• Stop  the jasper server service
• increase the timeout in <JasperServer_Installed_Dir>\webapps\reportservice\WEB-INF\jasperserver-servlet.xml. Modify property as below.
<property name="lockTimeoutSeconds" value= “4500” "90"/>  ## //Increase seconds as per report running time, for example value change to 90

• Start/Restart  Jasper server service
 
monali.sonde's picture
Joined: Mar 13 2018 - 4:06am
Last seen: 1 year 2 days ago
Feedback
randomness