Difference between revisions of "Tomcat windows setup"
(Created page with "Category:Linux Category:Development Like any other Java application, Tomcat can run on Windows as well. =Requirement= You need to have a Java JDK. See http://www....") |
|||
Line 12: | Line 12: | ||
=Tomcat installation= | =Tomcat installation= | ||
− | |||
1. Download the latest tomcat version (Windows installer): http://tomcat.apache.org/download-70.cgi | 1. Download the latest tomcat version (Windows installer): http://tomcat.apache.org/download-70.cgi | ||
− | |||
2. During installation, add a specific user | 2. During installation, add a specific user | ||
This user will be used to access the manager-app (= configuration pages) | This user will be used to access the manager-app (= configuration pages) | ||
− | |||
3. After install, start the tomcat service and go to: http://localhost:8080 | 3. After install, start the tomcat service and go to: http://localhost:8080 | ||
− | |||
4. Go to the manager app: http://localhost:8080/manager/html | 4. Go to the manager app: http://localhost:8080/manager/html | ||
− | |||
5. Deploy you war file(s) | 5. Deploy you war file(s) | ||
Line 32: | Line 27: | ||
=Upgrade Tomcat privileges= | =Upgrade Tomcat privileges= | ||
− | |||
In order to start "Tomcat server as a service" on windows startup, you must improve the Tomcat privileges. | In order to start "Tomcat server as a service" on windows startup, you must improve the Tomcat privileges. |
Revision as of 15:22, 31 March 2015
Like any other Java application, Tomcat can run on Windows as well.
Requirement
You need to have a Java JDK. See http://www.oracle.com/technetwork/java/javase/downloads/index.html
Tomcat installation
1. Download the latest tomcat version (Windows installer): http://tomcat.apache.org/download-70.cgi
2. During installation, add a specific user This user will be used to access the manager-app (= configuration pages)
3. After install, start the tomcat service and go to: http://localhost:8080
4. Go to the manager app: http://localhost:8080/manager/html
5. Deploy you war file(s)
Upgrade Tomcat privileges
In order to start "Tomcat server as a service" on windows startup, you must improve the Tomcat privileges.
To do so, go to TOMCAT_install_dir/bin
- Right click on "
tomcat7w.exe
" -> Properties
- Go to the “compatibility” panel
- Enable “run this program as an administrator”
- Click on “change settings for all users”
- Once again, enable “run this program as an administrator”