Hi,
I've upgraded JIRA from 4.2.2 to 4.4.4 and now I cannot send email messages.
I've copied JNDI configuration from old serer.xml to the new one. I've checked for mail and activation jars in WEB-INF/libs of the new installation but it still doesn't work.
What I'm getting when trying to send test email is:
HTTP Status 404 - Could not execute action [SendTestMail]:javax/mail/Authenticator<p><small><small><pre>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
Any ideas?
EDIT:
furbo:/srv/jira-install/jira-4.4.4 # find . -name "*mail*.jar" ./atlassian-jira/WEB-INF/lib/mail-1.4.4.jar ./atlassian-jira/WEB-INF/lib/atlassian-mail-1.25.jar ./atlassian-jira/WEB-INF/lib/commons-jelly-tags-email-1.0.jar furbo:/srv/jira-install/jira-4.4.4 # find . -name "*activ*.jar" ./atlassian-jira/WEB-INF/lib/activeobjects-spi-0.17.2.6.jar ./atlassian-jira/WEB-INF/lib/activation-1.1.1.jar
Yeah, thanks a lot. I bet it wil be something small and easy to miss, so any hints like that are appreciated!
Ah, good - it was duplicate jars breaking my mail last time I broke it, so I thought it was worth ruling out.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nah, I've created new dir [Jira-4.4.4] under my JIRA_INSTALL directory and installation files are there. So nothing was overwritten. I've moved old files completely away so there's no chance they interfere. I've updated the question with some find calls.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
When you "upgraded", did you install a completely new, clean Jira, or did you overwrite the existing one?
Also, what does the log say as Jira starts up? Specifically, anything about duplicate .jars, classpaths, etc?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
not really simply because the only plugin I've used [apart from greenhopper] is not compatible with Jira 4.4 :/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mm, if you're you're using JIRAs in build send a test mail, Id suspect a bug. Mind you, Ive just installed 4.4.4 and able able to send mail to gmail. Could a third part plugin be at fault?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.