Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
4.0
-
4
-
Description
A customer reporting a problem where they are using JNDI mail server intergration. However when this is the case the mail jar needs to be available to Tomcat.
In their case they where running standalone and hence we could have shipped with the mail jar in the common/lib for this configuration.
2009-10-26 23:22:06,022 http-8080-Processor22 ERROR janek.bogucki 84126x70x1 ubrobb http://jira.studylink.com:8080/secure/admin/SendTestMail.jspa [webwork.dispatcher.ServletDispatcher] Could not execute action
java.lang.NoClassDefFoundError: javax/mail/Authenticator
at org.apache.naming.factory.MailSessionFactory.getObjectInstance(MailSessionFactory.java:105)
at org.apache.naming.factory.ResourceFactory.getObjectInstance(ResourceFactory.java:140)
at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
at javax.naming.InitialContext.lookup(InitialContext.java:392)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.getJndiSession(SMTPMailServerImpl.java:161)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.getSession(SMTPMailServerImpl.java:110)
at com.atlassian.mail.server.impl.SMTPMailServerImpl.send(SMTPMailServerImpl.java:169)
at com.atlassian.jira.web.action.admin.mail.SendTestMail.doExecute(SendTestMail.java:88)
at webwork.action.ActionSupport.execute(ActionSupport.java:153)
We also should update the documentation as well
An anonymous post has indicate that this is necessary.
Attachments
Issue Links
- blocks
-
JRASERVER-19576 remove note about mail JAR from the 'SMTP Mail Configuration" docs (pending parent issue)
- Closed
- details
-
JRASERVER-19576 remove note about mail JAR from the 'SMTP Mail Configuration" docs (pending parent issue)
- Closed
-
JRASERVER-19603 add note about mail JAR to the 'SMTP Mail Configuration" docs
- Closed