We are using Jboss 6 Final as our application server.

We have a requirement that on any exception on production server the application should send emails to mentioned email address . I have tried the log4j's SMTP appender which sends email and is running in error mode. But it is quite unfriendly because of its buffer size limitations and in the end we are getting flooded with emails .

I have also tried implementing java.beans.ExceptionListener but Jboss throws an exception that it does not inherit the marker interface java.util.EventListener. I want some suggestions . I am sure this is quite a common used case in web applications. Please suggest some solution.

link|improve this question
1  
This probably belongs on stackoverflow. – MIfe Nov 30 '11 at 15:53
What a funny thing this has been ! Someone suggested me to post the issue on serverfault. Now you are asking me to put it again on stackoverflow. Strangely I am not getting the solution on either sites. Have a look at the link stackoverflow.com/questions/8328263/… – user367097 Nov 30 '11 at 16:16
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.