After installing Rest API receiving the following error in the STDERR file
cat: //****/products/ca7restapi/7Restservices.12.1.05/apache-tomcat-9.0.82/bin/pid.txt: EDC5047I AN INVALID FILE NAME WAS SPECIFIED AS A FUNCTION PARAMETER.
You will need to edit the setenv.sh script in the following directory:
/ca7restapi/7Restservices.12.1.05/apache-tomcat-9.0.68/bin
change:
export CATALINA_PID=/$CATALINA_HOME/bin/pid.txt
to
export CATALINA_PID=$CATALINA_HOME/bin/pid.txt
(remove the / highlighted in red)
Then restart the CA 7 Rest API and you should not get the error.