axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nandana Mihindukulasooriya <nandana....@gmail.com>
Subject Re: Axis2 1.4 with Rampart 1.4
Date Tue, 07 Jul 2009 16:45:32 GMT
Hi Shilpa,
        It is an issue in SSL handshake. Can you set the system property
javax.net.debug="ssl,handshake,record" and attach the debug log.

regards,
Nandana

On Mon, Jul 6, 2009 at 5:55 PM, <shilpa.raghavendra@wipro.com> wrote:

>  Hi ,
>
>         I need to implement WS security so planning to use Rampart 1.4 with
> Axis2.
>
>         i tried with example that i got through Google but getting the
> error, the stack trace as follows
>
>
>
>
> log4j:WARN No appenders could be found for logger
> (org.apache.axis2.deployment.FileSystemConfigurator).
>
> log4j:WARN Please initialize the log4j system properly.
>
> Exception in thread "main" org.apache.axis2.AxisFault: Remote host closed
> connection during handshake
>
> at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
>
> at
> org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:83)
>
> at
> org.apache.axis2.transport.http.AxisRequestEntity.writeRequest(AxisRequestEntity.java:84)
>
> at
> org.apache.commons.httpclient.methods.EntityEnclosingMethod.writeRequestBody(EntityEnclosingMethod.java:499)
>
> at
> org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2114)
>
> at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)
>
> at
> org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)
>
> at
> org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
>
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
>
> at
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:346)
>
> at
> org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(AbstractHTTPSender.java:542)
>
> at
> org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:189)
>
> at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75)
>
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:371)
>
> at
> org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:209)
>
> at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:448)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:401)
>
> at
> org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:228)
>
> at
> org.apache.axis2.client.OperationClient.execute(OperationClient.java:163)
>
> at
> tutorial.rampart.client.SecureServiceStub.add(SecureServiceStub.java:193)
>
> at
> tutorial.rampart.client.SecureServiceCGClient.main(SecureServiceCGClient.java:36)
>
> Caused by: com.ctc.wstx.exc.WstxIOException: Remote host closed connection
> during handshake
>
> at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:313)
>
> at
> org.apache.axiom.om.impl.MTOMXMLStreamWriter.flush(MTOMXMLStreamWriter.java:146)
>
> at
> org.apache.axiom.om.impl.dom.NodeImpl.serializeAndConsume(NodeImpl.java:817)
>
> at
> org.apache.axis2.transport.http.SOAPMessageFormatter.writeTo(SOAPMessageFormatter.java:79)
>
> ... 19 more
>
> Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed
> connection during handshake
>
> at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:742)
>
> at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1030)
>
> at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:622)
>
> at
> com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
>
> at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
>
> at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
>
> at java.io.FilterOutputStream.flush(FilterOutputStream.java:123)
>
> at
> org.apache.commons.httpclient.ChunkedOutputStream.flush(ChunkedOutputStream.java:191)
>
> at com.ctc.wstx.io.UTF8Writer.flush(UTF8Writer.java:99)
>
> at com.ctc.wstx.sw.BufferingXmlWriter.flush(BufferingXmlWriter.java:214)
>
> at com.ctc.wstx.sw.BaseStreamWriter.flush(BaseStreamWriter.java:311)
>
> ... 22 more
>
> Caused by: java.io.EOFException: SSL peer shut down incorrectly
>
> at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:333)
>
> at
> com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:723)
>
> ... 32 more
>
> some one share me the tutorial that tells us implementing Rampart 1.4  with
> Axis2 1.4
>
> Thanks & Regards,
>
> Shilpa
>
>
>
>
>
> * Please do not print this email unless it is absolutely necessary. *
>
> The information contained in this electronic message and any attachments to
> this message are intended for the exclusive use of the addressee(s) and may
> contain proprietary, confidential or privileged information. If you are not
> the intended recipient, you should not disseminate, distribute or copy this
> e-mail. Please notify the sender immediately and destroy all copies of this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
> should check this email and any attachments for the presence of viruses. The
> company accepts no liability for any damage caused by any virus transmitted
> by this email.
>
> www.wipro.com
>



-- 
Nandana Mihindukulasooriya
WSO2 inc.

http://nandana83.blogspot.com/
http://www.wso2.org

Mime
View raw message