From: Krzysztof B. <kb...@un...> - 2024-08-01 11:37:25
|
Hi Sander, Thanks for this report - issue related to conflicting 3rd party libs, fix in progress. Best, Krzysztof W dniu 30.07.2024 o 10:26, Sander Apweiler pisze: > Hello again, > > we have also the issue that email notifications are failing on the > server. We use the same config and message templates like in the 3.16.1 > which is working on other servers. > > We got the following stacktrace. Do you have any idea about this? > > 2024-07-30T07:53:11,572 [ForkJoinPool-1-worker-4179] ERROR unity.server.notification.EmailFacility: E-mail notification failed > java.lang.ClassCastException: class com.sun.mail.handlers.text_plain cannot be cast to class javax.activation.DataContentHandler (com.sun.mail.handlers.text_plain and javax.activation.DataContentHandler are in unnamed module of loader 'app') > at javax.activation.MailcapCommandMap.getDataContentHandler(MailcapCommandMap.java:631) ~[javax.activation-api-1.2.0.jar:1.2.0] > at javax.activation.MailcapCommandMap.createDataContentHandler(MailcapCommandMap.java:585) ~[javax.activation-api-1.2.0.jar:1.2.0] > at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:630) ~[javax.activation-api-1.2.0.jar:1.2.0] > at javax.activation.DataHandler.writeTo(DataHandler.java:329) ~[javax.activation-api-1.2.0.jar:1.2.0] > at javax.mail.internet.MimeUtility.getEncoding(MimeUtility.java:340) ~[javax.mail-1.6.2.jar:1.6.2] > at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1575) ~[javax.mail-1.6.2.jar:1.6.2] > at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:2271) ~[javax.mail-1.6.2.jar:1.6.2] > at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:2231) ~[javax.mail-1.6.2.jar:1.6.2] > at javax.mail.Transport.send(Transport.java:123) ~[javax.mail-1.6.2.jar:1.6.2] > at pl.edu.icm.unity.engine.notifications.email.EmailChannel.sendEmail(EmailChannel.java:110) ~[unity-server-engine-4.0.0.jar:?] > at pl.edu.icm.unity.engine.notifications.email.EmailChannel.lambda$sendNotification$0(EmailChannel.java:92) ~[unity-server-engine-4.0.0.jar:?] > at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnable.exec(ForkJoinTask.java:1382) [?:?] > at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387) [?:?] > at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312) [?:?] > at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843) [?:?] > at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808) [?:?] > at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188) [?:?] > > The configuration of the message templates is attached. > > Best regards, > Sander > > > > _______________________________________________ > Unity-idm-discuss mailing list > Uni...@li... > https://lists.sourceforge.net/lists/listinfo/unity-idm-discuss |