tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Corbin (Commented) (JIRA)" <>
Subject [jira] [Commented] (MTOMCAT-103) Executable War fails to run with a NullPointerException
Date Fri, 28 Oct 2011 14:08:32 GMT


Keith Corbin commented on MTOMCAT-103:

I have unziped the smapi1.0-war-exec.jar file and in it I see the smapi-1.0.war file.
I think it is finding the war, other wise I would be seeing the zip file exception that I
saw when running it from the wrong directory. 

Here is how I have the plugin configured in the pom:
> Executable War fails to run with a NullPointerException
> -------------------------------------------------------
>                 Key: MTOMCAT-103
>                 URL:
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>          Components: tomcat7
>    Affects Versions: 2.0
>         Environment: Mac OSX (tried on windows 7 as well)
>            Reporter: Keith Corbin
>            Assignee: Olivier Lamy
>            Priority: Critical
>             Fix For: 2.0
> Running the package goal with maven with the tomcat7 plugin configured the generated
executable war fails to run.  The error is:
> $ java -jar ./smapi-1.0-war-exec.jar -debug
> populateWebAppWarPerContext warValue:/smapi-1.0.war|/smapi-1.0
> populateWebAppWarPerContext contextValue/warFileName:/smapi-1.0//smapi-1.0.war
> webappWarPerContext entry key/value: /smapi-1.0//smapi-1.0.war
> Exception in thread "main" java.lang.NullPointerException
> 	at org.apache.tomcat.maven.runner.Tomcat7Runner.expand(
> 	at org.apache.tomcat.maven.runner.Tomcat7Runner.extract(
> 	at
> 	at org.apache.tomcat.maven.runner.Tomcat7RunnerCli.main(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message