After upgrading to 24.3.8 we are unable to send mail from OneClick
search cancel

After upgrading to 24.3.8 we are unable to send mail from OneClick

book

Article ID: 400824

calendar_today

Updated On:

Products

Network Observability Spectrum

Issue/Introduction

We have upgraded to Spectrum 24.3.8 and now we are unable to send mails from OneClick.  The SMTP settings are fine and nothing has changed in our configuration.

When we enable the debug from the OneClick Admin page, Administration tab, Debugging, Web Server Debug page (runtime) and enable the debug for email we can see the following errors:

 

2025-06-02 10:35:17,792 [https-jsse-nio-8443-exec-32] INFO  System.out - DEBUG: getProvider() returning provider protocol=smtp; type=javax.mail.Provider$Type@594860dc; class=org.eclipse.angus.mail.smtp.SMTPTransport; vendor=Or
acle
2025-06-02 10:35:17,792 [https-jsse-nio-8443-exec-32] INFO  com.aprisma.debuglog -  (EMAIL) - Stack Trace for: javax.mail.NoSuchProviderException
2025-06-02 10:35:17,792 [https-jsse-nio-8443-exec-32] WARN  System.err - javax.mail.NoSuchProviderException: Provider class does not have a constructor(Session, URLName): protocol=smtp; type=javax.mail.Provider$Type@594860dc;
class=org.eclipse.angus.mail.smtp.SMTPTransport; vendor=Oracle

 

 

Environment

Spectrum 24.3.8. Linux

Cause

angus-mail-2.0.2.jar file in $SPECROOTU/tomcat/lib on the OneClick server

Resolution

Please move the file angus-mail-2.0.2.jar from $SPECROOT/tomcat/lib into a location outside of $SPECROOT and restart Spectrum tomcat.

Then you should be able to send mails from OneClick.

Additional Information

Problem has also been seen in Spectrum 24.3.9 for Windows (but not for Linux)

 

SMTPTrasport class present in both geronimo-javamail jar and angus-mail-2.0.2.jar and because of this there is a conflict.