[frs-257] FusionReactor can’t send mail on Jetty 7.4.4

Introduction

Jetty 7.4.4 is a supported platform for FusionReactor 4.0.x but when attempting to run Jetty after installing FusionReactor the following stack trace is displayed at start up:

java.lang.NoClassDefFoundError: javax/mail/Authenticator
        at com.intergral.fusionreactor.c.d.en(Monitor.java:437)
        at com.intergral.fusionreactor.c.d.cn(Monitor.java:339)
        at com.intergral.fusionreactor.c.d.dn(Monitor.java:262)
        at com.intergral.fusionreactor.c.d.ln(Monitor.java:175)
        at com.intergral.fusionreactor.c.d.b(Monitor.java:126)
        at com.intergral.fusionreactor.core.v.ic(FusionReactor.java:2896)
        at com.intergral.fusionreactor.federated.b.run(FederatedDataWorker.java:
299)
Caused by: java.lang.ClassNotFoundException: javax.mail.Authenticator
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 7 more

The FusionReactor instance is still accessible and running and appears to be running fine. However, when attempting to use the mailing functionality in FusionReactor this will not work. When for example clicking the 'Test Email' link in FusionReactor Settings the returned response is: Bad request or server internal error: javax/mail/MessagingException

The following Technote will describe how to resolve the Java Mail dependency issue. The example is using version jetty-distribution-7.4.4.v20110707 of the Jetty Web server running on Microsoft Windows.

JavaMail API dependency

The stack trace displayed above is being thrown because FusionReactor requires the JavaMail API jar file to be present and loaded by the server.

To make the JavaMail jar (mail.jar) available for use by FusionReactor follow these short steps:

Issue Details

Type: Technote
Issue Number: FRS-257
Components: Installer
Environment:
Resolution: Fixed
Last Updated: 09/Aug/11 1:05 PM
Affects Version:
Fixed Version: 4.0.0
Server: Jetty
Platform:
Related Issues:

Comments are closed.