Then you should use https instead of http I guess. But I'm not sure what
you expect to see. The echoed HTTP request won't be a valid HTTP response.

giri reddy wrote:
> Here i am not using the MINA client, i am just hitting
> the service with the url: http://localhost:8080
>
> Regards
> Sai
>
>
>   
>> -----Original Message-----
>> From: Niklas Therning [mailto:[EMAIL PROTECTED] 
>> Sent: Thursday, January 25, 2007 3:37 PM
>> To: [email protected]
>> Subject: Re: Error while executing the MINA example
>> - echoserver (with
>> SSL)
>>
>> giri reddy wrote:
>>     
>>> Hi,
>>> When I try to execute the example - echoserver
>>> (USE_SSL = true) provided in MINA, I am getting
>>>       
>> the
>>     
>>> following.
>>>
>>>
>>>      [java] Jan 25, 2007 2:51:06 PM
>>> com.infor.smtp.Main main
>>>      [java] INFO: Mina SMTP server started
>>>      [java] 8657 [SocketAcceptorIoProcessor-0.0]
>>>       
>> INFO
>>     
>>> net.sf.jamesha.smtp.server
>>> .SMTPProtocolHandler - [/10.91.102.254:2060]
>>>       
>> CREATED
>>     
>>>      [java] 8688 [AnonymousIoService-1] INFO
>>> net.sf.jamesha.smtp.server.SMTPProt
>>> ocolHandler - [/10.91.102.254:2060] OPENED
>>>      [java] 8704 [AnonymousIoService-1] INFO
>>> net.sf.jamesha.smtp.server.SMTPProt
>>> ocolHandler - [/10.91.102.254:2060] WRITE:
>>> DirectBuffer[pos=0 lim=29 cap=32: 32
>>> 32 30 20 6C 6F 63 61 6C 68 6F 73 74 20 4D 69 6E 61
>>>       
>> 20
>>     
>>> 53 4D 54 50 20 30 2E 31 0D
>>>  0A]
>>>      [java] 34282 [AnonymousIoService-7] INFO
>>> net.sf.jamesha.smtp.server.SMTPPro
>>> tocolHandler - [/10.91.102.254:2060] EXCEPTION:
>>>      [java] javax.net.ssl.SSLHandshakeException:
>>> Initial SSL handshake failed.
>>>      ...
>>>   
>>>       
>> What client are you using? If it's MINA based you
>> must make sure it uses
>> an SSLFilter and that you have enabled client mode
>> on the SSLFilter on
>> the client side.
>>
>> HTH
>>
>> -- 
>> Niklas Therning
>> www.spamdrain.net
>>
>>     
>
>
>
>               
> __________________________________________________________
> Yahoo! India Answers: Share what you know. Learn something new
> http://in.answers.yahoo.com/
>
>   


-- 
Niklas Therning
www.spamdrain.net

Reply via email to