Thanks Nicolas, this is related to the changes we did for Java 9/11 support. We gonna fix that for Karaf 4.2.2.
Regards JB On 25/10/2018 14:20, DUTERTRY Nicolas 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/ >
