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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content