Win a copy of Spring Boot in Practice this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Unable display large volume data

 
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 233
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 233
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any one can help me on above said problem statement?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic