-
Suggestion
-
Resolution: Fixed
-
None
When JIRA Standalone is configured to send email through a mail server configured in the app server and exposed by JNDI (see our docs), sending mail breaks with an exception like:
An error has occurred with sending the test email: com.atlassian.mail.MailException: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.naming.factory.MailSessionFactory] at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:179) at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:88) ... Caused by: javax.naming.NamingException: Could not create resource factory instance [Root exception is java.lang.ClassNotFoundException: org.apache.naming.factory.MailSessionFactory] at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:131) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304) at org.apache.naming.NamingContext.lookup(NamingContext.java:792) at org.apache.naming.NamingContext.lookup(NamingContext.java:139)
- was cloned as
-
JRASERVER-13592 Setting transport to SMTPS in JNDI mail resource is broken
- Closed