PDA

View Full Version : backend timed out for http


thriputapriya
07-15-2004, 07:30 AM
Hi Antun,

In my application the i am getting this message in debugger.
"backend timed out for http://localhost:8080/lps-2.1.1/lz-utils/example.jsp?attribute1=50&attribute2=&attribute3=&attribute4=&attribute5=&attribute6=%2D160&attribute7=%2D142&attribute8=503%2E95&attribute9=384%2E95&attribute10=Popup3%2Ejpg: too many retries, exception: java.net.SocketTimeoutException: Read timed out"

Why i am getting this error when i want to retrieve any data from database, and also at that time i am not getting any information from database.How can i avoid ths type of backend time out.Could you tell me is there need to set up in server.

With regards,
thriputapriya

antun
07-15-2004, 05:02 PM
You can increase the backend timeout setting on the LPS by editing WEB-INF/lps/config/lps.properties and uncommenting and changing the value for this property:

http.backendTimeout=10000

... to something higher, like 30000 (30s).

The back-end timeout is the amount of time the LPS will wait when making a request (e.g. for an image).

Can you definitely view the image at its remote location from a browser?

-Antun

tglines
03-27-2008, 12:22 PM
I have the same backend timeout. I have increased the lps.config to 600000 and still get the timeout error. I am using OL4.0.10. I really need to eliminate this error as I would like to use OL as the input to a rather long running process that returns the results in a dataset.

Any ideas?

tglines
03-27-2008, 12:29 PM
Solved my own problem. I forgot to restart the OL server. Seems to be working now.