pianistsegz2012

4 out of 5 dentists recommend this WordPress.com site

Installing and Deploying a war file in tomcat

adetunjiadegbite

1. Download apache-tomcat-7.0.28 or the latest version from :
http://tomcat.apache.org/download
2. Place the downloaded zip file in any location and uzip it, in my case I placed it in the location shown below.
C:\Utilities\apache-tomcat-7.0.28
3. Navigate to the bin folder as shown below
C:\Utilities\apache-tomcat-7.0.28\bin
4. Launch the startup.bat file (for windows) and you should get a screen as shown below:

Tomcat startup screen

5. From the browser, input the url:
localhost:8080

A screen like this should appear:

Tomcat Manager
6. To deploy a .war file, click the Manager App button as shown by the arrow above but you would need to set up a username and password for the manager.
7a. To set the username and password for the manager, navigate to tomcat-users file as shown in the link below:
C:\Utilities\apache-tomcat-7.0.28\conf\tomcat-users

b.Paste the line below where you have a commented list of user tags. You can also uncomment the tags:
<role rolename=”manager-gui”/>
<user username=”tomcat” password=”s3cret”…

View original post 119 more words

Advertisements

Single Post Navigation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: