Maximo

 View Only
  • 1.  AppPoint Implemenation: dbc run script error

    Posted Wed May 15, 2024 12:59 PM

    Hello All,

    I'm working on installing AppPoints into our Maximo 7.6.1.3 environment. I was able to successfully test and implement it into our Test and Train environments with no issues but when it came to our Production environment I received an error when trying to run the .dbc file. The only difference between the non-production and production environments is how many application servers we have. Production uses 3 application servers whereas non-production only uses 1. Any help is appreciated. Below is the procedure and error I'm receiving. The log file MXServer_RUNSCRIPT_apppointscript.log has no data.

    Procedure:
    1. Place the AppPointScript.dbc in this file location:
    \IBM\SMP\maximo\tools\maximo\en\apppoints\apppointscript.dbc
    2. Open Command Prompt as Admin
    3. Navigate to this location
    a. D:\IBM\SMP\maximo\tools\maximo\internal
    4. Type
    a. runscriptfile -capppoints -fapppointscript

    Here is the error:

    D:\IBM\SMP\maximo\tools\maximo\internal>Runscriptfile.bat -capppoints -fapppointscript
    Log file: MXServer_RUNSCRIPT_apppointscript.log
    com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "com.ibm.jsse2.util.j: PKIX path building failed: com.ibm.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target". ClientConnectionId:62284f58-a86b-4a20-8867-34ef914fa87b
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:3680)
            at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:2113)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:3204)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:2833)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:2671)
            at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:1640)
            at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:936)
            at java.sql.DriverManager.getConnection(DriverManager.java:675)
            at java.sql.DriverManager.getConnection(DriverManager.java:258)
            at psdi.util.DBConnect.getConnection(DBConnect.java:111)
            at com.ibm.tivoli.maximo.dbmanage.ScriptDBConnect.getMaximoConnection(ScriptDBConnect.java:123)
            at com.ibm.tivoli.maximo.dbmanage.ScriptDBConnect.getConnection(ScriptDBConnect.java:72)
            at psdi.tools.RunScriptFile.getConnection(RunScriptFile.java:311)
            at psdi.tools.RunScriptFile.loadScriptInfo(RunScriptFile.java:102)
            at psdi.tools.RunScriptFile.main(RunScriptFile.java:532)
    Caused by: javax.net.ssl.SSLHandshakeException: com.ibm.jsse2.util.j: PKIX path building failed: com.ibm.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target
            at com.ibm.jsse2.g.a(g.java:56)
            at com.ibm.jsse2.bb.a(bb.java:184)
            at com.ibm.jsse2.bb.a(bb.java:93)
            at com.ibm.jsse2.bb.a(bb.java:203)
            at com.ibm.jsse2.z$c.a(z$c.java:196)
            at com.ibm.jsse2.z$c.a(z$c.java:117)
            at com.ibm.jsse2.z$c.consume(z$c.java:8)
            at com.ibm.jsse2.p.consume(p.java:2)
            at com.ibm.jsse2.aa.a(aa.java:112)
            at com.ibm.jsse2.aa.a(aa.java:126)
            at com.ibm.jsse2.bb.a(bb.java:123)
            at com.ibm.jsse2.a0.a(a0.java:40)
            at com.ibm.jsse2.bj.b(bj.java:104)
            at com.ibm.jsse2.bj.f(bj.java:221)
            at com.ibm.jsse2.bj.a(bj.java:281)
            at com.ibm.jsse2.bj.startHandshake(bj.java:36)
            at com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:2021)
            ... 13 more
    Caused by: com.ibm.jsse2.util.j: PKIX path building failed: com.ibm.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target
            at com.ibm.jsse2.util.h.a(h.java:72)
            at com.ibm.jsse2.util.h.b(h.java:122)
            at com.ibm.jsse2.util.g.a(g.java:20)
            at com.ibm.jsse2.br.a(br.java:198)
            at com.ibm.jsse2.br.a(br.java:125)
            at com.ibm.jsse2.br.checkServerTrusted(br.java:124)
            at com.microsoft.sqlserver.jdbc.TDSChannel$HostNameOverrideX509TrustManager.checkServerTrusted(IOBuffer.java:1702)
            at com.ibm.jsse2.bp.checkServerTrusted(bp.java:50)
            at com.ibm.jsse2.z$c.a(z$c.java:84)
            ... 25 more
    Caused by: com.ibm.security.cert.IBMCertPathBuilderException: unable to find valid certification path to requested target
            at com.ibm.security.cert.SunCertPathBuilder.build(SunCertPathBuilder.java:139)
            at com.ibm.security.cert.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:124)
            at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:292)
            at com.ibm.jsse2.util.h.a(h.java:13)
            ... 33 more
    Error getting connection from the database.



    ------------------------------
    Stephan Sprenger
    ------------------------------


  • 2.  RE: AppPoint Implemenation: dbc run script error

    Posted Wed May 15, 2024 09:58 PM

    Hi Stephan,

    Please check  "encrypt=false" parameter is added to mxe.db.url  entry to the maximo.properties file. That could be likely issue.

    Tech note:

    https://www.ibm.com/support/pages/maximo-asset-management-upgrade-7613-fails-microsoft-sql-server-database-0

    Thanks



    ------------------------------
    Manoj Sawant
    ------------------------------



  • 3.  RE: AppPoint Implemenation: dbc run script error

    IBM Champion
    Posted Thu May 16, 2024 04:27 AM

    Hi. The error states that the app server was trying to make a secure SSL connection to the database.

    It couldn't make that connection because the SSL certificate path couldn't be confirmed.

    You need to import the SSL certificates into the keystore so they can be used.

    It has been a while since I have had to import a certificate but this article looks correct for a WebSphere installation:

    Add SSL Certificate in WebSphere Application Server (WAS)

    Ibm remove preview
    Add SSL Certificate in WebSphere Application Server (WAS)
    View the selected document's details
    View this on Ibm >

    If you are using Weblogic then you will need help from someone with more experience in Weblogic 



    ------------------------------
    Mark Robbins
    Support Lead/Technical Design Authority / IBM Champion 2017 - 2023
    Cohesive (previously Vetasi Limited)
    https://www.linkedin.com/pulse/maximo-support-advice-from-non-ibm-engineer-article-mark-robbins/
    ------------------------------



  • 4.  RE: AppPoint Implemenation: dbc run script error

    Posted Fri May 17, 2024 10:53 AM
    I think what Manoj indicated solves the problem.

    I don't have such a scenario yet, but I am very curious about the need to 'install' apppoints in 7613.
    Could you be so kind as to send me a link or some documentation on this process and the 'apppointscript.dbc' script?
     
     


    ------------------------------
    Diego Visentin
    EAM BU Director
    Tempestive S.p.A.
    ------------------------------



  • 5.  RE: AppPoint Implemenation: dbc run script error

    Posted Sun May 19, 2024 10:06 AM

    Hi Diego,

    You can install AppPoints tool in Maximo 7.6.1.1 to 7.6.1.3

    This will create new application "AppPoint Licensing Setup" in Maximo and a cron task which you can schedule. Cron will run every day and calculate the app point usage based on security profiles of the users. Similar to LUM (License Usage monitor), however from app points perspective.

    There could be two use cases to install this:

    1. You are planning to move to App Points based licensing in Maximo(7611 - 7613) or moving to MAS. In this case, this tool can help you understand the required app points based on current usage.
    2. If you moved to app points based licensing in Maximo(not MAS) then it can help to track app point usage.

    The installation package includes dbc files, java files and an xml. You need to contact IBM sales to get the package. Refer below:

    https://www.ibm.com/support/pages/node/6956291

    Thanks,



    ------------------------------
    Manoj Sawant
    ------------------------------