Hello everyone
Maybe you have a hint for me where to look for a solution.
I started to use "decanter" to send emails for error logging.
I started to use the following features:
<feature>decanter-collector-log</feature>
<feature>decanter-appender-log</feature>
<feature>decanter-alerting-email</feature>
... configured a simple rule in "org.apache.karaf.decanter.alerting.service.cfg"
rule.error="{'condition':'message:*','level':'ERROR'}"
... and configured my email server in
"org.apache.karaf.decanter.alerting.email.cfg"
But when decanter tries to send an email the following error is logged:
Caused by: javax.activation.UnsupportedDataTypeException: text/plain
at javax.activation.DataHandler.writeTo(DataHandler.java:75)
~[org.apache.servicemix.specs.activation-api-1.2.1-1.2.1_3.jar:1.2.1_3]
at javax.mail.internet.MimeBodyPart.writeTo(MimeBodyPart.java:1694) ~[?:?]
at javax.mail.internet.MimeMessage.writeTo(MimeMessage.java:1913) ~[?:?]
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1315)
~[?:?]
Does anyone have an idea what is missing?
I am a little bit confused and could not find any source of information about
this problem.
I am using karaf 4.4.3, decanter 2.10.0, camel 3.20.2
karaf@root()> feature:list | grep decanter | grep Started
decanter-common (0x 2.10.0 │ │
Started │ karaf-decanter-2.10.0 │ Karaf Decanter API
decanter-collector-log (0x 2.10.0 │ │
Started │ karaf-decanter-2.10.0 │ Karaf Decanter Log Messages
Collector
decanter-appender-log (0x 2.10.0 │ │
Started │ karaf-decanter-2.10.0 │ Karaf Decanter Log Appender
decanter-alerting-core (0x 2.10.0 │ │
Started │ karaf-decanter-2.10.0 │ Karaf Decanter Alerting core
decanter-alerting-email-core (0x 2.10.0 │ │
Started │ karaf-decanter-2.10.0 │ Karaf Decanter alerting email
alerter core
decanter-alerting-email (0x 2.10.0 │ │
Started │ karaf-decanter-2.10.0 │ Karaf Decanter alerting email
alerter
Thanx for any help
Bert Speckels