Re: Continuum Emails

2007-09-26 Thread Robert O

Hi!

Right now I'm at my job and don't have the stacktrace, but from what I can
remember it's the same as posted in the first post of this thread (I will
anyway post it later today). 

I have not setup any smtp server, because I thought maybe it came along with
continuum (as a part/component of plexus or something)?

But if I understand you correctly what you are saying is that I need a local
smtp-server that I configure Continuum to use, a 3rd party service? (If that
is the case, do you know any good smtp server i should use?)

Robert





Emmanuel Venisse wrote:
 
 Do you have a stacktrace or something in logs?
 
 Do you use a local smtp server or a remote smtp server and is it required
 a known email address for the sender?
 
 Emmanuel
 
 Robert O a écrit :
 Hi
 
 I've tried to follow your explanation on how to configure the
 mailnotifier,
 but I can't get it to work. Just keeps getting the errormessage:  Error
 while trying to use the mailnotifier.
 
 I thought the mailnotifier would work more or less out of the box when
 installing Continuum? Do i need to install a 3rd party mail-server or
 something?
 
 I'm using the continuum-1.1-beta-2 locally on Windows XP. Continuum runs
 with the bundled jetty server, and I thought that or the plexus thing
 (which
 I don't know what is :) would provide me with some mail-functionality 
 
 I haven't found much helpful documentation on the topic, just some hints
 on
 the official Continuum website. Maybe someone knows some good resources?
 
 Thanks
 
 Robert
 
 
 
 amorgovsky wrote:
 Thank you for your help. 

 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 10, 2007 2:50 AM
 To: continuum-users@maven.apache.org
 Subject: Re: Continuum Emails

 No.

 In conf/plexus.xml, you must have something like that:

  resources
!--
 Mail Session
--
resource
  namemail/Session/name
  typejavax.mail.Session/type
  properties
property
  namemail.smtp.host/name
  valuelocalhost/value
/property
property
  namemail.smtp.port/name
  value25/value
/property
  /properties
/resource

 and in application.xml, you must keep the component declaration like it
 iwas when you installed Continuum:

  component
roleorg.codehaus.plexus.mailsender.MailSender/role
   
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
configuration
  jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
/configuration
  /component

 Emmanuel

 LAMY Olivier a écrit :
 Yep. 

 -Message d'origine-
 De : Morgovsky, Alexander (US - Glen Mills)
 [mailto:[EMAIL PROTECTED] 
 Envoyé : vendredi 10 août 2007 00:36
 À : continuum-users@maven.apache.org
 Objet : RE: Continuum Emails

 Does this mean that I should put the whole component node into
 plexus.xml?

 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
  
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
   configuration
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
smtp-host/smtp-host
 smtp-port/smtp-port
   /configuration
 /component 

 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 09, 2007 5:18 PM
 To: continuum-users@maven.apache.org
 Subject: Re: Continuum Emails

 the jndi conf must be done in conf/plexus.xml

 Morgovsky, Alexander (US - Glen Mills) a écrit :
 I am using Continuum 1.1-alpha-2.  I have noticed that my Continuum 
 instance is not sending out emails.  In the logs I found the error:

 [pool-1-thread-1] ERROR
 org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
 default  - Error while trying to use the mailnotifier.
 org.codehaus.plexus.notification.NotificationException: Exception 
 while sending message.
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dM
 essage(MailContinuumNotifier.java:415)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.bui
 ld
 Complete(MailContinuumNotifier.java:319)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dN
 otification(MailContinuumNotifier.java:211)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103

RE: Continuum Emails

2007-09-25 Thread Robert O

Hi

I've tried to follow your explanation on how to configure the mailnotifier,
but I can't get it to work. Just keeps getting the errormessage:  Error
while trying to use the mailnotifier.

I thought the mailnotifier would work more or less out of the box when
installing Continuum? Do i need to install a 3rd party mail-server or
something?

I'm using the continuum-1.1-beta-2 locally on Windows XP. Continuum runs
with the bundled jetty server, and I thought that or the plexus thing (which
I don't know what is :) would provide me with some mail-functionality 

I haven't found much helpful documentation on the topic, just some hints on
the official Continuum website. Maybe someone knows some good resources?

Thanks

Robert



amorgovsky wrote:
 
 Thank you for your help. 
 
 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED] 
 Sent: Friday, August 10, 2007 2:50 AM
 To: continuum-users@maven.apache.org
 Subject: Re: Continuum Emails
 
 No.
 
 In conf/plexus.xml, you must have something like that:
 
  resources
!--
 Mail Session
--
resource
  namemail/Session/name
  typejavax.mail.Session/type
  properties
property
  namemail.smtp.host/name
  valuelocalhost/value
/property
property
  namemail.smtp.port/name
  value25/value
/property
  /properties
/resource
 
 and in application.xml, you must keep the component declaration like it
 iwas when you installed Continuum:
 
  component
roleorg.codehaus.plexus.mailsender.MailSender/role
   
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
configuration
  jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
/configuration
  /component
 
 Emmanuel
 
 LAMY Olivier a écrit :
 Yep. 
 
 -Message d'origine-
 De : Morgovsky, Alexander (US - Glen Mills)
 [mailto:[EMAIL PROTECTED] 
 Envoyé : vendredi 10 août 2007 00:36
 À : continuum-users@maven.apache.org
 Objet : RE: Continuum Emails
 
 Does this mean that I should put the whole component node into
 plexus.xml?
 
 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
  
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender/implementation
   configuration
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
  smtp-host/smtp-host
 smtp-port/smtp-port
   /configuration
 /component 
 
 -Original Message-
 From: Emmanuel Venisse [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 09, 2007 5:18 PM
 To: continuum-users@maven.apache.org
 Subject: Re: Continuum Emails
 
 the jndi conf must be done in conf/plexus.xml
 
 Morgovsky, Alexander (US - Glen Mills) a écrit :
 I am using Continuum 1.1-alpha-2.  I have noticed that my Continuum 
 instance is not sending out emails.  In the logs I found the error:

 [pool-1-thread-1] ERROR
 org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:
 default  - Error while trying to use the mailnotifier.
 org.codehaus.plexus.notification.NotificationException: Exception 
 while sending message.
 at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dM
 essage(MailContinuumNotifier.java:415)
 at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.bui
 ld
 Complete(MailContinuumNotifier.java:319)
 at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dN
 otification(MailContinuumNotifier.java:211)
 at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
 at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
 at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDi
 sp
 atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
 at
 org.apache.maven.continuum.buildcontroller.DefaultBuildController.endB
 ui
 ld(DefaultBuildController.java:219)
 at
 org.apache.maven.continuum.buildcontroller.DefaultBuildController.buil
 d(
 DefaultBuildController.java:173)
 at
 org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.ex
 ec
 uteTask(BuildProjectTaskExecutor.java:50)
 at
 org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exec
 ut
 orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
 at
 edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapt
 er
 .call(Executors.java:442)
 at
 edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTa
 sk
 .java:176)
 at
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
 er