IBM Support

Bootstrap failed and Connection refused errors occur with the bootstrapProcessServerData.sh command for the IBM Business Process Manager (BPM) products

Troubleshooting


Problem

When you attempt to bootstrap the system with the bootstrapProcessServerData.sh command, it fails with the following errors: BUILD FAILED Java returned: 1 Connection refused

Symptom

Install an IBM Business Process Manager product and create profiles. When you attempt to bootstrap the system with the bootstrapProcessServerData.sh command, it fails with the following errors:

BUILD FAILED
/opt/IBM/WebSphere/BPM/base/profile/actions/bootstrapData.ant:47: The following error occurred while executing this line:
/opt/IBM/WebSphere/BPM/base/profile/actions/bootstrapData.ant:48: The following error occurred while executing this line:
/opt/IBM/WebSphere/BPM/base/profile/actions/bootstrapData.ant:63: The following error occurred while executing this line:
/opt/IBM/WebSphere/BPM/base/profile/actions/tw_init_bootstrap.ant:280: Java returned: 1

Total time: 16 seconds

Bootstrap failed

Further back in the output, you see:

[Importing ....  ] Caused by: com.ibm.db2.jcc.am.DisconnectNonTransientConnectionException: [jcc][t4][2043][11550][3.61.65] Exception java.net.ConnectException: Error opening socket to server wpsvm01a/127.0.0.2 on port 50,002 with message: Connection refused. ERRORCODE=-4499, SQLSTATE=08001

[Importing ....  ] Caused by: java.net.ConnectException: Connection refused

Cause

DB2 communications are not enabled and started.

Resolving The Problem

To resolve this issue, complete the following steps:

  1. At a DB2 command prompt, run the following command:
    db2set DB2COMM=tcpip

  2. Stop and restart the database with the following commands:
    db2stop
    db2start



Also see Connection refused to DB2 error during server setup.

[{"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation \/ Configuration","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"7.5.1;7.5.0.1;7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation \/ Configuration","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"","label":"Linux zSeries"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.5.1;7.5.0.1;7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSFTBX","label":"IBM Business Process Manager Express"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Installation \/ Configuration","Platform":[{"code":"PF016","label":"Linux"},{"code":"","label":"Linux zSeries"},{"code":"PF033","label":"Windows"}],"Version":"7.5.1;7.5.0.1;7.5","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
15 June 2018

UID

swg21588225