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 2011/04/29 18:18:31 UTC
DO NOT REPLY [Bug 51136] New: Allow to set the context name through
Tomcat's embeded class before adding it to the host
https://issues.apache.org/bugzilla/show_bug.cgi?id=51136
Bug #: 51136
Summary: Allow to set the context name through Tomcat's embeded
class before adding it to the host
Product: Tomcat 7
Version: trunk
Platform: PC
Status: NEW
Severity: enhancement
Priority: P2
Component: Catalina
AssignedTo: dev@tomcat.apache.org
ReportedBy: david.calavera@gmail.com
Classification: Unclassified
org.apache.catalina.startup.Tomcat creates contexts and add them to the host
directly. It would be nice if we could set the name of the context before
adding it to the host.
I'm including a patch that overloads the methods "addWebapp" and "addContext"
to take that name as a parameter.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 51136] Allow to set the context name through
Tomcat's embeded class before adding it to the host
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51136
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
OS/Version| |All
--- Comment #2 from Mark Thomas <ma...@apache.org> 2011-05-04 08:48:11 UTC ---
Providing a patch that doesn't compile (two missing returns and contextName !=
name) doesn't help the chances that the patch will ever be applied. In this
case the fixes were simple and the patch is useful so the issue were fixed and
the patch has been applied. However, be aware that this is the exception rather
than the rule and that typically, poor quality patches will be rejected.
The new methods will be in 7.0.13 onwards.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
DO NOT REPLY [Bug 51136] Allow to set the context name through
Tomcat's embeded class before adding it to the host
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51136
--- Comment #1 from David Calavera <da...@gmail.com> 2011-04-29 16:19:10 UTC ---
Created attachment 26942
--> https://issues.apache.org/bugzilla/attachment.cgi?id=26942
patch that fix this issue
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org