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:
- At a DB2 command prompt, run the following command:
db2set DB2COMM=tcpip
- Stop and restart the database with the following commands:
db2stop
db2start
Also see Connection refused to DB2 error during server setup.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21588225