H
Horst Walter
I have a brief question about my Tomcat config. I try to place the
webapps folder structure inside my Eclipse project strutcure, but
outside the Tomcat home directory. Example:
c:\Eclipse\MyProject
c:\Java\Tomcat\webapps
In order to do so I set in the server XML:
<Host name="localhost" debug="0"
appBase="c:\Eclipse\MyProject" unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
mywebapp.xml:
<Context path="/mywebapp" docBase="c:\Eclipse\MyProject\mywebapp">
Question: I would expect mywebapp.war to be automatically unpacked
when I place it in c:\Eclipse\MyProject (it's the appbase). That's the
way it works when I leave the webapp dir unchanged (inside tomcat
home). However, it does not work when I set the dir outside the tomcat
home dir.
Any hints would be appreciated.
Regards HW
PS: Tomcat 5.0.25 on Win2k
webapps folder structure inside my Eclipse project strutcure, but
outside the Tomcat home directory. Example:
c:\Eclipse\MyProject
c:\Java\Tomcat\webapps
In order to do so I set in the server XML:
<Host name="localhost" debug="0"
appBase="c:\Eclipse\MyProject" unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
mywebapp.xml:
<Context path="/mywebapp" docBase="c:\Eclipse\MyProject\mywebapp">
Question: I would expect mywebapp.war to be automatically unpacked
when I place it in c:\Eclipse\MyProject (it's the appbase). That's the
way it works when I leave the webapp dir unchanged (inside tomcat
home). However, it does not work when I set the dir outside the tomcat
home dir.
Any hints would be appreciated.
Regards HW
PS: Tomcat 5.0.25 on Win2k