This is hopefully a simple question that will be easy to clear up. Here
is the example:
In server.xml the appbase=webapps and unpackWARs=false and
autoDeploy=true
For an application let's call it foo and it is in a war and meant to be
executed as such.. so foo.war is placed within the webapps
From: Michael Clovis [mailto:[EMAIL PROTECTED]
Subject: appbase and docbase
For an application let's call it foo and it is in a war and
meant to be executed as such.. so foo.war is placed within
the webapps directory.
Within the META-INF directory of the foo war is a context.xml
)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488)
Still a little confused..
Caldarale, Charles R wrote:
From: Michael Clovis [mailto:[EMAIL PROTECTED]
Subject: appbase and docbase
For an application let's call it foo and it is in a war and
meant to be executed
From: Michael Clovis [mailto:[EMAIL PROTECTED]
Subject: Re: appbase and docbase
The context.xml within the META-INF directory for foo.war
is currently Context debug=0
resource ... values for resources...
That better be Resource, not resource; case matters.
after clearing out the work
Penghui Wang wrote:
It seems workable. But i am not sure the configuration right or not.
Could someone could pick me up?
http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
Mark
-
To start a new topic,
=org.apache.catalina.valves.ErrorReportValve liveDeploy=true
mapperClass=org.apache.catalina.core.StandardHostMapper
name=site2.example.com unpackWARs=true
Context path= docBase=/home/www/site2 reloadable=true debug=0/
/Host
The appBase and docBase in the same virtualhost have the same path value