You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Lars Heinemann (JIRA)" <ji...@apache.org> on 2008/03/31 12:03:32 UTC
[jira] Created: (SM-1298) servicemix-mail throws IOException
"Socket closed" when trying to send an attachment which uses
StreamDataSource
servicemix-mail throws IOException "Socket closed" when trying to send an attachment which uses StreamDataSource
----------------------------------------------------------------------------------------------------------------
Key: SM-1298
URL: https://issues.apache.org/activemq/browse/SM-1298
Project: ServiceMix
Issue Type: Bug
Affects Versions: 3.3
Reporter: Lars Heinemann
Assignee: Lars Heinemann
If an attachment uses the StreamDataSource, it gives IOException when trying to send this attachment via email.
The problem is, that the JavaMail tries to read the input stream of this data source twice and that's not supported by the StreamDataSource.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1298) servicemix-mail throws IOException
"Socket closed" when trying to send an attachment which uses
StreamDataSource
Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Heinemann updated SM-1298:
-------------------------------
Component/s: servicemix-mail
> servicemix-mail throws IOException "Socket closed" when trying to send an attachment which uses StreamDataSource
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SM-1298
> URL: https://issues.apache.org/activemq/browse/SM-1298
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-mail
> Affects Versions: 3.3
> Reporter: Lars Heinemann
> Assignee: Lars Heinemann
>
> If an attachment uses the StreamDataSource, it gives IOException when trying to send this attachment via email.
> The problem is, that the JavaMail tries to read the input stream of this data source twice and that's not supported by the StreamDataSource.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (SM-1298) servicemix-mail throws IOException
"Socket closed" when trying to send an attachment which uses
StreamDataSource
Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Heinemann resolved SM-1298.
--------------------------------
Fix Version/s: 3.3
Resolution: Fixed
Added workaround to solve this problem. The attachments are now buffered to a temp. file and deleted after sending.
Feel free to choose another solution in your own marshaler.
> servicemix-mail throws IOException "Socket closed" when trying to send an attachment which uses StreamDataSource
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SM-1298
> URL: https://issues.apache.org/activemq/browse/SM-1298
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-mail
> Affects Versions: 3.3
> Reporter: Lars Heinemann
> Assignee: Lars Heinemann
> Fix For: 3.3
>
>
> If an attachment uses the StreamDataSource, it gives IOException when trying to send this attachment via email.
> The problem is, that the JavaMail tries to read the input stream of this data source twice and that's not supported by the StreamDataSource.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1298) servicemix-mail throws IOException
"Socket closed" when trying to send an attachment which uses
StreamDataSource
Posted by "Lars Heinemann (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lars Heinemann updated SM-1298:
-------------------------------
Affects Version/s: (was: 3.3)
servicemix-mail-2008.01
Fix Version/s: (was: 3.3)
> servicemix-mail throws IOException "Socket closed" when trying to send an attachment which uses StreamDataSource
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SM-1298
> URL: https://issues.apache.org/activemq/browse/SM-1298
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-mail
> Affects Versions: servicemix-mail-2008.01
> Reporter: Lars Heinemann
> Assignee: Lars Heinemann
> Fix For: servicemix-mail-2008.01
>
>
> If an attachment uses the StreamDataSource, it gives IOException when trying to send this attachment via email.
> The problem is, that the JavaMail tries to read the input stream of this data source twice and that's not supported by the StreamDataSource.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (SM-1298) servicemix-mail throws IOException
"Socket closed" when trying to send an attachment which uses
StreamDataSource
Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/activemq/browse/SM-1298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guillaume Nodet updated SM-1298:
--------------------------------
Fix Version/s: servicemix-mail-2008.01
> servicemix-mail throws IOException "Socket closed" when trying to send an attachment which uses StreamDataSource
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SM-1298
> URL: https://issues.apache.org/activemq/browse/SM-1298
> Project: ServiceMix
> Issue Type: Bug
> Components: servicemix-mail
> Affects Versions: 3.3
> Reporter: Lars Heinemann
> Assignee: Lars Heinemann
> Fix For: 3.3, servicemix-mail-2008.01
>
>
> If an attachment uses the StreamDataSource, it gives IOException when trying to send this attachment via email.
> The problem is, that the JavaMail tries to read the input stream of this data source twice and that's not supported by the StreamDataSource.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.