Tomcat hosting error

Hi, my app is running fine on local tomcat with mysql db, but when trying to upload war files (app.war and app-core.war) to hosting tomcat, I get deployment error:
java.lang.RuntimeException: Unable to write persistence.xml
Caused by: java.io.FileNotFoundException: ./app_home/app-core/work/persistence.xml (No such file or directory)

anyone has any idea about that error?
Thanks

Hi Ahmad,

Try to provide the application home property as described in the docs and make sure the user running Tomcat has read-write access to this directory.