Knowledgebase article 46

Email to ticket not picking up emails with attachments


We saw this problem during testing when the app was deployed to the builtin Tomcat on a SLES server.  The problem is that the SLES distribution of Tomcat contains jars related to email handling that are not included in the regular distribution of Tomcat, and those jars are in conflict with jars that are distributed with the eHelpDesk application. I worked with Daren Lord to resolve this issue on our internal support server, so he should have a record of what was done to fix the problem.  Basically, we need to remove the conflicting jars from the Tomcat common/lib directory. 

This is the error message that we can look for to determine that this is the SLES Tomcat mail jar conflict problem:
java.lang.NoSuchMethodError: javax.mail.internet.MimeBodyPart.saveFile(Ljava/io/File;)V

 

 These are the conflicting jars in the SLES Tomcat and should be removed from the Tomcat common/lib directory.

[jaf].jar
[javamail]imap-1.3.3_01.jar
[javamail]imap.jar
[javamail]mailapi-1.3.3_01.jar
[javamail]mailapi.jar
[javamail]pop3-1.3.3_01.jar
[javamail]pop3.jar
[javamail]smtp-1.3.3_01.jar
[javamail]smtp.jar
jaf.jar
javamailimap-1.3.3_01.jar
javamailimap.jar
javamailmailapi-1.3.3_01.jar
javamailmailapi.jar
javamailpop3-1.3.3_01.jar
javamailpop3.jar
javamailsmtp-1.3.3_01.jar
javamailsmtp.jar

Group Installs & Migrations Last modified Nov 13, 2019 Type Public Viewed 3544