Please join us at the new JavaWorld Q&A Forums. Your existing login will work there. The discussions here are now read-only.


JavaWorld Talkback >> 959606

Pages: 1
Anonymous
Unregistered




Disable output buffering (Apache+mod_jk+Tomcat)
      #25163 - 12/21/05 04:18 AM

Our current project requires us to feed (in real-time) data to clients via HTTP tunneling. We use Apache HTTP sever as load balancer in front of Tomcat.

When we access the feed URL by connecting directly to Tomcat (on port 8080) it works as expected -- data is sent immediately to clients (we call ServletOutputStream's flush() method).
In contrast when accessing the app. via Apache(on port 80) the output is buffered (in chunks of 8,192 bytes), and this is not exactly what we need.

Does anyone have a solution for this?


Post Extras: Print Post   Remind Me!   Notify Moderator  
Anonymous
Unregistered




Re: Disable output buffering (Apache+mod_jk+Tomcat) [Re: Anonymous]
      #25167 - 12/21/05 05:30 AM

found it : JkOptions +FlushPackets

Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1



Extra information
0 registered and 1 anonymous users are browsing this forum.

Moderator:   

Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      UBBCode is enabled

Rating:
Topic views: 7221

Rate this topic

Jump to

Contact us JavaWorld

Powered by UBB.threads™ 6.5.5