App Connect

 View Only

Unable to connect to Db2 in App Connect deployment in OpenShift

  • 1.  Unable to connect to Db2 in App Connect deployment in OpenShift

    Posted Wed November 30, 2022 11:19 AM

    Hi,

    We are trying to deploy ACE 12.0.5 in OpenShift 4.8.53 and have setup Db2 Database in the Cluster using Db2 Operator.

    While deploying ACE Instance we are facing an issue in 'ftm-base-core-flows-app' Pod which is failing to connect to the DB2 Instance which is deployed in the same project with error :

    {"host":"ftm-base-core-flows-app-ftm-demo","ibm_datetime":"2022-11-30T06:22:04.848Z","ibm_processId":"1","ibm_processName":"runaceserver","ibm_product":"IBM App Connect Enterprise","ibm_recordtype":"log","ibm_serverName":"base-core-flows","ibm_userName":"1000670000","loglevel":"ERROR","message":"/usr/local/bin/ace_config_startup.sh: exit status 1: Certificate was added to keystore\nCertificate was added to keystore\n/usr/local/bin/ace_config_startup.sh: line 219: JDBCConnector.class: command not found\n/usr/local/bin/ace_config_startup.sh: line 220: TO: command not found\n/usr/local/bin/ace_config_startup.sh: line 221: JDBCConnector.class: command not found\n/usr/local/bin/ace_config_startup.sh: line 231: JDBCConnector.class: command not found\nCannot connect to db:jdbc:db2://c-db2ucluster-sample-db2u-0:50001/FTMDB:sslConnection=true;sslTrustStoreLocation=/startup/vault/truststore.jks;sslTrustStorePassword=truststore.jks;\nCannot connect to db:jdbc:db2://c-db2ucluster-sample-db2u-0:50001/FTMDB:sslConnection=true;sslTrustStoreLocation=/startup/vault/truststore.jks;sslTrustStorePassword=truststore.jks;\nCannot connect to db:jdbc:db2://c-db2ucluster-sample-db2u-0:50001/FTMDB:sslConnection=true;sslTrustStoreLocation=/startup/vault/truststore.jks;sslTrustStorePassword=truststore.jks;\nConnection to DB failed : c-db2ucluster-sample-db2u-0:50001, User tstuser with SSL=true","module":"integration_server.container","type":"ace_containerlog"}



    Please suggest us on how to resolve this error.
    Attached files are:

    Error Pod ftm-base-core-flows-app Logs
    FTM Base Runtime Instance YAML
    Db2 Cluster Instance YAML

    Thank you.



    ------------------------------
    Manoj Kumar B
    ------------------------------