aspose file tools*
The moose likes Servlets and the fly likes Unable display large volume data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Unable display large volume data" Watch "Unable display large volume data" New topic
Author

Unable display large volume data

Arun Boraiah
Ranch Hand

Joined: Nov 28, 2001
Posts: 233
Hi,
Need some input in resolving the problem mention below. Thanks in advance for help
In my application, user requests for JSP/Servlet pages are routed via from apache 2.0 web server to tomcat servlet engine for processing. But the
responses are getting timed out while the content of the jsp is more, whereas the same response works well when it is requested directlythrough Tomcat engine .
Do i need to increase buffer size in server? if yes where should i change the same?

The following is the stack trace

[DEBUG] action.ReportAction@1522de2 (Logger.java:69)
fwd path: /jsp/reports/ReportRecognition.jsp
Sep 24, 2003 12:03:57 PM org.apache.jk.server.JkCoyoteHandler action
SEVERE: Error in action code
java.net.SocketException: Connection reset by peer: socket write error
at java.net.SocketOutputStream.socketWrite0(Native Method)
at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
at org.apache.jk.common.ChannelSocket.send(ChannelSocket.java:380)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:558)
at org.apache.jk.server.JkCoyoteHandler.action(JkCoyoteHandler.java:354)


Sharing is learning
Steve Leach
Ranch Hand

Joined: Sep 24, 2003
Posts: 46
How long does it take before it times out ?
For long duration tasks I would start a background task and return a "please wait" page to the user immediately. This page would refresh every so often, and your app would check the status of the background task on each refresh, sending the results when the task is complete.
Arun Boraiah
Ranch Hand

Joined: Nov 28, 2001
Posts: 233
Hi,
Thanks for the reply. The problem is not due to time factor since total response time takes between 3 to 5 sec. If I directly request through tomcat it take 3 to 5 sec to display the correct page. Hence I guess it may be due to some buffer memory that may require for redirecting the page through apache web server.
Any other input/suggestion?
Thanks
Arun
Arun Boraiah
Ranch Hand

Joined: Nov 28, 2001
Posts: 233
Any one can help me on above said problem statement?
 
 
subject: Unable display large volume data