[ http://jira.codehaus.org/browse/XFIRE-723?page=comments#action_78204 ]
Dan Diephouse commented on XFIRE-723:
-------------------------------------
It appears that the cause of our dilemma is in the class
"OutMessageDataSource" at
// TODO: its really not necessary to cache this...
CachedOutputStream out = new CachedOutputStream(1024*1000, null);
Perhaps if this was changed such that it used the
ATTACHMENT_MEMORY_THRESHOLD property, we could then set this value in the
services.xml file or programatically....just a suggestion. We also noticed
that we could not delete these files on the server-side until we rebooted
weblogic, which means that there may be an InputStream left open on the file
(just a guess).
We are going to patch a local copy with this change to fix this problem.
thanks for all of your help
-Zack Jones
-----Original
> Message cache isn't deleted from outgoing side with attachments enabled
> -----------------------------------------------------------------------
>
> Key: XFIRE-723
> URL: http://jira.codehaus.org/browse/XFIRE-723
> Project: XFire
> Issue Type: Bug
> Reporter: Dan Diephouse
> Assigned To: Dan Diephouse
> Priority: Blocker
> Fix For: 1.2.3
>
>
> If a large response message is sent with attachments, we are writing it to
> disk and not deleting it. We need to delete it so disk resources aren't
> consumed!!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email