You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by I am Who i am <ra...@gmail.com> on 2007/09/27 22:55:41 UTC
email problem
Hi
Where do i configure my email server host and port in continuum beta-3?
Thanks
Re: email problem
Posted by Dan Tran <da...@gmail.com>.
should be in one of those xml file under directory named 'conf'
On 9/27/07, I am Who i am <ra...@gmail.com> wrote:
> Hi
>
> Where do i configure my email server host and port in continuum beta-3?
>
> Thanks
>
Re: email problem
Posted by olivier lamy <ol...@apache.org>.
{cont_home}/apps/continuum/webapp/WEB-INF/classess/META-INF/pluxus/application.xml
Here {cont_home}/conf/plexus.xml
Search
<property>
<name>mail.smtp.host</name>
<value>localhost</value>
</property>
<property>
<name>mail.smtp.port</name>
<value>25</value>
</property>
--
Olivier
2007/9/27, I am Who i am <ra...@gmail.com>:
>
> i'm not using tomcat
>
> and there is no provision for it either in application.xml or
> plexus.xmlunder {cont_home}/apps/continuum/conf
>
> i also looked under
>
>
> {cont_home}/apps/continuum/webapp/WEB-INF/classess/META-INF/pluxus/application.xml
>
> i alsot tried to search file containing word "smtp" within continuum
> installation directory nothing came up
>
> i also don't see it configure thru GUI,
>
> what am i missing?
>
> This is the error i'm getting
>
> Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error while
> sending the message.
> at
> org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
> AbstractJavamailMailSender.java:226)
> at
>
> org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage
> (MailContinuumNotifier.java:498)
> ... 14 more
> Caused by: javax.mail.MessagingException: Could not connect to SMTP host:
> localhost, port: 25;
> nested exception is:
> java.net.ConnectException: Connection refused: connect
> at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
> at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java
> :370)
> at javax.mail.Service.connect(Service.java:275)
> at
> org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
> AbstractJavamailMailSender.java:212)
> ... 15 more
> Caused by: java.net.ConnectException: Connection refused: connect
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at java.net.PlainSocketImpl.doConnect(Unknown Source)
> at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
> at java.net.PlainSocketImpl.connect(Unknown Source)
> at java.net.SocksSocketImpl.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
> at java.net.Socket.connect(Unknown Source)
> at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java
> :232)
> at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
> at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
> ... 18 more
>
>
> On 9/27/07, olivier lamy <ol...@apache.org> wrote:
> >
> > With tomcat configure your jndi mail session in the context file[1].
> > With plexus-runtime look in conf/plexus.xml
> >
> > --
> > Olivier
> >
> > [1] http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
> >
> > 2007/9/27, I am Who i am <ra...@gmail.com>:
> > >
> > > Hi
> > >
> > > Where do i configure my email server host and port in continuum
> beta-3?
> > >
> > > Thanks
> > >
> >
>
Re: email problem
Posted by I am Who i am <ra...@gmail.com>.
i'm not using tomcat
and there is no provision for it either in application.xml or
plexus.xmlunder {cont_home}/apps/continuum/conf
i also looked under
{cont_home}/apps/continuum/webapp/WEB-INF/classess/META-INF/pluxus/application.xml
i alsot tried to search file containing word "smtp" within continuum
installation directory nothing came up
i also don't see it configure thru GUI,
what am i missing?
This is the error i'm getting
Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error while
sending the message.
at
org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
AbstractJavamailMailSender.java:226)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage
(MailContinuumNotifier.java:498)
... 14 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host:
localhost, port: 25;
nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java
:370)
at javax.mail.Service.connect(Service.java:275)
at
org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
AbstractJavamailMailSender.java:212)
... 15 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at com.sun.mail.util.SocketFetcher.createSocket(SocketFetcher.java:232)
at com.sun.mail.util.SocketFetcher.getSocket(SocketFetcher.java:189)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1250)
... 18 more
On 9/27/07, olivier lamy <ol...@apache.org> wrote:
>
> With tomcat configure your jndi mail session in the context file[1].
> With plexus-runtime look in conf/plexus.xml
>
> --
> Olivier
>
> [1] http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
>
> 2007/9/27, I am Who i am <ra...@gmail.com>:
> >
> > Hi
> >
> > Where do i configure my email server host and port in continuum beta-3?
> >
> > Thanks
> >
>
Re: email problem
Posted by olivier lamy <ol...@apache.org>.
With tomcat configure your jndi mail session in the context file[1].
With plexus-runtime look in conf/plexus.xml
--
Olivier
[1] http://docs.codehaus.org/display/CONTINUUMUSER/Continuum+on+Tomcat
2007/9/27, I am Who i am <ra...@gmail.com>:
>
> Hi
>
> Where do i configure my email server host and port in continuum beta-3?
>
> Thanks
>