|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (CARGO-734) Add Tomcat support for multi-level context pathsAdd 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 |
|
|
[jira] Commented: (CARGO-734) Add Tomcat support for multi-level context paths[ 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 |
|
|
[jira] Commented: (CARGO-734) Add Tomcat support for multi-level context paths[ http://jira.codehaus.org/browse/CARGO-734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=198564#action_198564 ] Matt Wringe commented on CARGO-734: ----------------------------------- The patch contains binary information (src/test/resources/org/codehaus/cargo/container/tomcat/tomcat#multi.war). Can you please provide a patch that only contains source code. > 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 |
|
|
[jira] Updated: (CARGO-734) Add Tomcat support for multi-level context paths[ http://jira.codehaus.org/browse/CARGO-734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Marks updated CARGO-734: ------------------------------ Attachment: (was: cargo-core-container-tomcat.patch) > 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_2009_11_17.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 |
|
|
[jira] Updated: (CARGO-734) Add Tomcat support for multi-level context paths[ http://jira.codehaus.org/browse/CARGO-734?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Marks updated CARGO-734: ------------------------------ Attachment: cargo-core-container-tomcat_2009_11_17.patch Added a patch that did not include the new binary file tomcat#multi.war per instruction. The war file was a copy of tomcat-empty.war and is necessary for the new unit test in org.codehaus.cargo.container.tomcat.TomcatWARTest to pass. > 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_2009_11_17.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 |
| Free embeddable forum powered by Nabble | Forum Help |