tomcat is started by script:
set "CATALINA_HOME=C:\test\apache-tomcat-7.0.39"
set "CATALINA_BASE=C:\test\catalina_base"
call C:\test\apache-tomcat-7.0.39\bin\catalina.bat start

in file *someConf*.xml under directory
C:\test\catalina_base\conf\Catalina\localhost
I define path:

<Context *docBase*="C:\externaltests\test1\exploded" *path*="/someConf*Path*"
/>

but application is still available only under /someConf derived from file
name, not from path attribute.
  "*docBase *is not located under the
Host<http://tomcat.apache.org/tomcat-7.0-doc/config/host.html>'s
appBase" as doc requires (part of server.xml):

      <Host name="localhost"  *appBase*="C:\test\catalina_base\webapp"
            unpackWARs="true" autoDeploy="false">

maybe path would be taken into consideration, if I would also set
  autoDeploy="false" deployOnStartup="false"
but how can I then start an app ?

how can I make tomcat to use path attribute form Context element ?
I tried to do as described under
http://tomcat.apache.org/tomcat-7.0-doc/config/context.html#Common_Attributes
and under
http://tomcat.apache.org/tomcat-7.0-doc/config/host.html#Common_Attributes

Reply via email to