You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Jochen Zink (JIRA)" <ji...@apache.org> on 2007/04/03 12:51:32 UTC

[jira] Created: (AXIS2-2456) Direct Streaming of attachments

Direct Streaming of attachments
-------------------------------

                 Key: AXIS2-2456
                 URL: https://issues.apache.org/jira/browse/AXIS2-2456
             Project: Axis 2.0 (Axis2)
          Issue Type: Wish
    Affects Versions: 1.1.1
         Environment: All
            Reporter: Jochen Zink


It would be great to get direct access to the inputstream, which is used for Attachments.

At the moment, the attachment is cached in files or it is stored in memory.

Big files can't store in memory (OutOfMemoryException) and the FileCaching feature of axis could run in several problems. The first on, the application has to clean up the cache directory. That is not nice. It is possible to run in concurrent use of the temp Files.

The bigger problem is, that applicationservers can forbidden the write access to hard disc. In this case, axis is not able to consume binary contents and cache them in files.

The best solution is, that axis direct streams the attachment to the application. I know, that could be difficult if some handlers also have to read the stream (security, etc.). But it should be possible and would spend a very very usefull and nice feature for using axis for business projects.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Commented: (AXIS2-2456) Direct Streaming of attachments

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502201 ] 

Davanum Srinivas commented on AXIS2-2456:
-----------------------------------------

We already do..see http://marc.info/?l=axis-user&m=118040097227374&w=2

thanks,
dims

> Direct Streaming of attachments
> -------------------------------
>
>                 Key: AXIS2-2456
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2456
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Wish
>    Affects Versions: 1.1.1
>         Environment: All
>            Reporter: Jochen Zink
>
> It would be great to get direct access to the inputstream, which is used for Attachments.
> At the moment, the attachment is cached in files or it is stored in memory.
> Big files can't store in memory (OutOfMemoryException) and the FileCaching feature of axis could run in several problems. The first on, the application has to clean up the cache directory. That is not nice. It is possible to run in concurrent use of the temp Files.
> The bigger problem is, that applicationservers can forbidden the write access to hard disc. In this case, axis is not able to consume binary contents and cache them in files.
> The best solution is, that axis direct streams the attachment to the application. I know, that could be difficult if some handlers also have to read the stream (security, etc.). But it should be possible and would spend a very very usefull and nice feature for using axis for business projects.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (AXIS2-2456) Direct Streaming of attachments

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-2456.
-------------------------------------

    Resolution: Fixed

> Direct Streaming of attachments
> -------------------------------
>
>                 Key: AXIS2-2456
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2456
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Wish
>    Affects Versions: 1.1.1
>         Environment: All
>            Reporter: Jochen Zink
>
> It would be great to get direct access to the inputstream, which is used for Attachments.
> At the moment, the attachment is cached in files or it is stored in memory.
> Big files can't store in memory (OutOfMemoryException) and the FileCaching feature of axis could run in several problems. The first on, the application has to clean up the cache directory. That is not nice. It is possible to run in concurrent use of the temp Files.
> The bigger problem is, that applicationservers can forbidden the write access to hard disc. In this case, axis is not able to consume binary contents and cache them in files.
> The best solution is, that axis direct streams the attachment to the application. I know, that could be difficult if some handlers also have to read the stream (security, etc.). But it should be possible and would spend a very very usefull and nice feature for using axis for business projects.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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