• 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

Response already committed

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I have deployed a struts app on a tomcat server, which has been deployed successfully on other (staging server).

However, on this new server, when I try to load the app, I get the following error:

org.apache.jk.server.JkCoyoteHandler action
INFO: response already committed

In general, I know what causes this error, the app has been sent the response and it thinks it is being sent again.

I just would like to know how to correct it, and what common causes are.
 
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know what is going on in your case. I can mention a case where I saw this message on my project. Another developer put security roles in web.xml on jsp files in certain directories. That sounded like a reasonable solution. The problem is that since we use tiles, certain tiles on the page (like the header tile) have already been rendered by the time the jsp is accessed. When the jsp was accessed the container tried to redirect to an error page but since part of the response has already been committed we got this error message instead.

- Brent
reply
    Bookmark Topic Watch Topic
  • New Topic