Decision Management & Intelligence (ODM, DI)

Decision Management & Intelligence (ODM, DI)

Connect with experts and peers to elevate technical expertise, solve problems and share insights


#Data
#Data
#Businessautomation
 View Only
  • 1.  RES log warning in Tomcat

    Posted Tue August 03, 2021 05:50 PM

    Recently we built a test environment server for ODM which is based on a VM clone of dev. It works, but one different behavior is being exhibited. The RES log is throwing this warning and writing to /var/tmp/tomcat/res-console.log0 as a result:

    2021-04-16 08:03:17.918 -0400 WARNING [main] com.ibm.rules.res.logging.internal.RESLogger.log The Rule Execution Server file logging system could not be initialized properly using the intended file /res-console0.log : the security manager exists and the logging permission is not correct. Please clean up any locked files that could remain.

    java.security.PrivilegedActionException: java.nio.file.AccessDeniedException: res-console0.log.lck



    #OperationalDecisionManager(ODM)
    #Support
    #SupportMigration


  • 2.  RE: RES log warning in Tomcat

    Posted Tue August 03, 2021 05:51 PM

    Here is how you can find your current configuration for the file location. If you open your res.war/WEB-INF/web.xml file, you could find following block:

    <context-param>

    <description>configuration file for res console log file of server info view . the param-value can be modified.</description>

    <param-name>resconsole-logging-config-filename</param-name>

    <param-value>resconsole-logging.properties</param-value>

    </context-param>

    You can find the property file at (if you file configuration was not changed, but the same as above) at res.war/WEB-INF/classes. Open this property file, you will find the configuration for your log file:

    res-console-logging-file=${catalina.base}/logs/res-console.log

    If your value is not like above, please change it to the default value.



    #OperationalDecisionManager(ODM)
    #Support
    #SupportMigration