Problem
If you use SMTPAppender of log4j to send mail upon log event from an ADF Fusion application and you cannot get the mail...
Solution
...then probably you have not add JavaMail's jars as lib dependencies to your Project.
If you use SMTPAppender of log4j to send mail upon log event from an ADF Fusion application and you cannot get the mail...
Solution
...then probably you have not add JavaMail's jars as lib dependencies to your Project.
The error is thrown actually but you ll never see it when running for example the app module. If you run in a simple java class (see the link below for a tester one) you ll you get the exception complaining for the missing class.
Dig more:
- http://adfhowto.blogspot.com/2011/01/use-log4j-in-jdeveloper.html
- http://sdoulger.blogspot.com/2011/02/sending-mails-from-log4j.html
- http://sdoulger.blogspot.com/2011/01/log4j-conversion-patterns-and-overhead.html
No comments:
Post a Comment