[jboss-jira] [JBoss JIRA] (DROOLS-1138) Exclude the javax.mail jar from the kie-server war

Marco Rietveld (JIRA) issues at jboss.org
Fri Apr 22 10:44:00 EDT 2016


Marco Rietveld created DROOLS-1138:
--------------------------------------

             Summary: 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.4.0.Final, 6.3.0.Final, 7.0.0.Final
            Reporter: Marco Rietveld
            Assignee: Edson Tirelli


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-server-parent/kie-server-wars/kie-server/src/main/assembly/assembly-ee6-container.xml#L48-L59

(`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}



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list