List Info

Thread: SMTP configuration? (Stack Trace)




SMTP configuration? (Stack Trace)
user name
2007-05-29 00:34:53
Do I need to configure SMTP for CommentPlugin?

========================================================
ay 28 21:17:54 ERROR [Thread-17] comment.CommentPlugin -
couldn't send
mail: org.apache.commons.mail.EmailException: Sending the
email to the
following server failed : localhost:25
org.apache.commons.mail.EmailException: Sending the email to
the
following server failed : localhost:25
	at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:873
)
	at org.apache.commons.mail.Email.send(Email.java:898)
	at
org.blojsom.plugin.comment.CommentPlugin.handleEvent(Comment
Plugin.java:779)
	at
org.blojsom.event.SimpleEventBroadcaster$AsynchronousEventBr
oadcaster.run(SimpleEventBroadcaster.java:217)
	at java.lang.Thread.run(Thread.java:613)
Caused by: javax.mail.SendFailedException: Sending failed;
  nested exception is:
	class javax.mail.MessagingException: Could not connect to
SMTP host:
localhost, port: 25;
  nested exception is:
	java.net.ConnectException: Connection refused
	at javax.mail.Transport.send0(Transport.java:218)
	at javax.mail.Transport.send(Transport.java:80)
	at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:863
)

========================================================

-- 
site still down.

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: SMTP configuration? (Stack Trace)
user name
2007-05-29 00:41:26
Yes. You do. Its is to be done in web.xml as a servlet
config parameter for
the BlojsomServlet.
I think the default value set there is localhost, hence the
exception 


Thanks, 
Shalini 




-----Original Message-----
From: blojsom-users-bounceslists.sourceforge.net
[mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of Garrett
Smith
Sent: Tuesday, May 29, 2007 11:05 AM
To: blojsom-userslists.sourceforge.net
Subject: [Blojsom-users] SMTP configuration? (Stack Trace)

Do I need to configure SMTP for CommentPlugin?

========================================================
ay 28 21:17:54 ERROR [Thread-17] comment.CommentPlugin -
couldn't send
mail: org.apache.commons.mail.EmailException: Sending the
email to the
following server failed : localhost:25
org.apache.commons.mail.EmailException: Sending the email to
the
following server failed : localhost:25
	at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:873
)
	at org.apache.commons.mail.Email.send(Email.java:898)
	at
org.blojsom.plugin.comment.CommentPlugin.handleEvent(Comment
Plugin.java:779)
	at
org.blojsom.event.SimpleEventBroadcaster$AsynchronousEventBr
oadcaster.run(Si
mpleEventBroadcaster.java:217)
	at java.lang.Thread.run(Thread.java:613)
Caused by: javax.mail.SendFailedException: Sending failed;
  nested exception is:
	class javax.mail.MessagingException: Could not connect to
SMTP host:
localhost, port: 25;
  nested exception is:
	java.net.ConnectException: Connection refused
	at javax.mail.Transport.send0(Transport.java:218)
	at javax.mail.Transport.send(Transport.java:80)
	at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:863
)

========================================================

-- 
site still down.

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers


DISCLAIMER
==========
This e-mail may contain privileged and confidential
information which is the property of Persistent Systems Pvt.
Ltd. It is intended only for the use of the individual or
entity to which it is addressed. If you are not the intended
recipient, you are not authorized to read, retain, copy,
print, distribute or use this message. If you have received
this communication in error, please notify the sender and
delete all copies of this message. Persistent Systems Pvt.
Ltd. does not accept any liability for virus infected
mails.

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: SMTP configuration? (Stack Trace)
user name
2007-05-29 01:17:07
I wonder: How would this cause an exception on localhost?

I also tried 127.0.0.1. result:
org.apache.commons.mail.EmailException: Sending the email to
the
following server failed : 127.0.0.1:25
	at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:873
)
	at org.apache.commons.mail.Email.send(Email.java:898)
	at
org.blojsom.plugin.comment.CommentPlugin.handleEvent(Comment
Plugin.java:779)
	at
org.blojsom.event.SimpleEventBroadcaster$AsynchronousEventBr
oadcaster.run(SimpleEventBroadcaster.java:217)
	at java.lang.Thread.run(Thread.java:613)
Caused by: javax.mail.SendFailedException: Sending failed;
  nested exception is:
	class javax.mail.MessagingException: Could not connect to
