Initial Configurations for Tomcat 8: Deploying your first war file

1. Shutdown tomcat.
Open <TOMCAT_HOME>/apache-tomcat-8.0.5/conf/tomcat-users.xml and the following user info:

&lt;role rolename=&quot;admin&quot;/&gt;
&lt;user username=&quot;admin&quot; password=&quot;password&quot; roles=&quot;standard,manager,manager-gui,admin,admin-gui&quot;/&gt;

This will enable the use of tomcat web application manager and other management web apps. Now start the server again.

2. Build your project to generate war file. It’ll reside in <project-name>/build/libs directory.

3. Deploy your war file from tomcat webapp manager. Upload and start it using the webapp manager.

Leave a Reply

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

You are commenting using your 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