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-26 Thread Emmanuel Venisse

You can use your ISP smtp server ;) like for all your mails

Emmanuel

Robert O a écrit :

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
 .runTask

Continuum Emails

2007-08-09 Thread Morgovsky, Alexander \(US - Glen Mills\)
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.sendM
essage(MailContinuumNotifier.java:415)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
Complete(MailContinuumNotifier.java:319)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendN
otification(MailContinuumNotifier.java:211)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBui
ld(DefaultBuildController.java:219)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:173)
at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
uteTask(BuildProjectTaskExecutor.java:50)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask
.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error
while sending the message.
at
org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
AbstractJavamailMailSender.java:219)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM
essage(MailContinuumNotifier.java:411)
... 14 more

I configured the
continuum-1.1-alpha-2\apps\continuum\webapp\WEB-INF\classes\META-INF\ple
xus\application.xml with the following:

component
  roleorg.codehaus.plexus.mailsender.MailSender/role
 
implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMail
Sender/implementation
  configuration

jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
smtp-hosta.b.c.d/smtp-host
smtp-porte/smtp-port
  /configuration
/component

Could someone please explain what I am doing wrong?

Thank you. 


This message (including any attachments) contains confidential information 
intended for a specific individual and purpose, and is protected by law.  If 
you are not the intended recipient, you should delete this message. 


Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]


Re: Continuum Emails

2007-08-09 Thread Emmanuel Venisse

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.sendM
essage(MailContinuumNotifier.java:415)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
Complete(MailContinuumNotifier.java:319)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendN
otification(MailContinuumNotifier.java:211)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
at
org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBui
ld(DefaultBuildController.java:219)
at
org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
DefaultBuildController.java:173)
at
org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
uteTask(BuildProjectTaskExecutor.java:50)
at
org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
at
edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
.call(Executors.java:442)
at
edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask
.java:176)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.runTask(ThreadPoolExecutor.java:665)
at
edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
.run(ThreadPoolExecutor.java:690)
at java.lang.Thread.run(Thread.java:534)
Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error
while sending the message.
at
org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
AbstractJavamailMailSender.java:219)
at
org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM
essage(MailContinuumNotifier.java:411)
... 14 more

I configured the
continuum-1.1-alpha-2\apps\continuum\webapp\WEB-INF\classes\META-INF\ple
xus\application.xml with the following:

component
  roleorg.codehaus.plexus.mailsender.MailSender/role
 
implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMail

Sender/implementation
  configuration

jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
smtp-hosta.b.c.d/smtp-host
smtp-porte/smtp-port
  /configuration
/component

Could someone please explain what I am doing wrong?

Thank you. 



This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law.  If you are not the intended recipient, you should delete this message. 



Any disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited. [v.E.1]





RE: Continuum Emails

2007-08-09 Thread Morgovsky, Alexander (US - Glen Mills)
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.sendM
 essage(MailContinuumNotifier.java:415)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build
 Complete(MailContinuumNotifier.java:319)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendN
 otification(MailContinuumNotifier.java:211)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:198)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
 atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:150)
   at
 org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp
 atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103)
   at
 org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBui
 ld(DefaultBuildController.java:219)
   at
 org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(
 DefaultBuildController.java:173)
   at
 org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec
 uteTask(BuildProjectTaskExecutor.java:50)
   at
 org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut
 orRunnable$1.run(ThreadedTaskQueueExecutor.java:116)
   at
 edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter
 .call(Executors.java:442)
   at
 edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask
 .java:176)
   at
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
 .runTask(ThreadPoolExecutor.java:665)
   at
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker
 .run(ThreadPoolExecutor.java:690)
   at java.lang.Thread.run(Thread.java:534)
 Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error
 while sending the message.
   at
 org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(
 AbstractJavamailMailSender.java:219)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM
 essage(MailContinuumNotifier.java:411)
   ... 14 more
 
 I configured the
 continuum-1.1-alpha-2\apps\continuum\webapp\WEB-INF\classes\META-INF\ple
 xus\application.xml with the following:
 
 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
  
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMail
 Sender/implementation
   configuration
   
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
   smtp-hosta.b.c.d/smtp-host
   smtp-porte/smtp-port
   /configuration
 /component
 
 Could someone please explain what I am doing wrong?
 
 Thank you. 
 
 
 This message (including any attachments) contains confidential information 
 intended for a specific individual and purpose, and is protected by law.  If 
 you are not the intended recipient, you should delete this message. 
 
 
 Any disclosure, copying, or distribution of this message, or the taking of 
 any action based on it, is strictly prohibited. [v.E.1]
 



RE: Continuum Emails

2007-08-09 Thread LAMY Olivier
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
 .runTask(ThreadPoolExecutor.java:665)
   at
 edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Work
 er
 .run(ThreadPoolExecutor.java:690)
   at java.lang.Thread.run(Thread.java:534)
 Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error 
 while sending the message.
   at
 org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.sen
 d(
 AbstractJavamailMailSender.java:219)
   at
 org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sen
 dM
 essage(MailContinuumNotifier.java:411)
   ... 14 more
 
 I configured the
 continuum-1.1-alpha-2\apps\continuum\webapp\WEB-INF\classes\META-INF\p
 le xus\application.xml with the following:
 
 component
   roleorg.codehaus.plexus.mailsender.MailSender/role
  
 implementationorg.codehaus.plexus.mailsender.javamail.JndiJavamailMa
 il
 Sender/implementation
   configuration
   
 jndiSessionNamejava:comp/env/mail/Session/jndiSessionName
   smtp-hosta.b.c.d/smtp-host
   smtp-porte/smtp-port
   /configuration
 /component
 
 Could someone please explain what I am doing wrong?
 
 Thank you. 
 
 
 This message (including any attachments) contains confidential information 
 intended for a specific individual and purpose, and is protected by law.  If 
 you are not the intended recipient, you should delete this message. 
 
 
 Any disclosure, copying, or distribution of this message, or the 
 taking of any action based on it, is strictly prohibited. [v.E.1]
 


This e-mail, any attachments and the information contained therein (this 
message) are confidential and intended solely for the use of the addressee(s). 
If you have received this message in error please send it back to the sender 
and delete it. Unauthorized publication, use, dissemination or disclosure of 
this message, either in whole or in part is strictly prohibited