Using catalina.base property instead of user.dir to get tomcat directory path