You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Anatol Pomozov (JIRA)" <ji...@codehaus.org> on 2006/05/12 14:14:41 UTC

[jira] Created: (CONTINUUM-694) Add proxy configuration support for notifiers

Add proxy configuration support for notifiers
---------------------------------------------

         Key: CONTINUUM-694
         URL: http://jira.codehaus.org/browse/CONTINUUM-694
     Project: Continuum
        Type: Improvement

  Components: MSN Notifier, Mail Notifier, Jabber Notifier, IRC Notifier, AOL Notifier  
    Versions: 1.0.3    
    Reporter: Anatol Pomozov


I would like to use Continuum for project, but I have problem - all ports are proxied. Not only HTTP but also mail and all others.
That is why I cant use mailnotifier. It breaks with error listed below. As I said timeout occures due to port is closed by proxy. I check it only for mail notifier but I beleive that it is related to all other notifiers.

{{
72414 [Thread-2] ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher  - Error while trying to use the mailnotifier.
org.codehaus.plexus.notification.NotificationException: Exception while sending message.
	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:403)
	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:307)
	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:202)
	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:173)
	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96)
	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:378)
	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
	at java.lang.Thread.run(Thread.java:595)
Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error while sending mail.
	at org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(JavamailMailSender.java:217)
	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:399)
	... 8 more
Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
  nested exception is:
	java.net.ConnectException: Connection timed out: connect
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1213)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:311)
	at javax.mail.Service.connect(Service.java:255)
	at javax.mail.Service.connect(Service.java:134)
	at javax.mail.Service.connect(Service.java:86)
	at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
	at javax.mail.Transport.send0(Transport.java:150)
	at javax.mail.Transport.send(Transport.java:80)
	at org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(JavamailMailSender.java:213)
	... 9 more
}}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Closed: (CONTINUUM-694) Add proxy configuration support for notifiers

Posted by "Jesse McConnell (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/CONTINUUM-694?page=all ]

Jesse McConnell closed CONTINUUM-694.
-------------------------------------

    Resolution: Incomplete

think this should have been addressed by emm's comment, but if it is still a problem then by all means get us some feedback and we'll see what we can do.

> Add proxy configuration support for notifiers
> ---------------------------------------------
>
>                 Key: CONTINUUM-694
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-694
>             Project: Continuum
>          Issue Type: Improvement
>          Components: Mail Notifier, IRC Notifier, Jabber Notifier, MSN Notifier, AOL Notifier
>    Affects Versions: 1.0.3
>            Reporter: Anatol Pomozov
>
> I would like to use Continuum for project, but I have problem - all ports are proxied. Not only HTTP but also mail and all others.
> That is why I cant use mailnotifier. It breaks with error listed below. As I said timeout occures due to port is closed by proxy. I check it only for mail notifier but I beleive that it is related to all other notifiers.
> {{
> 72414 [Thread-2] ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher  - Error while trying to use the mailnotifier.
> org.codehaus.plexus.notification.NotificationException: Exception while sending message.
> 	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:403)
> 	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:307)
> 	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:202)
> 	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:173)
> 	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:378)
> 	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error while sending mail.
> 	at org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(JavamailMailSender.java:217)
> 	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:399)
> 	... 8 more
> Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
>   nested exception is:
> 	java.net.ConnectException: Connection timed out: connect
> 	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1213)
> 	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:311)
> 	at javax.mail.Service.connect(Service.java:255)
> 	at javax.mail.Service.connect(Service.java:134)
> 	at javax.mail.Service.connect(Service.java:86)
> 	at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
> 	at javax.mail.Transport.send0(Transport.java:150)
> 	at javax.mail.Transport.send(Transport.java:80)
> 	at org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(JavamailMailSender.java:213)
> 	... 9 more
> }}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (CONTINUUM-694) Add proxy configuration support for notifiers

Posted by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/CONTINUUM-694?page=comments#action_68349 ] 

Emmanuel Venisse commented on CONTINUUM-694:
--------------------------------------------

do you have tested java properties for proxies? http.proxyHost, http.proxyPort... (http://java.sun.com/j2se/1.4.2/docs/guide/net/properties.html)

> Add proxy configuration support for notifiers
> ---------------------------------------------
>
>          Key: CONTINUUM-694
>          URL: http://jira.codehaus.org/browse/CONTINUUM-694
>      Project: Continuum
>         Type: Improvement

>   Components: MSN Notifier, Mail Notifier, Jabber Notifier, IRC Notifier, AOL Notifier
>     Versions: 1.0.3
>     Reporter: Anatol Pomozov

>
>
> I would like to use Continuum for project, but I have problem - all ports are proxied. Not only HTTP but also mail and all others.
> That is why I cant use mailnotifier. It breaks with error listed below. As I said timeout occures due to port is closed by proxy. I check it only for mail notifier but I beleive that it is related to all other notifiers.
> {{
> 72414 [Thread-2] ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher  - Error while trying to use the mailnotifier.
> org.codehaus.plexus.notification.NotificationException: Exception while sending message.
> 	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:403)
> 	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:307)
> 	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:202)
> 	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:173)
> 	at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96)
> 	at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:378)
> 	at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:47)
> 	at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
> 	at java.lang.Thread.run(Thread.java:595)
> Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error while sending mail.
> 	at org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(JavamailMailSender.java:217)
> 	at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:399)
> 	... 8 more
> Caused by: javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
>   nested exception is:
> 	java.net.ConnectException: Connection timed out: connect
> 	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1213)
> 	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:311)
> 	at javax.mail.Service.connect(Service.java:255)
> 	at javax.mail.Service.connect(Service.java:134)
> 	at javax.mail.Service.connect(Service.java:86)
> 	at com.sun.mail.smtp.SMTPTransport.connect(SMTPTransport.java:144)
> 	at javax.mail.Transport.send0(Transport.java:150)
> 	at javax.mail.Transport.send(Transport.java:80)
> 	at org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(JavamailMailSender.java:213)
> 	... 9 more
> }}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira