Why is CAWVHOME not getting resolved? .. hardcoding the path works fine but I prefer not to do that.
OFF StatusLogger Logging configured from /cai/CADeploy/webviewer/tomcat/CAWVHOME/config/log4j2.xml.
ERROR StatusLogger Unable to create file ${sys:CAWVHOME}/logs/web-viewer.log
java.io.IOException: Could not create directory /${sys:CAWVHOME}/logs
at org.apache.logging.log4j.core.util.FileUtils.mkdir(FileUtils.java:128)
at org.apache.logging.log4j.core.util.FileUtils.makeParentDirs(FileUtils.java:141)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.jav
a:734)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.jav
a:718)
Version: 14.0.03 Build: 14.0.72 #a3712f05 2024-01-31 12:07:37
z/OS USS
The CAWVHOME variable must be defined as an environment (env:) variable and not a system (sys:) one.
replace ${sys:CAWVHOME} with ${env:CAWVHOME}