You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Olivier Lamy (*$^¨%`£ JIRA)" <ji...@apache.org> on 2014/04/28 02:08:15 UTC

[jira] [Closed] (MTOMCAT-238) Parameter staticContextDocbase cant be used

     [ https://issues.apache.org/jira/browse/MTOMCAT-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olivier Lamy (*$^¨%`£) closed MTOMCAT-238.
------------------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: moreinfo)
                   3.0

applied.
Thanks for the patch.

> Parameter staticContextDocbase cant be used
> -------------------------------------------
>
>                 Key: MTOMCAT-238
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-238
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat6, tomcat7
>    Affects Versions: 2.0-beta-1, 2.1
>            Reporter: Michal Franc
>            Assignee: Olivier Lamy (*$^¨%`£)
>             Fix For: 3.0
>
>         Attachments: AbstractRunMojo.java, tomcat7-maven-plugin-2.2.diff, tomcat7-maven-plugin-2.2.jar.zip
>
>
> Attribute staticContextDocbase leads to IllegalArgumentException
> org.apache.tomcat.maven.plugin.tomcat7.run.AbstractRunMojo#createStaticContext
> is context created from container and at the and added again to server which leads to java.lang.IllegalArgumentException: addChild:  Child name '/' is not unique



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org