You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by "Harper, Brad" <br...@epsiia.com> on 2008/09/12 16:50:55 UTC
Configuring E-Mail Notification, Continuum vs. Plexus?
I've been running Continuum with an e-mail notifier [defined via the web
interface], but don't receive e-mail notifications as expected.
In trying to troubleshoot the issue, I see info at
http://continuum.apache.org/configuration.html
indicating that Mail Notification configuration occurs in
apps/continuum/conf/application.xml
[which I'm interpreting to mean
/path/to/continuum/apps/continuum/conf/application.xml]
... while the codehaus faq at
http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+FAQ
refers to
/path/to/continuum/conf/plexus.xml
in a question about configuring the smtp server.
Can someone point me in the correct direction?
Apart from that, can anyone offer a short summary of the relationship
between plexus and continuum and how to think about configuring each
separately?
Thanks.
Brad
Re: Configuring E-Mail Notification, Continuum vs. Plexus?
Posted by Brett Porter <br...@gmail.com>.
You probably already have the mail configuration correct. Continuum doesn't
send a mail on consecutive successful builds unless you change the
configuration.
Try having the build fail and you should see the mail sent (assuming your
notifier is also configured correctly).
- Brett
2008/9/16 Harper, Brad <br...@epsiia.com>
> So, I've configured smtp host, etc. in the plexus.xml file. That seems
> correct per the directions at
> http://docs.codehaus.org/display/CONTINUUMUSER/Deploying.
>
> Is there a schema/DTD for application.xml file? The info at
> http://continuum.apache.org/configuration.html isn't giving anything
> away and the actual file in the distro doesn't hint; I'm expecting
> another element/tag to group the individual mail configuration entries
> ... or am I missing something. [Or making things more difficult than
> necessary? It wouldn't be first time.]
>
> The logs contain
>
> 62670 [pool-1-thread-1] INFO
> org.codehaus.plexus.notification.notifier.Notifier:mail - Same state,
> not sending message.
> 174962686 [pool-1-thread-1] INFO
> org.codehaus.plexus.notification.notifier.Notifier:mail - Same state,
> not sending message.
>
> Thanks.
>
> Brad
>
> > -----Original Message-----
> > From: Brett Porter [mailto:brett.porter@gmail.com]
> > Sent: Monday, September 15, 2008 6:35 AM
> > To: users@continuum.apache.org
> > Subject: Re: Configuring E-Mail Notification, Continuum vs. Plexus?
> >
> > conf/plexus.xml is for the application server - it will be
> > replaced by jetty.xml in Continuum 1.2 (and if you are
> > running as a WAR, it is you standard application server JNDI
> > resource for mail).
> > The application.xml is Continuum component configuration,
> > which should be the correct one to change for configuration
> > of the mail sending, but not the connection to the mail server itself.
> >
> > Is there anything in the logs when it tries? Does it conect
> > to the SMTP server at all?
> >
> > - Brett
> >
> > 2008/9/13 Harper, Brad <br...@epsiia.com>
> >
> > >
> > > I've been running Continuum with an e-mail notifier
> > [defined via the
> > > web interface], but don't receive e-mail notifications as expected.
> > >
> > > In trying to troubleshoot the issue, I see info at
> > > http://continuum.apache.org/configuration.html
> > > indicating that Mail Notification configuration occurs in
> > >
> > > apps/continuum/conf/application.xml
> > >
> > > [which I'm interpreting to mean
> > >
> > > /path/to/continuum/apps/continuum/conf/application.xml]
> > >
> > > ... while the codehaus faq at
> > > http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+FAQ
> > > refers to
> > >
> > > /path/to/continuum/conf/plexus.xml
> > >
> > > in a question about configuring the smtp server.
> > >
> > > Can someone point me in the correct direction?
> > >
> > > Apart from that, can anyone offer a short summary of the
> > relationship
> > > between plexus and continuum and how to think about
> > configuring each
> > > separately?
> > >
> > > Thanks.
> > >
> > > Brad
> > >
> >
> >
> >
> > --
> > Brett Porter
> > Blog: http://blogs.exist.com/bporter/
> >
>
--
Brett Porter
Blog: http://blogs.exist.com/bporter/
RE: Configuring E-Mail Notification, Continuum vs. Plexus?
Posted by "Harper, Brad" <br...@epsiia.com>.
So, I've configured smtp host, etc. in the plexus.xml file. That seems
correct per the directions at
http://docs.codehaus.org/display/CONTINUUMUSER/Deploying.
Is there a schema/DTD for application.xml file? The info at
http://continuum.apache.org/configuration.html isn't giving anything
away and the actual file in the distro doesn't hint; I'm expecting
another element/tag to group the individual mail configuration entries
... or am I missing something. [Or making things more difficult than
necessary? It wouldn't be first time.]
The logs contain
62670 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail - Same state,
not sending message.
174962686 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail - Same state,
not sending message.
Thanks.
Brad
> -----Original Message-----
> From: Brett Porter [mailto:brett.porter@gmail.com]
> Sent: Monday, September 15, 2008 6:35 AM
> To: users@continuum.apache.org
> Subject: Re: Configuring E-Mail Notification, Continuum vs. Plexus?
>
> conf/plexus.xml is for the application server - it will be
> replaced by jetty.xml in Continuum 1.2 (and if you are
> running as a WAR, it is you standard application server JNDI
> resource for mail).
> The application.xml is Continuum component configuration,
> which should be the correct one to change for configuration
> of the mail sending, but not the connection to the mail server itself.
>
> Is there anything in the logs when it tries? Does it conect
> to the SMTP server at all?
>
> - Brett
>
> 2008/9/13 Harper, Brad <br...@epsiia.com>
>
> >
> > I've been running Continuum with an e-mail notifier
> [defined via the
> > web interface], but don't receive e-mail notifications as expected.
> >
> > In trying to troubleshoot the issue, I see info at
> > http://continuum.apache.org/configuration.html
> > indicating that Mail Notification configuration occurs in
> >
> > apps/continuum/conf/application.xml
> >
> > [which I'm interpreting to mean
> >
> > /path/to/continuum/apps/continuum/conf/application.xml]
> >
> > ... while the codehaus faq at
> > http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+FAQ
> > refers to
> >
> > /path/to/continuum/conf/plexus.xml
> >
> > in a question about configuring the smtp server.
> >
> > Can someone point me in the correct direction?
> >
> > Apart from that, can anyone offer a short summary of the
> relationship
> > between plexus and continuum and how to think about
> configuring each
> > separately?
> >
> > Thanks.
> >
> > Brad
> >
>
>
>
> --
> Brett Porter
> Blog: http://blogs.exist.com/bporter/
>
Re: Configuring E-Mail Notification, Continuum vs. Plexus?
Posted by Brett Porter <br...@gmail.com>.
conf/plexus.xml is for the application server - it will be replaced by
jetty.xml in Continuum 1.2 (and if you are running as a WAR, it is you
standard application server JNDI resource for mail).
The application.xml is Continuum component configuration, which should be
the correct one to change for configuration of the mail sending, but not the
connection to the mail server itself.
Is there anything in the logs when it tries? Does it conect to the SMTP
server at all?
- Brett
2008/9/13 Harper, Brad <br...@epsiia.com>
>
> I've been running Continuum with an e-mail notifier [defined via the web
> interface], but don't receive e-mail notifications as expected.
>
> In trying to troubleshoot the issue, I see info at
> http://continuum.apache.org/configuration.html
> indicating that Mail Notification configuration occurs in
>
> apps/continuum/conf/application.xml
>
> [which I'm interpreting to mean
>
> /path/to/continuum/apps/continuum/conf/application.xml]
>
> ... while the codehaus faq at
> http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+FAQ
> refers to
>
> /path/to/continuum/conf/plexus.xml
>
> in a question about configuring the smtp server.
>
> Can someone point me in the correct direction?
>
> Apart from that, can anyone offer a short summary of the relationship
> between plexus and continuum and how to think about configuring each
> separately?
>
> Thanks.
>
> Brad
>
--
Brett Porter
Blog: http://blogs.exist.com/bporter/