[jboss-jira] [JBoss JIRA] (WFLY-5508) WSTrustTestCase fails on pure IPv6 machine if proxy is used

Marek Kopecký (JIRA) issues at jboss.org
Wed Oct 14 06:36:00 EDT 2015


    [ https://issues.jboss.org/browse/WFLY-5508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118087#comment-13118087 ] 

Marek Kopecký commented on WFLY-5508:
-------------------------------------

Different stacktrace, if non-proxy-hosts are used:
{noformat}-DnonProxyHosts="localhost|localhost.localdomain|[0:0:0:0:0:0:0:1]|127.*|[::0]|[::1]|[$MYTESTIPV6_2]|[$MYTESTIPV6_1]" -Dhttp.nonProxyHosts="localhost|localhost.localdomain|127.*|[::0]|[::1]|[0:0:0:0:0:0:0:1]|[$MYTESTIPV6_2]|[$MYTESTIPV6_1]"{noformat}
{noformat}javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
	at sun.security.util.HostnameChecker.matchIP(HostnameChecker.java:144)
	at sun.security.util.HostnameChecker.match(HostnameChecker.java:93)
	at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:455)
	at sun.security.ssl.X509TrustManagerImpl.checkIdentity(X509TrustManagerImpl.java:436)
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:200)
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1488)
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:216)
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:979)
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:914)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1062)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:991)
	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:144)
	at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:832)
	at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:798)
	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
	at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:230)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:298)
	at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2188)
	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:231)
	at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:163)
	at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:85)
	at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:218)
	at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:161)
	at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:129)
	at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.<init>(ProviderImpl.java:557)
	at org.jboss.wsf.stack.cxf.client.ProviderImpl.createServiceDelegate(ProviderImpl.java:252)
	at javax.xml.ws.Service.<init>(Service.java:77)
	at javax.xml.ws.Service.create(Service.java:707)
	at org.jboss.as.test.integration.ws.wsse.trust.WSTrustTestCase.testHolderOfKey(WSTrustTestCase.java:467){noformat}

> WSTrustTestCase fails on pure IPv6 machine if proxy is used
> -----------------------------------------------------------
>
>                 Key: WFLY-5508
>                 URL: https://issues.jboss.org/browse/WFLY-5508
>             Project: WildFly
>          Issue Type: Bug
>          Components: Test Suite
>    Affects Versions: 10.0.0.CR2
>            Reporter: Marek Kopecký
>            Assignee: Alessio Soldano
>
> *Description of problem:*
> WSTrustTestCase fails on pure IPv6 machine, if proxy is used
> *How reproducible:*
> Always on pure IPv6 machine, if proxy is used
> *Steps to Reproduce:*
> # export PROXY_PARAMS="-DproxySet=true -DproxyHost=proxy-01-ipv6.mw.lab.eng.bos.redhat.com -DproxyPort=3128 -Dhttp.proxyHost=proxy-01-ipv6.mw.lab.eng.bos.redhat.com -Dhttp.proxyPort=3128 -Dhttps.proxyHost=proxy-01-ipv6.mw.lab.eng.bos.redhat.com -Dhttps.proxyPort=3128" 
> # ./integration-tests.sh -Dmaven.repo.local=$MAVEN_REPO_LOCAL -fae -Dmaven.test.failure.ignore=true -Dnode0=$MYTESTIPV6_1 -Dnode1=$MYTESTIPV6_2 -Dmcast=$MCAST_ADDRV6 -Dipv6  -Djboss.dist=$JBOSS_DIST -Dtest=WSTrustTestCase -Dts.basic -DfailIfNoTests=false $PROXY_PARAMS
> *Actual results:*
> {noformat}
> javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException: Failed to create service.
> 	at sun.net.www.protocol.http.HttpURLConnection.doTunneling(HttpURLConnection.java:2084)
> 	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:183)
> 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1512)
> 	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1440)
> 	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> 	at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:991)
> 	at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:144)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:832)
> 	at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:798)
> 	at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
> 	at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:230)
> 	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:298)
> 	at com.ibm.wsdl.xml.WSDLReaderImpl.getDocument(WSDLReaderImpl.java:2188)
> 	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:231)
> 	at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(WSDLManagerImpl.java:163)
> 	at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(WSDLServiceFactory.java:85)
> 	at org.apache.cxf.jaxws.ServiceImpl.initializePorts(ServiceImpl.java:218)
> 	at org.apache.cxf.jaxws.ServiceImpl.initialize(ServiceImpl.java:161)
> 	at org.apache.cxf.jaxws.ServiceImpl.<init>(ServiceImpl.java:129)
> 	at org.jboss.wsf.stack.cxf.client.ProviderImpl$JBossWSServiceImpl.<init>(ProviderImpl.java:557)
> 	at org.jboss.wsf.stack.cxf.client.ProviderImpl.createServiceDelegate(ProviderImpl.java:252)
> 	at javax.xml.ws.Service.<init>(Service.java:77)
> 	at javax.xml.ws.Service.create(Service.java:707)
> 	at org.jboss.as.test.integration.ws.wsse.trust.WSTrustTestCase.testHolderOfKey(WSTrustTestCase.java:467)
> {noformat}
> *Expected results:*
> No error



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list