[
http://jira.codehaus.org/browse/JIBX-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nigel Charman resolved JIBX-421.
--------------------------------
Resolution: Fixed
OutByteBuffer not being reset() in case where finish() threw Exception (since
output buffer no longer available when client disconnects)
> JiBX/WS: after client aborts, subsequent response from server includes XML
> from response which timed out
> --------------------------------------------------------------------------------------------------------
>
> Key: JIBX-421
> URL: http://jira.codehaus.org/browse/JIBX-421
> Project: JiBX
> Issue Type: Bug
> Components: JiBX/WS
> Affects Versions: JiBX/WS 0.9
> Reporter: Nigel Charman
> Assignee: Nigel Charman
> Fix For: JiBX/WS 0.9.1
>
>
> Can be reproduced with seismic example. Abort client while waiting for
> response. Tomcat logs show ClientAbortException. Run client. Response
> contains partial XML, and does not start with SOAP header.
> Client shows:
> [java] Connecting to service at
> http://localhost:8080/jibx-ws-seismic/soap/quake-service using protocol
> SOAP1.1
> [java] org.jibx.ws.WsException: Error reading start of SOAP message.
> [java] Root cause: org.jibx.runtime.JiBXException: Error parsing
> document (line 1, col 1, in
> http://localhost:8080/jibx-ws-seismic/soap/quake-service)
> [java] at org.jibx.ws.soap.SoapReader.startMessage(SoapReader.java:78)
> [java] at
> org.jibx.ws.soap.SoapProcessor.receiveMessage(SoapProcessor.java:246)
> [java] at org.jibx.ws.soap.SoapProcessor.invoke(SoapProcessor.java:113)
> [java] at org.jibx.ws.soap.client.SoapClient.call(SoapClient.java:414)
> [java] at
> com.sosnoski.seismic.client.BindClient.runQuery(BindClient.java:59)
> [java] at
> com.sosnoski.seismic.client.TestClient$TestRunnable.run(TestClient.java:253)
> [java] at java.lang.Thread.run(Thread.java:662)
> [java] Cause: Error parsing document (line 1, col 1, in
> http://localhost:8080/jibx-ws-seismic/soap/quake-service)
> [java] org.xmlpull.v1.XmlPullParserException: only whitespace content
> allowed before start tag and not 2 (position: START_DOCUMENT seen 2... @1:1)
> [java] at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519)
> [java] at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
> [java] at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
> [java] at
> org.jibx.runtime.impl.XMLPullReaderFactory$XMLPullReader.next(XMLPullReaderFactory.java:291)
> [java] at
> org.jibx.ws.io.XmlReaderWrapper.toStart(XmlReaderWrapper.java:218)
> [java] at org.jibx.ws.soap.SoapReader.startMessage(SoapReader.java:72)
> [java] at
> org.jibx.ws.soap.SoapProcessor.receiveMessage(SoapProcessor.java:246)
> [java] at org.jibx.ws.soap.SoapProcessor.invoke(SoapProcessor.java:113)
> [java] at org.jibx.ws.soap.client.SoapClient.call(SoapClient.java:414)
> [java] at
> com.sosnoski.seismic.client.BindClient.runQuery(BindClient.java:59)
> [java] at
> com.sosnoski.seismic.client.TestClient$TestRunnable.run(TestClient.java:253)
> [java] at java.lang.Thread.run(Thread.java:662)
> [java]
> [java] Java Result: 1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs