You can do it in server.xml or the easiest is to rename the war ROOT.war Le 24 août 2016 06:42, "vnalla" <[email protected]> a écrit :
> Hi, > > I would like to change the context root something other than the war file > name for JAX-RS service. But it is not working. > > I have put context.xml file in META-INF of war file - did not work > created <warfilename>.xml file in conf/Catalina/localhost - did not work > > this what I included the xml file > > <Context docBase="path/to/webapps/folder" path="required path" > reloadable="true"/> > > used the path to war file as well for docBase. > > Thanks, > Venkat > > > > > -- > View this message in context: http://tomee-openejb.979440. > n4.nabble.com/How-to-set-Context-root-to-other-than- > the-war-file-name-tp4679857.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
