Grails plugin mail reports

15 views
Skip to first unread message

Theo Grip

unread,
Sep 29, 2011, 1:57:00 PM9/29/11
to javam...@googlegroups.com
Hi,

I have a question regarding the mailing of the reports with the Grails plugin.
I am using Version 1.5 of the plugin on Grails 1.3.4
I added the mail session resource to my Tomcat server.xml, as
explained in http://code.google.com/p/javamelody/wiki/UserGuide#13._Weekly,_daily_or_monthly_reports_by_mail
Then I added the following values to GrailsMelodyConfig:
javamelody.'admin-emails', javamelody.'mail-periods' and
javamelody.'mail-session'.
However, I do not receive any mail. Are these properties from Grails
melody config correctly added?
Is there any url I can try to send an test email to see if it is working?

Thanks and best regards
Theo

Emeric Vernat

unread,
Sep 30, 2011, 1:07:51 PM9/30/11
to javam...@googlegroups.com
Hi,

I should ask: If you have set a parameter for the daily period, have you
waited one day? (same with one week for the week period parameter).

Can you enable the debugging logs and say what is printed when the
webapps starts?
(there is a log example in the url below)
http://code.google.com/p/javamelody/wiki/UserGuideAdvanced#Debugging_logs

"Is there any url I can try to send an test email to see if it is working?":
No, but this is a very good idea and I have created an enhancement for that.
http://code.google.com/p/javamelody/issues/detail?id=145

bye,
Emeric


Le 29/09/2011 19:57, Theo Grip a �crit :

tgrip

unread,
Oct 4, 2011, 3:13:01 PM10/4/11
to javamelody
Hi Eric,

thanks for your reply, and adding and resolving the issue.
With the log debugging I could see that the problem was in the lookup
for the mail session.
Now I have tested the lookup, and hope I will get a mail at
midnight :)

Thanks and best regards
Theo

On Sep 30, 12:07 pm, Emeric Vernat <ever...@free.fr> wrote:
> Hi,
>
> I should ask: If you have set a parameter for the daily period, have you
> waited one day? (same with one week for the week period parameter).
>
> Can you enable the debugging logs and say what is printed when the
> webapps starts?
> (there is a log example in the url below)http://code.google.com/p/javamelody/wiki/UserGuideAdvanced#Debugging_...
>
> "Is there any url I can try to send an test email to see if it is working?":
> No, but this is a very good idea and I have created an enhancement for that.http://code.google.com/p/javamelody/issues/detail?id=145
>
> bye,
> Emeric
>
> Le 29/09/2011 19:57, Theo Grip a crit :> Hi,
>
> > I have a question regarding the mailing of the reports with the Grails plugin.
> > I am using Version 1.5 of the plugin on Grails 1.3.4
> > I added the mail session resource to my Tomcat server.xml, as
> > explained inhttp://code.google.com/p/javamelody/wiki/UserGuide#13._Weekly,_daily_...
Reply all
Reply to author
Forward
0 new messages