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"
/>
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: [email protected]
For additional commands, e-mail: [email protected]