Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 53674 invoked from network); 1 Mar 2010 22:52:31 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Mar 2010 22:52:31 -0000 Received: (qmail 21323 invoked by uid 500); 1 Mar 2010 22:52:29 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 21158 invoked by uid 500); 1 Mar 2010 22:52:29 -0000 Mailing-List: contact java-dev-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@axis.apache.org Delivered-To: mailing list java-dev@axis.apache.org Received: (qmail 21150 invoked by uid 99); 1 Mar 2010 22:52:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 22:52:28 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Mar 2010 22:52:27 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B8252234C495 for ; Mon, 1 Mar 2010 22:52:05 +0000 (UTC) Message-ID: <1238520702.43951267483925739.JavaMail.jira@brutus.apache.org> Date: Mon, 1 Mar 2010 22:52:05 +0000 (UTC) From: "Bruce G Stewart (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Updated: (AXIS2-4642) ?wsdl query calls out.close() twice, confusing at least some Tomcat connectors In-Reply-To: <1402012430.37691267467425818.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-4642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bruce G Stewart updated AXIS2-4642: ----------------------------------- Description: AxisService.getWSDL() sends the response body for a ..service?wsdl query, then calls .flush() and .close() for its output stream. Upon return, ListingAgent.processListService() calls .flush() and .close() again for the same stream. The second close() interferes with the next request on the intermediate ajp connector socket. I don't know whether calling close() twice should be harmless but, in this case, it is not. [edit: Actually, the 2nd close() is harmelss. It's the flush() coming after the 1st close() that seems to be the problem.] was: AxisService.getWSDL() sends the response body for a ..service?wsdl query, then calls .flush() and .close() for its output stream. Upon return, ListingAgent.processListService() calls .flush() and .close() again for the same stream. The second close() interferes with the next request on the intermediate ajp connector socket. I don't know whether calling close() twice should be harmless but, in this case, it is not. > ?wsdl query calls out.close() twice, confusing at least some Tomcat connectors > ------------------------------------------------------------------------------ > > Key: AXIS2-4642 > URL: https://issues.apache.org/jira/browse/AXIS2-4642 > Project: Axis2 > Issue Type: Bug > Components: kernel > Affects Versions: 1.5.1 > Environment: Axis2.war deployed in Tomcat 6.0.24, using ajp to jk isapi_redirect to IIS on Windows Server 2008. > Reporter: Bruce G Stewart > Priority: Minor > > AxisService.getWSDL() sends the response body for a ..service?wsdl query, then calls .flush() and .close() for its output stream. Upon return, ListingAgent.processListService() calls .flush() and .close() again for the same stream. > The second close() interferes with the next request on the intermediate ajp connector socket. > I don't know whether calling close() twice should be harmless but, in this case, it is not. > [edit: Actually, the 2nd close() is harmelss. It's the flush() coming after the 1st close() that seems to be the problem.] -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org For additional commands, e-mail: java-dev-help@axis.apache.org