Expand my Community achievements bar.

Triggering Assets notifications on AEM Forms(JEE) environment


Level 1

I'm using a turnkey AEM Forms environment which is 

Windows 2k12 | JBoss (OOB) | MYSQL(OOB) | AEMForms 6.1 SP1 + ACS commons tools package

I'm trying to configure the email notifications on the OSGi side, so that i can trigger notifications for CQ workflows, and whenever there are updates on Assets, however the email notification service always fails with this error::

06.04.2016 21:48:07.162 *ERROR* [pool-16-thread-10-null(null)] com.day.cq.workflow.impl.email.EMailNotificationService error while sending email for com.day.cq.workflow.impl.exec.CQWorkItemWrapper@4d1de032: loader constraint violation: loader (instance of org/jboss/modules/ModuleClassLoader) previously initiated loading for a different type with name "javax/mail/Session"

It looks like an exception occurring even before the email service was to use my SMTP configuration.

I'm wondering if this specific to AEM Forms (JEE) environments, since i couldn't notice anyone else reporting this issue in any forums. 

1 Reply



Please share complete stack trace.