Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 73992 invoked from network); 7 Nov 2007 16:24:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Nov 2007 16:24:27 -0000 Received: (qmail 19166 invoked by uid 500); 7 Nov 2007 16:24:13 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 18983 invoked by uid 500); 7 Nov 2007 16:24:12 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 18972 invoked by uid 99); 7 Nov 2007 16:24:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 08:24:12 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Nov 2007 16:24:45 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CB1B3714233 for ; Wed, 7 Nov 2007 08:23:50 -0800 (PST) Message-ID: <16116711.1194452630828.JavaMail.jira@brutus> Date: Wed, 7 Nov 2007 08:23:50 -0800 (PST) From: "Michael Pollmeier (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Closed: (AXIS2-3311) WstxIOException caching problem? In-Reply-To: <11351329.1193732451147.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Pollmeier closed AXIS2-3311. ------------------------------------ see comment before > WstxIOException caching problem? > -------------------------------- > > Key: AXIS2-3311 > URL: https://issues.apache.org/jira/browse/AXIS2-3311 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel, transports > Affects Versions: 1.2 > Environment: JBoss 4.0.3 SP1 > Reporter: Michael Pollmeier > Priority: Minor > Attachments: attachment.zip > > > Hi there, > I developed a simple forwarding service with axis2: the wsdl is in the attachment. It receives XML, converts it to AXIOM and uses a client to send the XML to another service. As simple as it can be, no business logic or so, just forwarding on service level. The service has four methods. > I encountered a curious bug: when I send the request.xml (Attachment) to the service (method: getKontingent) once, everything works fine. But if I send exactly the same request again, the service responds with soapFault: com.ctc.wstx.exc.WstxIOException: Attempted read on closed stream. > If I switch some characters in the request, everything works fine again for the first try. If I resend the XML, the service returns the Exception again and again. > For me it seems like a caching problem. The interesting thing is that it only happens with one of my four methods... > The attached attachment.zip contains: > * request xml > * the axis2 services.xml > * the wsdl > * service skeleton > * client stub > I already posted this issue at Codehaus' Jira, as the Woodstox component throws the error, but they say it is probably an issue how axis2 uses the Woodstox API: http://jira.codehaus.org/browse/WSTX-133 > I hope that helps..cheers > Michael Pollmeier -- 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: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org