« Return to Thread: [jira] Created: (CARGO-734) Add Tomcat support for multi-level context paths

[jira] Commented: (CARGO-734) Add Tomcat support for multi-level context paths

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


    [ http://jira.codehaus.org/browse/CARGO-734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195651#action_195651 ]

Chris Marks commented on CARGO-734:
-----------------------------------

Forgot to add that a description of multi-level contexts is found in the Introduction sections of http://tomcat.apache.org/tomcat-6.0-doc/config/context.html and http://tomcat.apache.org/tomcat-5.5-doc/config/context.html.  Versions of Tomcat that support this syntax were found by searching the change logs posted on the Tomcat site.

> Add Tomcat support for multi-level context paths
> ------------------------------------------------
>
>                 Key: CARGO-734
>                 URL: http://jira.codehaus.org/browse/CARGO-734
>             Project: Cargo
>          Issue Type: Improvement
>          Components: Tomcat
>            Reporter: Chris Marks
>            Priority: Minor
>         Attachments: cargo-core-container-tomcat.patch
>
>
> Tomcat provides support for multi-level contexts as of v5.5.27 and v6.0.18.  A multi-level context is when an application appears to be deployed to a sub-directory, such as random/location.  When using Tomcat, you can name your WAR file using a # to indicate a directory change, so for the previous example, the war file name would be random#location.war.  In order to use Cargo to deploy a war that is named in this convention, TomcatWAR.getContext() needs to be modified to accomodate the new convention.
> Attached is a patch that does a regular expression replace of '#' with '/' for the context name.  It does include a unit test to test the situation and a sample war file using the new naming scheme.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: [jira] Created: (CARGO-734) Add Tomcat support for multi-level context paths