Hi, I'm using the notification system and it happily sends emails in its own container (tomcat 6). However, we've deployed syncope on a tomcat container together with another webapp that uses the javamail jar from Sun. When syncope is the first one to send emails, the other app can't send any since it looks for handler classes associated with the mime-type of the email to send. When the other app is first to send an email (after a server restart) it succeeds, but then syncope fails to send an email, stating it can't find com.sun.* classes related to the mime-type.
The exception is: org.apache.geronimo.javamail.transport.smtp.SMTPSendFailedException: Send failure (javax.mail.MessagingException: javax.activation.UnsupportedDataTypeException: no object DCH for MIME type multipart/mixed; On this web page ( http://blog.hpxn.net/2009/12/02/tomcat-java-6-and-javamail-cant-load-dch/) there is some info on the problem. When I put the activation debugging on I get the underlying exception: Can't load DCH com.sun.mail.handlers.multipart_mixed; Exception: java.lang.ClassNotFoundException: com/sun/mail/handlers/multipart_mixed. It seems that the activation framework loads the mimetype list and the associated classes once for both webapps. The working solution at the moment is to delete the geronimo javamail libraries in syncope and put in the javamail library from the other app. Anyone seen this behaviour? Best regards Bob
