You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Peter Rader (JIRA)" <ji...@apache.org> on 2017/09/06 14:16:00 UTC

[jira] [Commented] (MTOMCAT-263) tomcat7:exec-war can't create .extract/webapps

    [ 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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org