[
https://issues.apache.org/jira/browse/MTOMCAT-263?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14036158#comment-14036158
]
Jared Hodge commented on MTOMCAT-263:
-------------------------------------
I'm getting the exact same error message and stack trace you are when I don't
have the .extract directory there beforehand, so how could this be a separate
issue? I know the directories ARE created, but manually creating the .extract
directory BEFORE running the command causes the error to not happen for me.
You can just try "mkdir .extract" and then "java -jar
target/app-1.0-SNAPSHOT-war-exec.jar". I do NOT get the error when I do this.
It's also interesting that Mike Holdsworth is reporting issues with 2.3 (which
I don't even see in the maven central repository), and not with 2.2. I am
seeing this with 2.2, but not 2.1.
Maybe instead of wasting time arguing, you could check which versions you see
the issue with and also if creating the ".extract" directory manually is enough
to make the issue go away for you.
> 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
> Fix For: 3.0
>
>
> 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.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]