What are the files that are generated when Tomcat reruns?

Asked 2 years ago, Updated 2 years ago, 138 views

tomcat apache server

2022-09-22 21:58

2 Answers

What is the intention of running Tomcat as root... Once you run as root, there is nothing to change the permissions such as execution, log, and configuration files. However, if you log in to the root account and run it, there is a vulnerability to hacking! In order to simply service tomcat port 80, I think it is right to use the sudo command and give the authority to execute only tomcat script.


2022-09-22 21:58

Try forcing permissions on the tomcat home directory

chown account name:group name /usr/local/apache-tomcat-6.0.18 -R

If you set the log setting below /var/, that's also...

chown account name:group name /var/admin/tomcat -R

Do it like this.


2022-09-22 21:58

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.