Troubleshooting

  • To troubleshoot integration issues, please follow these instructions:

  • Run the SetUpUtility. For more information, see Run the SetUpUtility.

  • The SetupUtility encrypts the Secret Server or Delinea Platform credentials and creates the DelineaDriver.properties in the current folder and copies Delinea-Jdbc-Proxy.jar and DelineaDriver.properties into the web application’s lib folder.

  • Verify if the DelineaDriver.properties was copied into the web application’s lib folder.

  • Verify that the logLevel parameter is set to level 3, because the above 3 log types will get printed with additional debug log.

  • The application account should have View Secret permission. The secret created in Secret Server should have application account permission.

  • Verify that the username and password of the secret is the same as your database name.

  • The secret server application account user should not be locked out.

  • SecretServer - getSecret: error=javax.net.ssl.SSLHandshakeException: PKIX path building failed:unable to find valid certification path to requested target.

    • Solution: Check your DelineaDriver.properties file trustAllCertificate parameter to see if it is false, set it as true. Setting it to true is not secure.

  • Check the error in server.log in JBOSS_HOME\standalone\log\server.log.

    If you enter the wrong Secret Server credentials and don’t provide the user permission to the secret and then try to connect with your database, you will get an error that says, Access Denied or Authentication fail in the in server.log.

Troubleshooting of the Server Integration

  • Check for errors in the SystemOut.log located at: C:\ProgramFiles\IBM\WebSphere\AppServer1\profiles\AppSrv01\logs\server1

  • If the credentials for the Delinea Platform or Secret Server are incorrect, or if the application account does not have the appropriate permissions to access the secret, an Access Denied or Authentication Fail error will be logged in the SystemOut.log when trying to connect to the database.

  • Verify that users in the Delinea Platform or Secret Server application account are not locked out.

  • If you put the wrong credentials for Secret Server and do not provide permission for the secret and then try to connect with your database, an error will occur, Access Denied or Authentication fail in SystemOut.log.

If the system BIOS has been changed or updated, the setup utility needs to be re-run.

  • Users need to restart the WebSphere service if the Secret password is updated in Secret Server in case of a Data Source connection.

  • If the following error occurs while running SetupUtility, it means the WebSphere service is running OR Unable to find the location.

    alt

  • If the following error occurs in the WebSphere SystemOut.log file :

    • DelineaDriver: Could not register driver

      Solution: Check all parameters in the DelineaDriver.properties file**.*

    • DelineaDriver: Unable to read the DelineaDriver.properties file.

      Solution: Check to see if the name of the file is DelineaDriver.properties and the parameter is present in the configuration.

    • DelineaDriver: URL is not valid. The URL must begin with jdbc:delinea:SSID.

      Solution: Check the connection string in the Java application configuration file.

      If you use SQL Server, the URL must be jdbc:sqlserver:SSID://localhost:1433;databaseName=onlinebookstore. If you use the JDBC Proxy URL, it must be: jdbc:delinea:SSID:sqlserver://localhost:1433;databaseName=onlinebookstore.

  • SecretServer - getSecret: error getting secret, status

    Solution: Check your Secret ID in your Java application configuration file. It should be present in front of the Database username box.

  • SecretServer - getSecret: error=javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: PKIX path building failed: This error typically indicates that the system can't verify the SSL certificate chain during a secure connection attempt. This issue can occur in both Secret Server and Delinea Platform, especially if the server's SSL certificate isn't trusted by the Java environment.

    • Solution for Secret Server:

      • Check the trustAllCertificate parameter in your DelineaDriver.properties file. If it is set to false, change it to true to bypass certificate validation. However, note that setting trustAllCertificate=true makes the connection less secure as it allows all certificates, including potentially untrusted ones.

        Copy
        properties
        trustAllCertificate=true
    • Solution for the Delinea Platform:

      • The same solution applies for Delinea Platform. The trustAllCertificate setting in the DelineaDriver.properties file should be checked. If the parameter is set to false, change it to true.

  • However, it's important to note that while setting trustAllCertificate=true will resolve SSL handshake issues by trusting all certificates, it reduces security and should only be used temporarily, or in environments where you are sure of the trustworthiness of the certificates.?

  • No suitable driver found for JDBC: If you find an error reading file of a different application where you have copied the driver and the property file.

    Solution: Check the JVM setting in the WebSphere path: Servers > Process definition > Additional Properties.

    alt

  • You can change only the isLogging and LoginLevel parameters in the DelineaDriver.properties file manually. Run SetupUtility.jar to change the other parameter (for example, URL, identity); otherwise, the Proxy driver will not work as expected.

  • Failed to connect to the DataSource: encountered java.lang.NullPointerException

    Solution: Check whether you have provided the Delinea DataSource JNDI Name.

  • If there is an exception “Error closing a JDBC child wrapper, com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement@9172db56com.ibm.websphere.ce.cm.ObjectClosedException: DSRA9110E: Statement is closed.”

    Solution: Update the statement cache size in WebSphere Application Server by selecting Applications > JDBC > Data Source > Delinea Data Source > WebSphere Application server data source properties > statement cache size.

    alt

  • How to collect logs for JDBC Proxy Driver and Secret Server or Delinea Platform Integration?

    Solution:

    1. Run the SetUpUtility. For more information, see Run the SetUpUtility.

    2. The SetupUtility encrypts the Secret Server or the Delinea Platformcredentials and creates a DelineaDriver.properties file in the current folder and copies the Delinea-Jdbc-Proxy.jar and DelineaDriver.properties files into the web application’s lib folder.

    3. Verify if DelineaDriver.properties is copied into the web application’s lib folder.

    4. Verify that the logLevel parameter is set to level 3 because the above 3 log types will get printed with an additional debug log.