Hi all,

I am trying to deploy a web app in tomcat 8 where the context path should
be different from the war file name.

We should be able to do this by adding a context.xml file in META-INF
folder in we app according to [1]. I created this file with the following
content, but this does not change the context path to EdwDataServices.

Any idea on this?

<?xml version="1.0" encoding="UTF-8"?>
<Context path="/EdwDataServices"
docBase="webapps/EdwDataServiceWeb-1.0.0-SNAPSHOT.war" />

Thanks,
Akalanka.

[1] - https://tomcat.apache.org/tomcat-8.0-doc/config/context.html

-- 
*Darshana Akalanka Pagoda Arachchi,*
*Software Engineer*
*078-4721791*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to