• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Blank page in browser - "Response already committed" in logs

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,
While testing my Struts web app, I occasionally receive blank pages in the browser window and "Response already committed" messages into the log file. The format of the message in the log file is just like this: "Apr 29, 2004 1:45:53 PM org.apache.jk.server.JkCoyoteHandler action - INFO: Response already commited" without any stack trace. This happens very randomly and there are no particular situations where and when it occurs.
I'm not writing anything to the response in my Action classes until just calling at the end of the Actions' execute methods. In the error case, when a submit button is clicked on jsp page, the execute method of an Action class is processed normally - but instead of a target jsp page where the control was forwarded, a blank page will be shown in the browser. I wonder what causes this quite strange problem.
I'm using Struts 1.1 and Tomcat 5.0.19. Could one of these cause the problem?

Pekka
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Usually when I receive the blank page it is because the forward is not correct. It is case sensitive, that could be a cause.
Your particular error, though, sounds like a Tomcat problem (Memory or connector issue perhaps ). That forum might be better suited.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The "Response already commited" JK log usually happens when the client's browser requests a document that does not exist on your server (ie. invalid <img src="wrongurl"> tags in your HTML pages, non-existent javascript files, invalid css links, etc).

Mine usually appeared in my calls to MM_preloadImages()...
Cheers,
Jiemme
reply
    Bookmark Topic Watch Topic
  • New Topic