About installing archiva, followed
http://archiva.apache.org/docs/2.2.3/adminguide/webapp.html
<Context path="/archiva"
docBase="${catalina.home}/archiva/apache-archiva-2.2.3.war">
<Resource name="jdbc/users" auth="Container" type="javax.sql.DataSource"
username="archiva"
password="123456"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/archiva?useSSL=false" />
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"
mail.smtp.host="localhost"/>
</Context>
The war is deployed to Tomcat 8.0.26.
If I change the context path from /archiva to /mavenRepos, it will not work.
19-Mar-2018 10:49:32.603 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying deployment descriptor [E:\apache-tomcat-9.0.6\conf\Catalina\localhost\archiva.xml]
19-Mar-2018 10:49:32.638 WARNING [main] org.apache.catalina.startup.HostConfig.deployDescriptor The path attribute with value [/mavenRepos] in deployment descriptor [E:\apache-tomcat-9.0.6\conf\Catalina\localhost\archiva.xml] has been ignored
Why the context path is ignored?