[jboss-jira] [JBoss JIRA] (AS7-1375) UnsupportedDataTypeException sending email
Ed Roberts (JIRA)
jira-events at lists.jboss.org
Tue Jul 17 08:51:07 EDT 2012
[ https://issues.jboss.org/browse/AS7-1375?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706348#comment-12706348 ]
Ed Roberts commented on AS7-1375:
---------------------------------
This fix is causing issue when exposing the javax.activation module as a capability to JBoss OSGi: The import is overriding the Manifest.mf
of javax.activation and instead making javax.mail visible, which later causes problems with OSGi bundles wishing to use the Java Mail API.
Do I need to raise a separate issue, or should this one be reopened ?
> UnsupportedDataTypeException sending email
> -------------------------------------------
>
> Key: AS7-1375
> URL: https://issues.jboss.org/browse/AS7-1375
> Project: Application Server 7
> Issue Type: Bug
> Affects Versions: 7.0.0.Final, 7.0.1.Final, 7.0.2.Final
> Environment: jdk-u26, jboss-as-7.1.0.Alpha1-SNAPSHOT(07/22/2011)
> Reporter: Tomas Remes
> Assignee: Tomaz Cerar
> Labels: mail
> Fix For: 7.1.0.Beta1
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list