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 15:04 -------
Right ... I finally figured this out. The trick is to use
deployOnStartup="false" on the Host element in server.xml.

I can't say I fully understand why my app continues to work, but I assume it's
because I have a <context> element in my server.xml and tomcat always deploys
context'ed applications.

That takes care of my immediate problem, but I still believe that deploying the
same application/context more than once is extremely undesirable and something
that the dev team needs to give more thought. There is no situation where this
yields any meaningful result, and it would be more than helpful if Tomcat could
avoid that. I imagine this can be done by modifying the webapp/* autodeployment
code (the DefaultContext code I suppose) so apps that have a context defined in
server.xml or meta-inf/context.xml aren't autodeployed. It makes a lot of sense.

I'm leaving this resolved-invalid for the time being so you have an opportunity
to leave a comment - if not for my sake then for others with the same problems.


-- 
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