Patient Display error on openmrs

I have try to deploy openmrs 2.4.2 on tomcat 9 but I am getting an Error! A runtime properties file is needed for OpenMRS to start up consistently. OpenMRS is unable to create this file : /var/lib/OpenMRS/openmrs-runtime.properties Because of this error : No such file or directory.

I have try to follow similar error “unable to create openmrs-runtime.properties file after redeploying openmrs - #6 by jerome24” like this that I encounter before where by one of the solutions was to create a folder /usr/share/tomcat9/.OpenMRS and give ownership to tomcat user as also described in " Step 3 - Install Tomcat - Documentation - OpenMRS Wiki"

. But it did not work I still get the same error.

I have also notice that on tomcat logs folder there is no catalina.out file.