[JBoss JIRA] Created: (JBTM-282) SOAP envelope output to XMLStreamWriter is omitting a required flush operation
by Andrew Dinn (JIRA)
SOAP envelope output to XMLStreamWriter is omitting a required flush operation
------------------------------------------------------------------------------
Key: JBTM-282
URL: http://jira.jboss.com/jira/browse/JBTM-282
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: WS-T Implementation
Affects Versions: 4.2.3.SP5
Reporter: Andrew Dinn
Assigned To: Andrew Dinn
Priority: Minor
Fix For: 4.4
Class SoapMessageBase.output() uses an XMLStreamWriter to write a SOAP envelope to a Writer supplied by its callerr. After writing the envelope it omits a flush on the XMLStreamWriter. When the caller flushes and closes its writer some of the envelope data may still be buffered by the XMLStreamWriter and hence may not be pushed through the caller's stream.
n.b. this only manifests when the STAX lib is upgraded from the current implementtaion which uses an nbuffreed XMLStreamWriter to a later version which uses a buffered XMLStreamWriter.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months
[JBoss JIRA] Created: (JBTM-250) BaseTransaction swallows a critical error message
by Andrew P (JIRA)
BaseTransaction swallows a critical error message
-------------------------------------------------
Key: JBTM-250
URL: http://jira.jboss.com/jira/browse/JBTM-250
Project: JBoss Transaction Manager
Issue Type: Patch
Security Level: Public (Everyone can see)
Components: JTA Implementation
Affects Versions: 4.2.3.SP3
Reporter: Andrew P
Assigned To: Mark Little
Priority: Minor
Attachments: BaseTransaction.java.patch
Patch is against the latest trunk, r13242.
JTA's base transaction throws NotSupportedException for attempts to begin a nested transaction. However, the root cause's message is lost which forces one into scratching his head and diving into all kinds of debug hell. The patch propagates the message, which is quite descriptive and save from late night debugging sessions :)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
17 years, 3 months