HTTP hostname wrong in JBossWS call

Solution Verified - Updated -

Issue

  • When trying to call a webservice over https, we get the following error:

DEBUG [org.jboss.remoting.transport.http.HTTPClientInvoker] Unable to retrieve response message
java.io.IOException: HTTPS hostname wrong:  should be <10.3.221.1>
        at sun.net.www.protocol.https.HttpsClient.checkURLSpoofing(Unknown Source)

Environment

  • JBoss Enterprise Application Platform (EAP) 4.2
  • JBoss Enterprise Application Platform (EAP) 4.3

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.