[ 
https://issues.apache.org/jira/browse/MTOMCAT-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16155413#comment-16155413
 ] 

Peter Rader commented on MTOMCAT-263:
-------------------------------------

h1. WORKAROUND

This must work:

{{mkdir .extract
java -jar xxx-war-exec.jar

Sep 06, 2017 4:12:06 PM org.apache.catalina.core.StandardContext setPath
WARNUNG: A context path must either be an empty string or start with a '/'. The 
path [xxx] does not meet these criteria and has been changed to [/xxx]
Sep 06, 2017 4:12:07 PM org.apache.coyote.AbstractProtocol init
INFORMATION: Initializing ProtocolHandler ["http-bio-8080"]
}}

> tomcat7:exec-war can't create .extract/webapps
> ----------------------------------------------
>
>                 Key: MTOMCAT-263
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-263
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1, 2.2
>            Reporter: jieryn
>            Assignee: Olivier Lamy (*$^¨%`£)
>             Fix For: 3.0
>
>         Attachments: MTOMCAT-263_1.patch
>
>
> bash$ java -jar target/app-1.0-SNAPSHOT-war-exec.jar
> Exception in thread "main" java.lang.Exception: FATAL: impossible to create 
> directories:.extract/webapps
>         at 
> org.apache.tomcat.maven.runner.Tomcat7Runner.extract(Tomcat7Runner.java:586)
>         at 
> org.apache.tomcat.maven.runner.Tomcat7Runner.run(Tomcat7Runner.java:204)
>         at 
> org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(Tomcat7RunnerCli.java:212)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to