View Full Version : backend timeout
mallesh
05-10-2004, 05:42 AM
Hi Antun,
Some times i am getting an error like,
" backend timeout for http://localhost:8080/lps-2.1.1/lz-utils/myfolder/mail.jsp?username=mallesh&password=mallesh: too many retries, exception: java.net.SocketTimeoutException: Read timed out "
this,if i call a jsp page .It appears some times not all the times.Is it a problem in laszlo or jsp or else in the datbase?is there any solution for this?
Thanks in advance.
Mallesh.
thecow
05-10-2004, 06:13 AM
I would guess it is just the jsp taking to long or not answering everytime it is called. I was having the same problem with a coldfusion service I had made.
If you look in your lps directory in the web root, goto WEB-INF/lps/config/lps.properties and open that file with a text editor. There is a section in that file for the backend & http backend settings. You can customize it some there and reboot the server.
Hope that fixes your problem.
mallesh
05-10-2004, 11:47 PM
Hi ,
I am able to found the lps.properties file in the componets dir.But i don't no which line to comment (or uncomment)to remove the backend timeout exception.
## Backend http properties
#
# The number of redirects to try (security issue; default is 0)
#http.followRedirects=3
# Timeout for back-end http requests
http.backendTimeout=5000
# Timeout for http connection pool
#http.backendConnectionTimeout=5000
# Size of http connection pool
#http.maxUsers=1000
# Number of retries to make for back-end http
#http.maxBackendRetries=3
http.maxBackendRetries=0
# Delay between http retries retries
#http.retrySleepMillis=200
and also i am getting "- Recoverable exception caught when processing request
- Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception" in the LPS console window
is there any solution for this?
Thanks
Mallesh.
mallesh
05-10-2004, 11:54 PM
Hi ,
I am able to found the lps.properties file in the componets dir.But i don't no which line to comment (or uncomment)to remove the backend timeout exception.
## Backend http properties
#
# The number of redirects to try (security issue; default is 0)
#http.followRedirects=3
# Timeout for back-end http requests
http.backendTimeout=5000
# Timeout for http connection pool
#http.backendConnectionTimeout=5000
# Size of http connection pool
#http.maxUsers=1000
# Number of retries to make for back-end http
#http.maxBackendRetries=3
http.maxBackendRetries=0
# Delay between http retries retries
#http.retrySleepMillis=200
and also i am getting "- Recoverable exception caught when processing request
- Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception" in the LPS console window
is there any solution for this?
Thanks
Mallesh.
mallesh
05-14-2004, 04:59 AM
Hi Antun,
I am able to found the lps.properties file in the components dir.But i don't no which line to comment (or uncomment)to remove the backend timeout exception.
## Backend http properties
#
# The number of redirects to try (security issue; default is 0)
#http.followRedirects=3
# Timeout for back-end http requests
http.backendTimeout=5000
# Timeout for http connection pool
#http.backendConnectionTimeout=5000
# Size of http connection pool
#http.maxUsers=1000
# Number of retries to make for back-end http
#http.maxBackendRetries=3
http.maxBackendRetries=0
# Delay between http retries retries
#http.retrySleepMillis=200
and also i am getting "- Recoverable exception caught when processing request
- Recoverable exception caught but MethodRetryHandler.retryMethod() returned false, rethrowing exception" in the LPS console window
is there any solution for this?
Waiting for kind reply.
Thanks
Mallesh.
thecow
05-14-2004, 06:24 AM
I would try changing http.backendTimeout to 10000-15000 and changing http.maxBackendRetries from 0 to 3 or so. As far as the error, I have no idea. Maybe it will go away once you have fixed the backend problem. Good Luck.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.