Re: Tomcat9 ROOT deploy

2018-08-01 Thread Mark Thomas
On 01/08/18 00:15, Mounika Reddy wrote: > What I found is when I renamed .xml to ROOT.xml in > /conf/Catalina/ > then war file exploded in to the ROOT directory in tomcat web apps > folder. Is this the expected behavior?? Yes. You have unpackWARs configured so that is what Tomcat does. It

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mounika Reddy
What I found is when I renamed .xml to ROOT.xml in /conf/Catalina/ then war file exploded in to the ROOT directory in tomcat web apps folder. Is this the expected behavior?? Because when I used as an exploded folder then it referred to it from the same /deploy folder. On Tue, Jul 31, 2018 at

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mounika Reddy
If I renamed ROOT.xml to .xml in the /conf/Catalina/ then it picked up the file and deployed in to webapps/. How can I make it so that it deploys to the ROOT folder. On Tue, Jul 31, 2018 at 2:09 PM, Mounika Reddy wrote: > In the same deploy folder where I had my war file. > > On Tue, Jul 31,

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mounika Reddy
In the same deploy folder where I had my war file. On Tue, Jul 31, 2018 at 1:20 PM, Mark Thomas wrote: > On 31/07/18 17:13, Mounika Reddy wrote: >> I tried first with the name as the war file name and didn't even pick >> my change but somehow it shows deployment is completed. I don't see >> the

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mark Thomas
On 31/07/18 17:13, Mounika Reddy wrote: > I tried first with the name as the war file name and didn't even pick > my change but somehow it shows deployment is completed. I don't see > the > exploded war file. Where did you look? Mark > > 31-Jul-2018 12:10:15.342 INFO [main] >

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mounika Reddy
I tried first with the name as the war file name and didn't even pick my change but somehow it shows deployment is completed. I don't see the exploded war file. 31-Jul-2018 12:10:15.342 INFO [main] org.apache.catalina.startup.HostConfig.deployDescriptor Deploying configuration descriptor

Re: Tomcat9 ROOT deploy

2018-07-31 Thread Mark Thomas
On 31/07/18 16:44, Mounika Reddy wrote: > Hi all, > > I'm trying to deploy a war file in tomcat and publish to root context. > I have created a ROOT.xml file in > /conf/Catalina//ROOT.xml. The issue is tomcat > not picking up war file or neither exploding war file into a > directory. But if I

Tomcat9 ROOT deploy

2018-07-31 Thread Mounika Reddy
Hi all, I'm trying to deploy a war file in tomcat and publish to root context. I have created a ROOT.xml file in /conf/Catalina//ROOT.xml. The issue is tomcat not picking up war file or neither exploding war file into a directory. But if I unpack war file into a folder then it's picking up