понеділок, 16 листопада 2015 р.

How to deploy project in Tomcat

1. download Tomcat http://tomcat.apache.org/download-80.cgi
2. unzip
3. go to D:\Program\apache-tomcat-8.0.28-windows-x64\apache-tomcat-8.0.28\bin and click on startup.bat
Click on shutdown.bat if you want to close tomcat
4. go to browser and open localhost:8080
5. the page with message "If you're seeing this, you've successfully installed Tomcat. Congratulations!"
6. go to D:\Program\apache-tomcat-8.0.28-windows-x64\apache-tomcat-8.0.28\conf and open toncat-user.xml
7. edit file
 <role rolename="manager-gui"/>
 <user username="admin" password="admin" roles="manager-gui"/>
8. go to  localhost:8080 and click on "Manager App" button. Login by admin/admin
9. the page with projects should be opened
10. create in Eclipse project
11. click on File/Export/Web/War file
12. go to Tomcat and deploy war file


Немає коментарів:

Дописати коментар