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:
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.
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:
- Download the JavaMail jar attached to this Technote, or from: http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-eeplat-419426.html#7369-java_mail-1.1.3-class-oth-JSpec
- Place the mail.jar file in Jetty's ext lib folder located at libext under the root server directory. The fusionreactor.jar is also located in this folder.
- Restart jetty by using java -jar start.jar to observe the start up procedure.
- The above exception should no longer be displayed and the mailing functionality in FusionRector should be working as expected.
|Last Updated:||09/Aug/11 1:05 PM|