Thanks for reporting this. Could you please create a jira ticket and I will take care of it. ------------- Freeman(Yue) Fang
Red Hat, Inc. FuseSource is now part of Red Hat > On Oct 25, 2018, at 8:20 PM, DUTERTRY Nicolas <nicolas.duter...@soprahr.com> > wrote: > > Hi, > > It is not possible to send email in Karaf 4.2 with javax.mail API. When an > email is sent, this exception is raised : > > javax.mail.MessagingException: IOException while sending message; > nested exception is: > javax.activation.UnsupportedDataTypeException: no object DCH for MIME > type multipart/mixed; > > I’ve found that it is because the Activation Framework (javax.activation) is > not OSGI compliant. In the previous Karaf version (4.1) a servicemix > implementation of the Activation Framework was included but it is not the > case anymore. > > The solution to have a working Activation Framework is to remove > javax.activation references in jre.properties and to install the bundle > org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.9.0. > > For the future Karaf 4.2.2 can you please : > - Remove javax.activation from jre.properties > - Remove activation-1.1.1.jar from directory lib/boot > - Let the user install > org.apache.servicemix.specs/org.apache.servicemix.specs.activation-api-1.1/2.9.0 > if needed > > Regards, > -- > Nicolas Dutertry > Sopra HR Software - http://www.soprahr.com/ <http://www.soprahr.com/>