ARS 19.02 produse fails to run. May report ClassNotFoundException or no error at all

Version 1
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy AR System Server


    COMPONENT:

    Remedy AR System Server


    APPLIES TO:

    ARS 19.02 Any OS



    PROBLEM:

    ARS 19.02 produse fails to run. May report ClassNotFoundException or no error at all.

    (Feb 25 2019 06:47:27.538 AM -0600),CONFIG,produse,
      LOG EVENT {Description=[JVM launcher command],Detail=["C:\Program Files\Java\jre1.8.0_45\bin\java.exe" -Xms20971520 -Xmx125829120 -cp "C:\Program Files\BMC Software\ARSystem\lib\start\startlevel3\*;C:\Program Files\BMC Software\ARSystem\lib\start\startlevel7\*" "-Dlogback.configurationFile=com/bmc
    /arsys/server/domain/ebo/license/impl/logback.xml" -Dbmc.install.LAUNCHER_EXECUTABLE="C:\Program Files\BMC Software\ARSystem\produse.exe" com.bmc.arsys.server.domain.ebo.license.impl.LicenseReportServiceImpl]}
    Exception in thread "main" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
            at com.bmc.arsys.common.utils.logger.PlatformLogFactory.getLogger(PlatformLogFactory.java:21)
            at com.bmc.arsys.server.logger.ARErrorLogger.<init>(ARErrorLogger.java:34)
            at com.bmc.arsys.server.domain.ebo.license.impl.LicenseReportServiceImpl.<clinit>(LicenseReportServiceImpl.java:84)
    Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 3 more
    (Feb 25 2019 06:47:27.952 AM -0600),CONFIG,produse,
      LOG EVENT {Description=[Command return code],Detail=[1]}
    (Feb 25 2019 06:47:27.963 AM -0600),INFO,produse,
      PROGRESS EVENT {Description=[Unpacked payload entry],Progress=[100],Detail=[1 of 1]}
    (Feb 25 2019 06:47:27.977 AM -0600),INFO,produse,
      LOG EVENT {Description=[Extracted payload entry count],Detail=[1]}


    CAUSE:

    Caused by defect SW00556168


    SOLUTION:

    Workaround: Modify file ARSystem\produse.config (or ARSystem\bin\produse.conf for Linux OS)

    Add parameter jvm.classpath.3 pointing to startlevel1 location here:

    # JVM classpaths (number indicates classpath order)
    jvm.classpath.1=./lib/start/startlevel3/*
    jvm.classpath.2=./lib/start/startlevel7/*
    jvm.classpath.3=./lib/start/startlevel1/*

    Root cause of the problem is following files are needed for produse but are present in startlevel1 folder. Produse classpath tries to find these files in startlevel 7 and 3 folders.

    02/19/2019  04:17 AM             2,928 com.springsource.javax.inject-1.0.0.jar
    02/19/2019  04:17 AM         1,247,247 com.springsource.org.apache.xerces-2.9.1.1.jar
    02/19/2019  04:17 AM            84,866 com.springsource.org.apache.xml.resolver-1.2.0.jar
    02/19/2019  04:17 AM           199,320 com.springsource.org.apache.xmlcommons-1.3.4.jar
    02/19/2019  04:17 AM           290,339 logback-classic-1.2.3.jar
    02/19/2019  04:17 AM           471,901 logback-core-1.2.3.jar
    02/19/2019  04:17 AM           276,388 serializer-2.7.2.jar
    02/19/2019  04:17 AM            41,203 slf4j-api-1.7.25.jar
    02/19/2019  04:17 AM         3,155,913 xalan-2.7.2.jar


    Article Number:

    000166037


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles