开发者

I want to know how to deploy the war file in apache tomcat and make it to run

开发者 https://www.devze.com 2022-12-29 02:07 出处:网络
I create a war file using apache ant and i wanted to deploy that .w开发者_运维知识库ar file in tomcat and make it run

I create a war file using apache ant and i wanted to deploy that .w开发者_运维知识库ar file in tomcat and make it run can u people help me with the steps.. i m not clear abt it


  • stop tomcat
  • move your war into [tomcat install dir]/webapps
  • start tomcat

tomcat will deploy the war on startup


  1. for database connectivity copy the connector in the lib folder of project which is in WEB_INF folder like point\war\WEB-INF\lib
  2. create war File ...in war folder of the project like c:/user/workspace/point/war/ there (point is project name) ...by command jar cvf point.war *
  3. now type http://localhost/portnumber/ like mine is http://localhost/9090
  4. press on tomcat manager and give user and password
  5. go on the option deploy war file to upload ...browse and choice the war file create in war folder of project upload the file
  6. click on the /point which created by manager and their your file is uploaded
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号