Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-14828

[QA](7.1.z) AuthenticationPolicyContextTestCase fails when -Dnode0 is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 7.1.5.CR1, 7.1.5.GA
    • 7.1.3.CR1
    • Test Suite
    • None

    Description

      AuthenticationPolicyContextTestCase is using hardcoded locahost, so once -Dnode0 is used to bind the server to a different address the test fails.

      javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
      ...
      Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'http://localhost:8080/picketlink-sts-ws/EchoService?wsdl'.: java.net.ConnectException: Connection refused (Connection refused)
      	at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2198)
      	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2390)
      	at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(WSDLReaderImpl.java:2422)
      	at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(WSDLManagerImpl.java:289)
      	at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:180)
      	at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:85)
      	... 134 more
      

      Attachments

        Issue Links

          Activity

            People

              dcihak@redhat.com Daniel Cihak
              pmackay@redhat.com Peter Mackay
              Daniel Cihak Daniel Cihak
              Daniel Cihak Daniel Cihak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: