You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2006/08/29 17:54:22 UTC
DO NOT REPLY [Bug 40347] New: - Manager displays spurious contexts when multi-level context paths are used
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=40347>.
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=40347
Summary: Manager displays spurious contexts when multi-level
context paths are used
Product: Tomcat 5
Version: 5.5.17
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Webapps:Manager
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: ron.gomes@morganstanley.com
We deploy Web applications using three-level context paths like
"/webinfra/access/webapp". When an app is deployed this way in Tomcat 5.5 using
a Context XML file, spurious "applications" are created that then appear in the
app list displayed by the Manager. In the case mentioned here (for example),
"/webinfra" appears in the list once the real application has been deployed.
The spurious application can be undeployed from the Manager, and that
effectively undeploys the original as well.
This is operationally troublesome and confusing, and it differs from the
behavior in Tomcat 5.0 (from which we want to convert).
Note that the spurious contexts only appear if "unpackWARs" is set to "true"
(the default) so that WAR files are expanded into Tomcat's work area. (Running
with "unpackWARs" set to "false" is no longer a viable option for us because, in
that configuration, changes to the underlying WAR files, which we can't reliably
prevent, often lead to JVM crashes on a running system.)
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 40347] - Manager displays spurious contexts when multi-level context paths are used
Posted by bu...@apache.org.
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=40347>.
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=40347
------- Additional Comments From remm@apache.org 2006-08-30 23:29 -------
It's fairly logical, actually. I don't see any way how an autodeployer could
really deal with nested folders properly.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 40347] - Manager displays spurious contexts when multi-level context paths are used
Posted by bu...@apache.org.
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=40347>.
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=40347
------- Additional Comments From markt@apache.org 2006-08-30 23:17 -------
Sorry, I missed one of the combinations and it isn't that simple. Expand wars
always expands into the host's appbase which, with deploy on startup enabled
will then deploy the using the first level context.
A solution that will work is to use a context.xml file (named
level1#level2#level3.xml) and point to towards the expanded war which you
manually expeand as part of your deployment process.
Hope this helps but further discussion really does belong on the users list.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 40347] - Manager displays spurious contexts when multi-level context paths are used
Posted by bu...@apache.org.
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=40347>.
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=40347
ron.gomes@morganstanley.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
------- Additional Comments From ron.gomes@morganstanley.com 2006-08-30 14:03 -------
(In reply to comment #1)
So satisfying any one of those three conditions should prevent the extra
contexts from being created?
Our (new) standard configuration sets autoDeploy to "false", deployOnStartup to
"true", and unpackWars to "true", but all our WAR files are in fact outside the
host's appBase.
Should that not prevent the extra contexts from appearing?
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 40347] - Manager displays spurious contexts when multi-level context paths are used
Posted by bu...@apache.org.
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=40347>.
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=40347
remm@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |INVALID
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 40347] - Manager displays spurious contexts when multi-level context paths are used
Posted by bu...@apache.org.
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=40347>.
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=40347
markt@apache.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
------- Additional Comments From markt@apache.org 2006-08-30 03:00 -------
The handling of directories in a host's appBase has changed from 5.0.x to 5.5.x
This is a config issue. If you are going to deploy apps with a multi-level
context you need to do one of the following:
- disable autoDeploy and deployOnStartup
- set unpackWARs to false
- move the WAR file outside the host's appBase
If you have further questions, please follow up on the users mailing list.
--
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org