[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openejb-user
Subject:    Re: How to set Context root to other than the war file name?
From:       Romain Manni-Bucau <rmannibucau () gmail ! com>
Date:       2016-08-24 6:04:45
Message-ID: CACLE=7NbEmVZMRxKK8eh57BQtmjAyiSb3kMr1d9eYT-FMZrD8w () mail ! gmail ! com
[Download RAW message or body]


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" <v_nalla@hotmail.com> 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.
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic