Logs : $CATALINA_BASE/logs Enabling HTML Management AccessĮdit the "$CATALINA_HOME/conf/tomcat-users.xml" file, adding the following entries inside "tomcat-users" tag. The main locations of configuration and log information are shown below. The status is also available from the HTML management page. There are several ways to check the status of the service. Information about the Linux firewall is available here. Remember to open up the port on the firewall if you want to access the site from other servers on the network. Configuration for the management URLs is discussed below. Once Tomcat is started, the following URL should be available. The Tomcat logs are written to the "$CATALINA_HOME/logs/" directory by default. Start and stop Tomcat using the following scripts. #export JAVA_HOME=/home/tomcat/jdk1.7.0_79Įxport JAVA_HOME=/home/tomcat/jdk1.8.0_77Įxport CATALINA_HOME=/home/tomcat/apache-tomcat-7.0.68 Remember to set the desired JAVA_HOME correctly. Set the following environment variables and append them to the "/home/tomcat/.bash_profile" so they are set for subsequent logins. $ tar xzf /tmp/apache-tomcat-7.0.68.tar.gz Install Tomcat from the tarball under the home directory of the "tomcat" user. Install the JDK (7 or 8) from the tarball under the tomcat user. Apache Tomcat (I used apache-tomcat-7.0.68.tar.gz)Ĭreate a user called "tomcat" to own the Tomcat installation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |