开发者

Hosting java/j2ee web app on tomcat6 along with mysql5.1 database

开发者 https://www.devze.com 2023-02-21 19:47 出处:网络
I have a java/j2ee web application built using tomcat6 and at back endI have mysql 5.1 database, I have configured my server that an amazon ec2 instance and I have installed apache tomcat6 along with

I have a java/j2ee web application built using tomcat6 and at back endI have mysql 5.1 database, I have configured my server that an amazon ec2 instance and I have installed apache tomcat6 along with mysql5.1 and also java6. I have .war file of my project. So what should I do where should I place those war 开发者_如何学Cfiles ??

Kindly help me


This is usually in the webapps folder of the tomcat instance. By default there is also a web app called ROOT so look for that folder and put the app in the folder above ROOT. Read the tomcat docs to enable the manager application (you need to edit users XML file to create manager role user and password). Then go to the manager URL and it will let you upload your war. You should then see where it is deploying it on disk.

0

精彩评论

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

关注公众号