I've got CentOS 7 installed on my machine (Basic Web Server with Java Servlet Engine - Tomcat), and I have Spring Boot app. If I build my app as a jar, and run it on server with java -jar my_app.jar
, the app starts fine, and logs to file specified in application.properties (logging.file). But, after converting app to war packaging (using this tutorial), and deploying it to tomcat, app is running but tomcat doesn't log to file I specified, nor does it log in catalina.out
Both catalina.home and catalina.base point to /usr/share/tomcat/
folder. Also, I can't acces /usr/share/tomcat/logs
even though I'm admin and using sudo
. Only thing written in catalina.out
is: tomcat-7.0.54 RPM installed
. I've checked that as a root user. Might be permission problem, don't know. Normally, I would use logger to check for problems, but, as I've said, relevant logs are non-existent.
Has anyone expirienced similar issue, or knows the solution?