SMTP host:
127.0.0.1, port: 25;
  nested exception is:
	java.net.ConnectException: Connection refused
	at javax.mail.Transport.send0(Transport.java:218)
	at javax.mail.Transport.send(Transport.java:80)
	at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:863
)

On 5/28/07, Shalini <shalini_isranipersistent.co.in>
wrote:
> Yes. You do. Its is to be done in web.xml as a servlet
config parameter for
> the BlojsomServlet.
> I think the default value set there is localhost, hence
the exception 
>
>
> Thanks,
> Shalini
>
>
>
>
> -----Original Message-----
> From: blojsom-users-bounceslists.sourceforge.net
> [mailto:blojsom-users-bounceslists.sourceforge.net] On
Behalf Of Garrett
> Smith
> Sent: Tuesday, May 29, 2007 11:05 AM
> To: blojsom-userslists.sourceforge.net
> Subject: [Blojsom-users] SMTP configuration? (Stack
Trace)
>
> Do I need to configure SMTP for CommentPlugin?
>
>
========================================================
> ay 28 21:17:54 ERROR [Thread-17] comment.CommentPlugin
- couldn't send
> mail: org.apache.commons.mail.EmailException: Sending
the email to the
> following server failed : localhost:25
> org.apache.commons.mail.EmailException: Sending the
email to the
> following server failed : localhost:25
>         at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:873
)
>         at
org.apache.commons.mail.Email.send(Email.java:898)
>         at
>
org.blojsom.plugin.comment.CommentPlugin.handleEvent(Comment
Plugin.java:779)
>         at
>
org.blojsom.event.SimpleEventBroadcaster$AsynchronousEventBr
oadcaster.run(Si
> mpleEventBroadcaster.java:217)
>         at java.lang.Thread.run(Thread.java:613)
> Caused by: javax.mail.SendFailedException: Sending
failed;
>   nested exception is:
>         class javax.mail.MessagingException: Could not
connect to SMTP host:
> localhost, port: 25;
>   nested exception is:
>         java.net.ConnectException: Connection refused
>         at
javax.mail.Transport.send0(Transport.java:218)
>         at
javax.mail.Transport.send(Transport.java:80)
>         at
org.apache.commons.mail.Email.sendMimeMessage(Email.java:863
)
>
>
========================================================
>
> --
> site still down.
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential
information which is the property of Persistent Systems Pvt.
Ltd. It is intended only for the use of the individual or
entity to which it is addressed. If you are not the intended
recipient, you are not authorized to read, retain, copy,
print, distribute or use this message. If you have received
this communication in error, please notify the sender and
delete all copies of this message. Persistent Systems Pvt.
Ltd. does not accept any liability for virus infected
mails.
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>


-- 
site still down.

------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers

Re: SMTP configuration? (Stack Trace)
user name
2007-05-29 13:24:15
You would have to provide a valid smtp server name, are you running a smtp server locally ? if not localhost/127.0.0.1 would not work...
 
 
here is where you have to change,&nbsp;$BLOJSOM_HOME/WEB-INF/web.xml
 
 &nbsp;<servlet>
&nbsp; &nbsp; &nbsp;   <servlet-name>blojsom</servlet-name>
 ; &nbsp; &nbsp; &nbsp; <servlet-class>org.blojsom.servlet.BlojsomServlet</servlet-class>;
 &nbsp; &nbsp; &nbsp;  <init-param>
&nbsp; &nbsp;   ; &nbsp; &nbsp;  <param-name>smtp-server<;/param-name>
&nbsp; &nbsp; &nbsp;   ; &nbsp;  <param-value>****localhost*****</param-value&gt;
 &nbsp;   ; &nbsp; </init-param>
&nbsp;   ; &nbsp;  <load-on-startup&gt;1</load-on-startup>
 ; &nbsp; </servlet>

&nbsp;
On 5/28/07, Garrett Smith < dhtmlkitchengmail.com">dhtmlkitchengmail.com> wrote:
I wonder: How would this cause an exception on localhost?

I also tried 127.0.0.1 . result:
org.apache.commons.mail.EmailException: Sending the email to the
following server failed : 127.0.0.1:25
 &nbsp;   ;  at org.apache.commons.mail.Email.sendMimeMessage(Email.java :873)
