[jboss-user] [jBPM] New message: "Re: Unable to set the mail configuration properties in JBPM 4.0"
Anand Kumar
do-not-reply at jboss.com
Thu Jan 21 00:27:14 EST 2010
User development,
A new message was posted in the thread "Unable to set the mail configuration properties in JBPM 4.0":
http://community.jboss.org/message/521255#521255
Author : Anand Kumar
Profile : http://community.jboss.org/people/akstifr
Message:
--------------------------------------------------------------
As you said to try a simple standalone application, i tried the following program about the send mail java application which you have specified here:
http://www.rgagnon.com/javadetails/java-0570.html
does not work and it raises the following error :
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "mailhost.tifr.res.in", port 110, isSSL true
DEBUG SMTP: exception reading response: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
Exception in thread "main" javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
at javax.mail.Service.connect(Service.java:275)
at com.TestMail.test(TestMail.java:45)
at com.TestMail.main(TestMail.java:19)
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.InputRecord.handleUnknownRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.InputRecord.read(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at com.sun.net.ssl.internal.ssl.AppInputStream.read(Unknown Source)
at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)
... 5 more
and i searched google to find out the solution but it was of no use seems to me till now......
let me try out different possibility and books to solve it .
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/521255#521255
More information about the jboss-user
mailing list