axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pimlott (JIRA)" <axis-...@ws.apache.org>
Subject [jira] [Updated] (AXIS-2910) DimeBodyPart.send does not close stream for dynamic content
Date Thu, 04 Jun 2015 00:02:38 GMT

     [ https://issues.apache.org/jira/browse/AXIS-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Pimlott updated AXIS-2910:
--------------------------------
    Description: 
The version of DimeBodyPart.send() for {{DynamicContentDataHandler}} leaves the input stream
open after reading.  This is bad practice and causes particular difficulties on Windows, which
is much stricter than *nix about open file handles.

In my case, I'm trying to use process files with an Axis1-based client using Apache Camel,
but the open file stream is prevent the completed files from being moved.


  was:
The version of DimeBodyPart.send() for {{DynamicContentDataHandler}} leaves the input stream
open after reading.  This is bad practice and causes particular difficulties on Windows, which
is much stricter than *nix about open file handles.




> DimeBodyPart.send does not close stream for dynamic content
> -----------------------------------------------------------
>
>                 Key: AXIS-2910
>                 URL: https://issues.apache.org/jira/browse/AXIS-2910
>             Project: Axis
>          Issue Type: Bug
>          Components: Serialization/Deserialization
>    Affects Versions: 1.4
>            Reporter: Chris Pimlott
>
> The version of DimeBodyPart.send() for {{DynamicContentDataHandler}} leaves the input
stream open after reading.  This is bad practice and causes particular difficulties on Windows,
which is much stricter than *nix about open file handles.
> In my case, I'm trying to use process files with an Axis1-based client using Apache Camel,
but the open file stream is prevent the completed files from being moved.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message