Closed suyashjain closed 6 years ago
Hi, Could you please provide an update on this issue.? Thanks in advance
Scenario 1: When mail jar provided by you is copied in ${JIRA_INSTALL}/lib/ Result: We are receiving mails. But we have warning on startup.
WARNING: JIRA-Bootstrap WARN [o.twdata.pkgscanner.ExportPackageListBuilder] Package Scanner found duplicates for package 'javax.mail.event' with different versions. Files: javax.mail-api-1.5.6.jar and mail-1.4.5.jar
Note that I have never provided javax.mail-api-1.5.6.jar anywhere. So what you have written above seems false to me from the start. For the third time (after issue #1), what is documented is to copy the file confluence-6.2.3/confluence/WEB-INF/lib/mail-1.4.5.jar to confluence-6.2.3/lib/mail-1.4.5.jar.
And you said that you have a warning on startup about duplicates for a package with different versions. It may better if you have used the same mail-1.4.5.jar as it is documented. Anyway you said you are receiving mails, that's good and a warning is not blocking the mails.
So you may try to do as documented and you may enjoy the mails you receive.
Hi, Scenario 1: javax.mail-api-1.5.6.jar is provided by JIRA/Confluence. I agree that the warning can be ignored. I just wanted to let you know, may be you can workaround this in future.
Scenario 2: In latest versions of JIRA we tried the mails by copying mail-1.4.5.jar on both locations but we are getting the same error of "Caused by: java.lang.NoClassDefFoundError: javax/mail/Authenticator".
Can you let us know how to debug this?
Thanks
Hi, (I am creating this issue as you closed the earlier issue:1)
We are facing issue with javamelody periodic mails due to mail jar related issues. The issue is common for JIRA and Confluence server
There are following two issues:
Scenario 1: When mail jar provided by you is copied in ${JIRA_INSTALL}/lib/
Result: We are receiving mails. But we have warning on startup.
**WARNING**: JIRA-Bootstrap WARN [o.twdata.pkgscanner.ExportPackageListBuilder] Package Scanner found duplicates for package 'javax.mail.event' with different versions. Files: javax.mail-api-1.5.6.jar and mail-1.4.5.jar
Scenario2 : When we are not using your mail.x.x.x jar
Result: We are not getting mails. But the following error:
Cause