]
Edson Tirelli reassigned DROOLS-1138:
-------------------------------------
Assignee: Maciej Swiderski (was: Edson Tirelli)
Exclude the javax.mail jar from the kie-server war
--------------------------------------------------
Key: DROOLS-1138
URL:
https://issues.jboss.org/browse/DROOLS-1138
Project: Drools
Issue Type: Bug
Components: kie server
Affects Versions: 6.3.0.Final, 6.4.0.Final, 7.0.0.Final
Reporter: Marco Rietveld
Assignee: Maciej Swiderski
As far as I can tell, the `javax.mail` specification is part of the JEE 6 (and higher)
specifications.
However, we do *not! exclude the `javax.mail:mail` jar from the `kie-server` wars: See
https://github.com/droolsjbpm/droolsjbpm-integration/blob/6.3.x/kie-serve...
(`javax.mail:mail` is being included via the `jbpm-human-task-core` jar, which the
`kie-server-services-jbpm` jar depends on.)
Community users have reported running into classpath problems, which seem to be due to
the inclusion of the `javax.mail:mail` jar
In the JSR-316 (JEE 6 Specification) PDF, I found the following:
{quote}
EE.2.7.10JavaMailâ„¢
Many Internet applications require the ability to send email notifications, so the Java
EE platform includes the JavaMail API along with a JavaMail service provider that allows
an application component to send Internet mail. The JavaMail API has two parts: an
application-level interface used by the application components to send mail, and a service
provider interface used at the Java EE SPI level."
{quote}