[jboss-jira] [JBoss JIRA] Issue Comment Edited: (AS7-1375) UnsupportedDataTypeException sending email

Ove Ranheim (JIRA) jira-events at lists.jboss.org
Wed Aug 17 05:06:46 EDT 2011


    [ https://issues.jboss.org/browse/AS7-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12621521#comment-12621521 ] 

Ove Ranheim edited comment on AS7-1375 at 8/17/11 5:01 AM:
-----------------------------------------------------------

I retested mail (seam-mail 3.0.0.Alpha1) with as7.0.1 build 1519 (which is to my understanding the real 7.0.1 final). The following modification to activation module solves this issue:

Workaround: modules/javax/activation/api/main/module.xml 

{noformat}
<module xmlns="urn:jboss:module:1.0" name="javax.activation.api">
 
    <dependencies>
        <module name="javax.api"/>
    </dependencies>
 
    <resources>
        <resource-root path="activation-1.1.1.jar"/>
        <resource-root path="mail-1.4.4.jar"/>
        <!-- Insert resources here -->
    </resources>
</module>
{noformat}

Copy modules/javax/mail/api/main/mail-1.4.4* modules/javax/activation/api/main/ 


      was (Author: oranheim):
    I reteted mail (seam-mail 3.0.0.Alpha1) with as7.0.1 build 1519 (which is to my understanding the real final). The following modification to activation module solves this issue:

Workaround: modules/javax/activation/api/main/module.xml 

{noformat}
<module xmlns="urn:jboss:module:1.0" name="javax.activation.api">
 
    <dependencies>
        <module name="javax.api"/>
    </dependencies>
 
    <resources>
        <resource-root path="activation-1.1.1.jar"/>
        <resource-root path="mail-1.4.4.jar"/>
        <!-- Insert resources here -->
    </resources>
</module>
{noformat}

Copy modules/javax/mail/api/main/mail-1.4.4* modules/javax/activation/api/main/ 

  
> UnsupportedDataTypeException sending email 
> -------------------------------------------
>
>                 Key: AS7-1375
>                 URL: https://issues.jboss.org/browse/AS7-1375
>             Project: Application Server 7
>          Issue Type: Bug
>         Environment: jdk-u26, jboss-as-7.1.0.Alpha1-SNAPSHOT(07/22/2011)
>            Reporter: Tomáš Remeš
>             Fix For: 7.1.0.Alpha1
>
>
> Seam 3 send mail example fails on:
> javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; 
> 	boundary="----=_Part_1_340486764.1311336438303"
> 	at javax.activation.ObjectDataContentHandler.writeTo(DataHandler.java:905) [activation-1.1.1.jar:1.1.1]
> 	at javax.activation.DataHandler.writeTo(DataHandler.java:330) [activation-1.1.1.jar:1.1.1]
> 	at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1476) [mail-1.4.4.jar:1.4.4]
> 	at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1772) [mail-1.4.4.jar:1.4.4]
> 	at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1099) [mail-1.4.4.jar:1.4.4]
> 	... 42 more

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       



More information about the jboss-jira mailing list