You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Balagopal R <ba...@tcs.com> on 2011/06/30 13:06:50 UTC
Exception while writing the response back>>java.lang.IllegalStateException: Response
already committed
Dear All,
I am using Axis2 1.5..My exception stack is as below...This is while I
write the response back to the client.
I am getting this exception when concurrency is high(to many
request)...with few incoming requests I am able to write the response
correctly...Could anyone please suggest what could be the problem...?
Exception in thread "HttpConnection-7776-61"
java.lang.IllegalStateException: Response already committed at
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.assertNotCommitted(AxisHttpResponseImpl.java:75)
at
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.sendError(AxisHttpResponseImpl.java:110)
at
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:313)
at
org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187)
at
org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Thanks & Regards,
Balu Nair
Tata Consultancy Services
Mailto: balagopal.r@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
RE: Exception while writing the response back>>java.lang.IllegalStateException: Response
already committed
Posted by Balagopal R <ba...@tcs.com>.
Dear Brett,
I am using Axis2 1.5.5 build (28-05-2011)...It seems the release has bug
fixes for the following issues
AXIS2-3788: NPE in finally block in generate Stub methods
AXIS2-4200: ConverterUtil.compare fails for BigInteger values
AXIS2-4349: Child first class loading
AXIS2-4448: DefaultObjectSupplier fails to instantiate static nested
classes
AXIS2-4582: WARNING: Cannot set header. Response already committed. is
logged when ever a Axis2 based webservice is called
AXIS2-4620: Adding OnDemandLogger to allow the LogFactory lookup to occur
on first touch versus during static class initialization
AXIS2-4712: remove hardcoded setting of content-type to text/xml from
AxisServlet
AXIS2-4898: Thread named [MultiThreadedHttpConnectionManager cleanup] not
cleaned up properly
AXIS2-4924: CLONE -ConverterUtil.compare fails for BigInteger values
AXIS2-4933: Response in call method of SOAPConnectionImpl returned
attachment input instead of attachment output
AXIS2-5006: SoapElementImpl.copyContents skips child elements
Thanks & Regards,
Balu Nair
Tata Consultancy Services
Mailto: balagopal.r@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
From:
"Okken,Brett" <BO...@CERNER.COM>
To:
"java-user@axis.apache.org" <ja...@axis.apache.org>
Date:
06/30/2011 06:55 PM
Subject:
RE: Exception while writing the response
back>>java.lang.IllegalStateException: Response already committed
What bug fix version of axis2 are you using? There was a fix for an issue
similar to this in the AxisServlet in 1.5.5.
Brett Okken | MMF Archive | Software Architect | 816.201.6112 |
www.cerner.com | bokken@cerner.com
From: Balagopal R [mailto:balagopal.r@tcs.com]
Sent: Thursday, June 30, 2011 6:07 AM
To: java-user@axis.apache.org
Subject: Exception while writing the response
back>>java.lang.IllegalStateException: Response already committed
Dear All,
I am using Axis2 1.5..My exception stack is as below...This is while I
write the response back to the client.
I am getting this exception when concurrency is high(to many
request)...with few incoming requests I am able to write the response
correctly...Could anyone please suggest what could be the problem...?
Exception in thread "HttpConnection-7776-61"
java.lang.IllegalStateException: Response already committed at
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.assertNotCommitted(AxisHttpResponseImpl.java:75)
at
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.sendError(AxisHttpResponseImpl.java:110)
at
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:313)
at
org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187)
at
org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Thanks & Regards,
Balu Nair
Tata Consultancy Services
Mailto: balagopal.r@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
CONFIDENTIALITY NOTICE This message and any included attachments are from
Cerner Corporation and are intended only for the addressee. The
information contained in this message is confidential and may constitute
inside or non-public information under international, federal, or state
securities laws. Unauthorized forwarding, printing, copying, distribution,
or use of such information is strictly prohibited and may be unlawful. If
you are not the addressee, please promptly delete this message and notify
the sender of the delivery error by e-mail or you may call Cerner's
corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
RE: Exception while writing the response
back>>java.lang.IllegalStateException: Response already committed
Posted by "Okken,Brett" <BO...@CERNER.COM>.
What bug fix version of axis2 are you using? There was a fix for an issue similar to this in the AxisServlet in 1.5.5.
Brett Okken | MMF Archive | Software Architect | 816.201.6112 | www.cerner.com<http://www.cerner.com> | bokken@cerner.com<ma...@cerner.com>
From: Balagopal R [mailto:balagopal.r@tcs.com]
Sent: Thursday, June 30, 2011 6:07 AM
To: java-user@axis.apache.org
Subject: Exception while writing the response back>>java.lang.IllegalStateException: Response already committed
Dear All,
I am using Axis2 1.5..My exception stack is as below...This is while I write the response back to the client.
I am getting this exception when concurrency is high(to many request)...with few incoming requests I am able to write the response correctly...Could anyone please suggest what could be the problem...?
Exception in thread "HttpConnection-7776-61" java.lang.IllegalStateException: Response already committed at
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.assertNotCommitted(AxisHttpResponseImpl.java:75)
at
org.apache.axis2.transport.http.server.AxisHttpResponseImpl.sendError(AxisHttpResponseImpl.java:110)
at
org.apache.axis2.transport.http.server.AxisHttpService.doService(AxisHttpService.java:313)
at
org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:187)
at
org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
Thanks & Regards,
Balu Nair
Tata Consultancy Services
Mailto: balagopal.r@tcs.com
Website: http://www.tcs.com<http://www.tcs.com/>
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
----------------------------------------------------------------------
CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.