roirodriguez
roirodriguez

Reputation: 1740

Tomcat's context path for a webapp not working

I'm installing Artifactory (http://www.jfrog.com/products.php) under a default tomcat installation (ubuntu server distribution). I create a /etc/tomcat6/Catalina/localhost/artifactory.xml file with the following contents:

<Context path="/maven" docBase="${artifactory.home}/webapps/artifactory.war" debug="0">
    <Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>
</Context>

I want artifactory to be served under http://serverhostname:8080/maven , but it gets served under http://serverhostname:8080/artifactory instead. Any clues?

Upvotes: 2

Views: 4823

Answers (1)

kschneid
kschneid

Reputation: 5694

The Context docs state that the base name of the file will be used so it's likely that the path attribute is simply ignored.

Upvotes: 3

Related Questions