Uploaded image for project: 'Rampart'
  1. Rampart
  2. RAMPART-353

Connection refused when trying to run the Client code and remote host closed connection during ssl handshake

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      log4j:WARN No appenders could be found for logger (org.apache.axis2.deployment.F
      ileSystemConfigurator).
      log4j:WARN Please initialize the log4j system properly.
      Exception in thread "main" org.apache.axis2.AxisFault: Connection refused: conne
      ct
      at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
      at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.jav
      a:203)
      at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:76)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessa
      geWithCommons(CommonsHTTPTransportSender.java:400)
      at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Com
      monsHTTPTransportSender.java:225)
      at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:438)
      at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisO
      peration.java:402)
      at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(Out
      InAxisOperation.java:229)
      at org.apache.axis2.client.OperationClient.execute(OperationClient.java:
      165)
      at tutorial.rampart.client.SecureServiceStub.add(SecureServiceStub.java:
      191)
      at tutorial.rampart.client.SecureServiceCGClient.main(SecureServiceCGCli
      ent.java:34)
      Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.SocksSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.commons.httpclient.protocol.ReflectionSocketFactory.create
      Socket(ReflectionSocketFactory.java:140)
      at org.apache.commons.httpclient.protocol.SSLProtocolSocketFactory.creat
      eSocket(SSLProtocolSocketFactory.java:130)
      at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java
      :707)
      at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$Http
      ConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
      at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Htt
      pMethodDirector.java:387)
      at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMe
      thodDirector.java:171)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
      a:397)
      at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.jav
      a:346)
      at org.apache.axis2.transport.http.AbstractHTTPSender.executeMethod(Abst
      ractHTTPSender.java:557)
      at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.jav
      a:199)
      ... 9 more

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            shrav karthika sravanthi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Slack

                  Issue deployment