July 2016
Intermediate to advanced
490 pages
10h 54m
English
Apache Tomcat 7 will be used as the application server for this chapter. There are two popular Maven plugins that can be used to deploy applications to Tomcat: the Apache Maven plugin and the Mojo Maven plugin. By default, this book uses the Mojo Maven plugin.
To deploy a Maven project to Tomcat using the Mojo Maven plugin, the following configuration must be followed:
user/conf/tomcat-users.xml file on the Tomcat server and add the desired user with administrator rights. Information like role, username and password of the added user must be added inside the <tomcat-user> tag. A sample configuration is shown in the following code snippet:<role rolename="manager"/> <role rolename="admin"/> <user username="admin" password="admin" ...
Read now
Unlock full access