Return-Path: Delivered-To: apmail-axis-java-dev-archive@www.apache.org Received: (qmail 34728 invoked from network); 23 Apr 2010 11:13:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 23 Apr 2010 11:13:15 -0000 Received: (qmail 92240 invoked by uid 500); 23 Apr 2010 11:13:14 -0000 Delivered-To: apmail-axis-java-dev-archive@axis.apache.org Received: (qmail 91903 invoked by uid 500); 23 Apr 2010 11:13:14 -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 91895 invoked by uid 99); 23 Apr 2010 11:13:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 11:13:14 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Apr 2010 11:13:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3NBCobW009155 for ; Fri, 23 Apr 2010 11:12:50 GMT Message-ID: <32889806.159231272021170302.JavaMail.jira@thor> Date: Fri, 23 Apr 2010 07:12:50 -0400 (EDT) From: "Anjana Fernando (JIRA)" To: java-dev@axis.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12860217#action_12860217 ] Anjana Fernando commented on AXIS2-4642: ---------------------------------------- U're welcome :) .. Thanks, Anjana. > ?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 > Attachments: Axis2Patch-4642-with-javadoc.txt, Axis2Patch-4642.txt > > > 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