DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40811>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40811





------- Additional Comments From [EMAIL PROTECTED]  2006-10-24 11:19 -------
Some supplemental info, following up on my previous post regarding automatic
deployment (see above)

According to the official documentation:

http://tomcat.apache.org/tomcat-5.5-doc/config/host.html#Automatic%20Application%20Deployment

"Any subdirectory within the application base directory  that appears to be an
unpacked web application (that is, it contains a /WEB-INF/web.xml file) will
receive an automatically generated Context element, even if this directory is
not mentioned in the conf/server.xml file"

What is missing here is a small but important extra statement "... and even if
it IS mentioned in conf/server.xml".

Continuing...:

"Finally, note that if you are defining contexts explicitly, you should probably
turn off automatic application deployment. Otherwise, your context will be
deployed twice each, and that may cause problems for your app."

This is precisely what is happening to me. So I modified my <host> element in
server.xml:

            <Host name="search.hyperpal.com" appBase="webapps"
                  unpackWARs="true" autoDeploy="false"
                  xmlValidation="false" xmlNamespaceAware="false">

                <Context path=""
                    docBase="search.hyperpal.com" reloadable="true" debug="0"
                />

            </Host>

(note: autodeploy=false on the Host element)

This still does not work. Tomcat deploys my application twice regardless of the
Host setting.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to