[
https://issues.jboss.org/browse/AS7-1375?page=com.atlassian.jira.plugin.s...
]
David Lloyd edited comment on AS7-1375 at 8/7/11 12:43 PM:
-----------------------------------------------------------
Deployments should have javax.activation.api automatically added already. This looks like
it's failing to load the specific content type handler. What if you added the
following line to the manifest:
{noformat}
Dependencies: javax.mail.api services export, javax.activation.api services export
{noformat}
It's just a hypothesis but I suspect that javax.activation.api isn't seeing the
javax.mail.api content handlers. Adding this line *should* fix that but I'm not 100%
on that either.
was (Author: dmlloyd):
Deployments should have javax.activation.api automatically added already. This looks
like it's failing to load the specific content type handler. What if you added the
following line to the manifest:
{{noformat}}
Dependencies: javax.mail.api services export, javax.activation.api services export
{{noformat}}
It's just a hypothesis but I suspect that javax.activation.api isn't seeing the
javax.mail.api content handlers. Adding this line *should* fix that but I'm not 100%
on that either.
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š
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