tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edouard LAMOTTE <>
Subject Problem with tomee-maven-plugin/tomee:exec
Date Mon, 26 Oct 2015 15:50:33 GMT

I'm working with TomEE 1.7.2 on Windows 2007. 

I want to build a an executable jar with the maven command "mvn tomee:exec". 

But when i try to test my ***-exec-jar with the java command "java -jar ***-exec.jar" 

I have an exception : 

***-web\target>java -jar ***-web-0.0.1-SNAPSHOT-exec.jar 

Extracting tomee to ***-web\target\.distribution 
Exception in thread "main" Cannot run program "bin\catalina[.sh|.bat]"
(in directory ".distribution"): CreateProcess error=2, Le fichier spécifié est introuvable

at java.lang.ProcessBuilder.start( 
at org.apache.openejb.maven.plugin.runner.ExecRunner.main( 
Caused by: CreateProcess error=2, Le fichier spécifié est introuvable

at java.lang.ProcessImpl.create(Native Method) 
at java.lang.ProcessImpl.<init>( 
at java.lang.ProcessImpl.start( 
at java.lang.ProcessBuilder.start( 
... 1 more 

This error occurs in the ProcessBuilder called by the ExecRunner from the tomee-maven-plugin1.7.2.

Any idea about this problem? 

Thanks in advance. 

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message