InfoSphere Optim

 View Only
  • 1.  Failed to locate JVM in the PST Configuration File

    Posted Wed December 13, 2023 10:59 AM
      |   view attached

    Hi!

    Just installed on Linux:  OptimRelease:11.7.0.0 Build:6041.

    When running a Extract-job 

    /opt/IBM/InfoSphere/Optim/rt/bin/pr0cmnd -R TYPE=EXTRACT REQUEST=STISPROD.ADPMAKUT SERVER=optimProd DIRECTORY=TDMPDIR P+ OV=/tdm/prod/ov/STISPROD.ADPMAKUT_20231213_103456

    it return with exitcode 12

    Extract Process Errors
       Generation of XML MetaData for an Archive/Extract file failed
       Fatal error during creation of process report. See the log file for more
       details.

    When checking the log :   (   Failed to locate JVM in the PST Configuration File )

    Metadata         MetaDataXML::convertJsonObjectTo(1957) EXCP 12/13/2023 16:34:18 000694 00057668 000000F2
                                     File Metadata JSON length = 2153987
     Metadata         MetaDataXML::convertJsonObjectTo(2002) EXCP 12/13/2023 16:34:18 000695 00057668 000000F2
                                     Going to convert json to xml
     XMLGenerationHel XMLGenerationHelper::registerFac(0080) EXCP 12/13/2023 16:34:18 000696 00057668 000000F2
                                     Failed to locate JVM in the PST Configuration File
     Metadata         MetaDataXML::convertJsonObjectTo(2010) EXCP 12/13/2023 16:34:18 000697 00057668 000000F2
                                     Failed to locate JVM in the PST Configuration File
     Metadata         MetaDataXML::writeRuntimeMetaDat(2555) EXCP 12/13/2023 16:34:18 000698 00057668 000000F2
                                     File Metadata was empty.
     PswrXtrc         XtrcWorker::DoWork              (7533) EXCP 12/13/2023 16:34:18 000699 00057668 000000F2
                                     Generation of XML MetaData for an Archive/Extract file : '/tdm/prod/extract/ADPMAKUT/AKUT/ADPMAKUT_R
                                     ADERA_20231213_103454.XF' Failed

    pr0svce.out:Reading Configuration File '/opt/IBM/InfoSphere/Optim/rt/etc/pstserv.cfg'

    Cant find anything regardin JVM in this file..

    All logfiles i uploaded

    Best regards

    Fredrik



    ------------------------------
    Fredrik Holm
    ------------------------------

    Attachment(s)

    out
    pr0svce.out   599 B 1 version


  • 2.  RE: Failed to locate JVM in the PST Configuration File

    Posted Wed December 13, 2023 04:08 PM

    Hi Fredrik,

    Please check the value of the JVM entry in both IBM/InfoSphere/Optim/rt/OptimConfigClient.pst and IBM/InfoSphere/Optim/rt/OptimConfigServer.pst. It should have the location of a valid JVM. For example, mine has /opt/java_i586/java-se-8u41-ri/lib/i386/client/libjvm.so and this does exist:

    [optimbuild@opdvl3-op-utp-local rt]$ ls -al /opt/java_i586/java-se-8u41-ri/lib/i386/client/libjvm.so
    -rwxr-xr-x. 1 10 143 7750167 Jan 15  2020 /opt/java_i586/java-se-8u41-ri/lib/i386/client/libjvm.so
    [optimbuild@opdvl3-op-utp-local rt]$

    Regards,



    ------------------------------
    Rick Spagna
    Optim Development Manager
    UNICOM Global
    ------------------------------



  • 3.  RE: Failed to locate JVM in the PST Configuration File

    Posted Thu December 14, 2023 03:56 AM

    libjvm.so was missing.

    As in Optim 11.7  "Optim now has Java as a pre-requisite, rather than including it."

    I hade to download a 32-bit of java and then in the installation point out libjvm.so and JRE_HOME

    THANKS for the fast reposnse

    Regards

    Fredrik 

    Sweden



    ------------------------------
    Fredrik Holm
    ------------------------------