axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <axis-...@ws.apache.org>
Subject [jira] [Commented] (AXIS-2910) DimeBodyPart.send does not close stream for dynamic content
Date Sun, 07 Jun 2015 18:18:00 GMT

    [ https://issues.apache.org/jira/browse/AXIS-2910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14576370#comment-14576370
] 

Hudson commented on AXIS-2910:
------------------------------

SUCCESS: Integrated in axis-trunk #269 (See [https://builds.apache.org/job/axis-trunk/269/])
AXIS-2910: Ensure that DimeBodyPart closes all input streams it requests from DataSource instances.
(veithen: rev 1684053)
* /axis/axis1/java/trunk/axis-rt-core/pom.xml
* /axis/axis1/java/trunk/axis-rt-core/src/main/java/org/apache/axis/attachments/DimeBodyPart.java
* /axis/axis1/java/trunk/axis-rt-core/src/test/java/org
* /axis/axis1/java/trunk/axis-rt-core/src/test/java/org/apache
* /axis/axis1/java/trunk/axis-rt-core/src/test/java/org/apache/axis
* /axis/axis1/java/trunk/axis-rt-core/src/test/java/org/apache/axis/attachments
* /axis/axis1/java/trunk/axis-rt-core/src/test/java/org/apache/axis/attachments/TestDimeBodyPart.java
* /axis/axis1/java/trunk/pom.xml
* /axis/axis1/java/trunk/samples/mtomstub-sample/pom.xml


> 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