type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
java.lang.RuntimeException: javax.naming.NameNotFoundException: Name mail is not bound in this Context net.bull.javamelody.Action.mailTest(Action.java:268) net.bull.javamelody.Action.execute(Action.java:163) net.bull.javamelody.MonitoringController.executeActionIfNeeded(MonitoringController.java:122) net.bull.javamelody.MonitoringFilter.doMonitoring(MonitoringFilter.java:308) net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:150)
root cause
javax.naming.NameNotFoundException: Name mail is not bound in this Context org.apache.naming.NamingContext.lookup(NamingContext.java:820) org.apache.naming.NamingContext.lookup(NamingContext.java:168) org.apache.naming.SelectorContext.lookup(SelectorContext.java:158) javax.naming.InitialContext.lookup(InitialContext.java:392) net.bull.javamelody.Mailer.getSession(Mailer.java:79) net.bull.javamelody.Mailer.send(Mailer.java:138) net.bull.javamelody.MailReport.sendReportMail(MailReport.java:151) net.bull.javamelody.MailReport.sendReportMailForLocalServer(MailReport.java:129) net.bull.javamelody.Action.mailTest(Action.java:261) net.bull.javamelody.Action.execute(Action.java:163) net.bull.javamelody.MonitoringController.executeActionIfNeeded(MonitoringController.java:122) net.bull.javamelody.MonitoringFilter.doMonitoring(MonitoringFilter.java:308) net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:150)
note The full stack trace of the root cause is available in the Apache Tomcat/7.0.25 logs.
11:11:00.182 [main] DEBUG net.bull.javamelody - parameter defined: mail-session=mail/Session 11:11:00.182 [main] DEBUG net.bull.javamelody - parameter defined: admin-emails=xxx 11:11:00.182 [main] DEBUG net.bull.javamelody - parameter defined: mail-periods=day,week,month ... 11:11:00.792 [main] DEBUG net.bull.javamelody - mail report for the day period scheduled with next execution date at Wed Aug 18 00:00:00 CES T 2010 11:11:00.792 [main] DEBUG net.bull.javamelody - mail report for the week period scheduled with next execution date at Sun Aug 22 00:00:00 CE ST 2010 11:11:00.792 [main] DEBUG net.bull.javamelody - mail report for the month period scheduled with next execution date at Wed Sep 01 00:00:00 C EST 2010 11:11:00.792 [main] DEBUG net.bull.javamelody - mail reports scheduled for xxx 11:11:00.792 [main] DEBUG net.bull.javamelody - JavaMelody filter init done