VamsiKrishna
VamsiKrishna

Reputation: 791

How to deploy a webapplication developed to a remotely running tomcat server?

I need to deploy a webapplication developed in my local system (used Eclipse) on a tomcat server running on a remote server. For this what all privilages are to be needed on the existing server.

Upvotes: 0

Views: 198

Answers (2)

VamsiKrishna
VamsiKrishna

Reputation: 791

the easy way to deploy the application is to make a war file of your application and paste it in the webapps folder of tomcat installation folder. By default it catalina_home/webapps or use the inbuilt hostmanager application.

Upvotes: 0

Alex Barnes
Alex Barnes

Reputation: 7218

What version of Tomcat are you using? You should just be able to go to manager screen and deploy your war file from there i.e. http://hostname:8080/manager

On Tomcat 7 you need to have a user entry in /conf/tomcat-users.xml for the role manager-gui.

If you can connect to the server hosting tomcat you could copy your war file to the webapps directory manually instead.

Upvotes: 1

Related Questions