CEMETOM STC server attempts to create log files at /log
search cancel

CEMETOM STC server attempts to create log files at /log

book

Article ID: 132176

calendar_today

Updated On:

Products

Compliance Event Manager

Issue/Introduction

CEMETOM STC shows two violations in the startup joblog for the following:
CAS2312E CMGT#TCT - ALTER ACCESS DENIED 741 /logs
Also, STDERR shows java.io.FileNotFoundException: /logs/PolicyAdmin.log (EDC5129I No such file or directory.)
 

Environment

Release:
Component: CEVM

Cause

The problem is that the compatibility UI is trying to create the PolicyAdmin.log file but does not have the path correct.
In tomcat/webapps/cem/WEB-INF/classes/log4j.properties there is this line:
log4j.appender.drfileapp.File=${install.home}/logs/PolicyAdmin.log
However, the install.home is not defined anywhere.

Resolution

In the CEMETOM's STDENV PDS' .CFGLIB member (CEMETOME) near the bottom where the other IJO options are
add the following line:

IJO="$IJO -Dinstall.home=${CEM_USSPATH}/cai/cacem"