Issues with tomcat 4.x mail and activation jars

All Versions

JIRA 4.0 Beta Documentation

Issue using mail in Jira on Tomcat 4.x

There is an issue with Jira standalone prior to and including 3.2.2 and with deploying the Jira .war into tomcat 4.x. The problem is that Jira requires newer versions of the javax.mail (mail.jar) and the javax.activation (activation.jar) packages than are included in tomcat 4.x.

The solution to the problem is to remove the mail.jar and activation.jar from the TOMCAT_HOME/common/lib directory and replace it with the jars that Jira ships with. To do this you must:

  1. Remove the TOMCAT_HOME/common/lib/mail.jar
  2. Remove the TOMCAT_HOME/common/lib/activation.jar
  3. Move JIRA_WAR_LOCATION/WEB-INF/lib/activation-1.0.2.jar to TOMCAT_HOME/common/lib/activation-1.0.2.jar
  4. Move JIRA_WAR_LOCATION/WEB-INF/lib/javamail-1.3.2.jar to TOMCAT_HOME/common/lib/javamail-1.3.2.jar

This should make the mail enabled elements within Jira work properly.

All is not lost

Tomcat 5.0.x and 5.5.x no longer ship the mail and activation jars, so this is not a problem with later versions of tomcat. Jira 3.3 Standalone will ship with Tomcat 5.5.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Feb 24, 2006

    Dave Sag says:

    My install of tomcat (the one that comes with OSX Tiger Server) is 4.1.29 and it...

    My install of tomcat (the one that comes with OSX Tiger Server) is 4.1.29 and its common/lib folder does not contain mail.jar, nor activation.jar

  2. Feb 26, 2006

    Dylan Etkin says:

    Hi Dave, That is interesting, then you just need to place the JIRA jars there a...

    Hi Dave,
    That is interesting, then you just need to place the JIRA jars there and you should be up and running.

    Dylan

Add Comment


Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 2.5 Australia License.