[
https://issues.apache.org/jira/browse/CXF-6646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kai Rommel updated CXF-6646:
----------------------------
Attachment: 0001-CXF-3.x-WSRM-Replace-RewindableInputStream-with-Cach.patch
With change CXF-6886 attachments are now stored with soap msg as blob. The new
attached patch file contains changes to use CachedOutputStream within RMMessage
instead of the RewindableInputStream. This change allows to close this issue,
as after the CachedOutputStream creation, the db connection can be closed.
> CXF 3.x WSRM message may not be retrieved from database
> -------------------------------------------------------
>
> Key: CXF-6646
> URL: https://issues.apache.org/jira/browse/CXF-6646
> Project: CXF
> Issue Type: Bug
> Components: WS-* Components
> Affects Versions: 3.0.4
> Reporter: Kai Rommel
> Attachments:
> 0001-CXF-3.x-WSRM-Replace-RewindableInputStream-with-Cach.patch,
> 0001-WSRM-enable-RMTxStore-for-different-database-impleme.patch,
> 0002-WSRM-enable-RMTxStore-for-different-database-impleme.patch
>
>
> With CXF-4866, CXF-352 changes to the RMTxStore implementation were
> introduced.
> Running the JUnit Tests for rt/ws/rm with a newer Derby version, some tests
> will fail.
> You can switch to version 10.8.2.2 and messages won't be recovered from
> database, as database connection will be released before message is read.
> I used the CachedOutputStream to cache the message. Find attached the patch
> files.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)