In the same deploy folder where I had my war file. On Tue, Jul 31, 2018 at 1:20 PM, Mark Thomas <ma...@apache.org> 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 >> exploded war file. > > Where did you look? > > Mark > > >> >> 31-Jul-2018 12:10:15.342 INFO [main] >> org.apache.catalina.startup.HostConfig.deployDescriptor Deploying >> configuration descriptor >> [C:\QA\tomcat9_cas\conf\Catalina\mysite.com\ROOT.xml] >> 31-Jul-2018 12:10:16.921 INFO [main] >> org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of >> configuration descriptor >> [C:\QA\tomcat9_cas\conf\Catalina\mysite.com\ROOT.xml] has finished in >> [1,563] ms >> >> On Tue, Jul 31, 2018 at 11:52 AM, Mark Thomas <ma...@apache.org> wrote: >>> 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 >>>> <TOMCAT_HOME>/conf/Catalina/<host_name>/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 >>>> properly. War file name is cas##1.0.0.war >>>> >>>> Host definition in server.xml: >>>> >>>> <Host name="sso.mysite.com" appBase="webapps" >>>> unpackWARs="true" autoDeploy="true"> >>>> >>>> Contents of ROOT.xml >>>> >>>> <?xml version="1.0" encoding="UTF-8"?> >>>> <Context >>>> docBase="../deploy/cas" >>>> /> >>> >>> The docBase above does not match the file structure below. >>> >>> It looks like you need docBase="../deploy/cas##1.0.0.war" >>> >>> >>>> >>>> My tomcat folder structure: >>>> >>>> <CATALINA_HOME> >>>> -- bin >>>> -- conf >>>> -- deploy >>>> -- cas##1.0.0.war >>>> -- logs >>>> -- lib >>>> -- temp >>>> -- webapps >>>> -- work >>>> >>>> Versions: >>>> Tomcat 9.0.1 >>>> Java 9.0.1 >>>> Windows Server 2012 >>>> >>>> Thanks. >>>> >>>> --------------------------------------------------------------------- >>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>>> For additional commands, e-mail: users-h...@tomcat.apache.org >>>> >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >>> For additional commands, e-mail: users-h...@tomcat.apache.org >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org