&nbsp;   ; &nbsp; at org.apache.commons.mail.Email.send(Email.java:898)
&nbsp; &nbsp; &nbsp;  at org.blojsom.plugin.comment.CommentPlugin.handleEvent(CommentPlugin.java:779)
 &nbsp; &nbsp; &nbsp; at org.blojsom.event.SimpleEventBroadcaster$AsynchronousEventBroadcaster.run (SimpleEventBroadcaster.java:217)
  ; &nbsp; &nbsp; at java.lang.Thread.run(Thread.java:613)
Caused by: javax.mail.SendFailedException: Sending failed;
nested exception is:
   ; &nbsp;  class javax.mail.MessagingException: Could not connect to SMTP host:
127.0.0.1, port: 25;
nested exception is:
   ; &nbsp;  java.net.ConnectException: Connection refused
&nbsp; &nbsp;   ; at javax.mail.Transport.send0(Transport.java:218)
 &nbsp;   ;  at javax.mail.Transport.send (Transport.java:80)
 &nbsp;   ;  at org.apache.commons.mail.Email.sendMimeMessage(Email.java:863)

On 5/28/07, Shalini < shalini_isranipersistent.co.in">shalini_isranipersistent.co.in> wrote:
&gt; Yes. You do. Its is to be done in web.xml as a servlet config parameter for
> the BlojsomServlet.
> I think the default value set there is localhost, hence the exception
>
>
> Thanks,
> Shalini
&gt;
>
>;
>
> -----Original Message-----
> From: blojsom-users-bounceslists.sourceforge.net">blojsom-users-bounceslists.sourceforge.net
> [mailto: blojsom-users-bounceslists.sourceforge.net">blojsom-users-bounceslists.sourceforge.net] On Behalf Of Garrett
&gt; Smith
> Sent: Tuesday, May 29, 2007 11:05 AM
> To: blojsom-userslists.sourceforge.net"> blojsom-userslists.sourceforge.net
> Subject: [Blojsom-users] SMTP configuration? (Stack Trace)
>;
> Do I need to configure SMTP for CommentPlugin?
>
&gt; ========================================================
> ay 28 21:17:54 ERROR [Thread-17] comment.CommentPlugin - couldn';t send
> mail: org.apache.commons.mail.EmailException: Sending the email to the
> following server failed : localhost:25
> org.apache.commons.mail.EmailException : Sending the email to the
> following server failed : localhost:25
>&nbsp; &nbsp; &nbsp; &nbsp;  at org.apache.commons.mail.Email.sendMimeMessage(Email.java:873)
>; &nbsp; &nbsp; &nbsp; &nbsp; at org.apache.commons.mail.Email.send(Email.java:898)
&gt; &nbsp; &nbsp;   ;  at
> org.blojsom.plugin.comment.CommentPlugin.handleEvent(CommentPlugin.java:779)
  ; &nbsp; &nbsp;  at
> org.blojsom.event.SimpleEventBroadcaster$AsynchronousEventBroadcaster.run(Si
> mpleEventBroadcaster.java :217)
  ; &nbsp; &nbsp;  at java.lang.Thread.run(Thread.java:613)
> Caused by: javax.mail.SendFailedException: Sending failed;
&gt; &nbsp; nested exception is:
>&nbsp; &nbsp;   ; &nbsp; class javax.mail.MessagingException: Could not connect to SMTP host:
&gt; localhost, port: 25;
>&nbsp;  nested exception is:
>&nbsp; &nbsp;   ; &nbsp; java.net.ConnectException: Connection refused
&gt; &nbsp; &nbsp; &nbsp;   at javax.mail.Transport.send0(Transport.java:218)
>&nbsp; &nbsp; &nbsp;   ; at javax.mail.Transport.send (Transport.java:80)
>&nbsp; &nbsp; &nbsp;   ; at org.apache.commons.mail.Email.sendMimeMessage(Email.java:863)
>;
> ========================================================
>
>; --
> site still down.
&gt;
> -------------------------------------------------------------------------
&gt; This SF.net email is sponsored by DB2 Express
&gt; Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
>; http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net"> Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-users
>
>
> DISCLAIMER
> ==========
> This e-mail may contain privileged and confidential information which is the property of Persistent Systems Pvt. Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Pvt. Ltd. does not accept any liability for virus infected mails.
&gt;
> -------------------------------------------------------------------------
&gt; This SF.net email is sponsored by DB2 Express
&gt; Download DB2 Express C - the FREE version of DB2 express and take
>; control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-userslists.sourceforge.net">Blojsom-userslists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-users
>;


--
site still down.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-userslists.sourceforge.net">Blojsom-userslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-users

[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )