You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Sylvain Guillopé (JIRA)" <ji...@apache.org> on 2014/04/25 23:37:15 UTC
[jira] [Updated] (MTOMCAT-238) Parameter staticContextDocbase cant
be used
[ https://issues.apache.org/jira/browse/MTOMCAT-238?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sylvain Guillopé updated MTOMCAT-238:
-------------------------------------
Attachment: tomcat7-maven-plugin-2.2.diff
Hi,
I've attached the diff file based on Laurent Garcia's fix. Could you please have this patch integrated in the next version?
Our team recently switched to using this plugin but we had to manually override the jar as per Laurent's suggestion. It's helpful but not ideal.
Thanks
> 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: moreinfo
>
> 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