Resolve "Error creating SOAP connection to host" with WebSphere wsadmin.sh

Home > Search
  by

This error appears when starting the wsadmin.sh utility.

~]# /opt/IBM/WebSphere/AppServer/profiles/<profile name>/bin/wsadmin.sh
Error creating SOAP connection to host . . .

 

Ensure the deployment manager (DMGR) is running. This error will appear if the DMGR is not running.

If the deployment manager is running, and the error persists, get the current SOAP hostname and port. In this example, the hostname is example.com and the port is 12345.

~]# cat /opt/IBM/WebSphere/AppServer/profiles/<profile name>/config/cells/<cell name>/nodes/<node name>/serverindex.xml
. . .
<specialEndpoints xmi:id="NamedEndPoint_123456789" endPointName="SOAP_CONNECTOR_ADDRESS">
  <endPoint xmi:id="EndPoint_123456789" host="example.com" port="12345"/>
</speicalEndpoints>

 

Update the wsadmin.properties file to have the SOAP hostname and port listed in the serverindex.xml file.

~]# vi /opt/WebSphere/AppServer/profiles/<profile>/properties/wsadmin.properties

 

Execute the wsadmin.sh command again, the SOAP error should no longer appear, and you should be prompted for a username and password.

~]# /opt/IBM/WebSphere/AppServer/profiles/<profile name>/bin/wsadmin.sh

Username: 
Password:

 



Add a Comment




We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.




Please enter in the box below so that we can be sure you are a human.




Comments