tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edouard LAMOTTE <elamo...@sedona.fr>
Subject Re: Problem with tomee-maven-plugin/tomee:exec
Date Mon, 26 Oct 2015 18:09:30 GMT
all right thanks

----- Mail original -----
De: "Romain Manni-Bucau" <rmannibucau@gmail.com>
À: users@tomee.apache.org
Envoyé: Lundi 26 Octobre 2015 18:48:05
Objet: Re: Problem with tomee-maven-plugin/tomee:exec

Hi

2015-10-26 18:36 GMT+01:00 Edouard LAMOTTE <elamotte@sedona.fr>:

> Hi Romain,
>
> i tried to run my executable jar with a maven command "mvn exec:exec",
> it works.
>
> But the idea was to run the application on a laptop who don't have the
> maven project and don't have a TomEE installed.
> And our application is in production with TomEE 1.7.2.
>
> Do you think it will be fixed on TomEE 1.7.x?
>
>
java command has been fixed in 1.7.x. catalina.bat fix has not been
backported yet.


> Thanks for your help
>
>
> ----- Mail original -----
> De: "Edouard LAMOTTE" <elamotte@sedona.fr>
> À: users@tomee.apache.org
> Envoyé: Lundi 26 Octobre 2015 17:45:50
> Objet: Re: Problem with tomee-maven-plugin/tomee:exec
>
> ok Romain, i understand,
>
> i will test it
>
> Thanks again
>
> ----- Mail original -----
> De: "Edouard LAMOTTE" <elamotte@sedona.fr>
> À: users@tomee.apache.org
> Envoyé: Lundi 26 Octobre 2015 17:34:07
> Objet: Re: Problem with tomee-maven-plugin/tomee:exec
>
> Hi romain,
>
> thanks for the quick response.
>
> I'm sorry but i don't understand what do you mean by use java as script in
> mvn config?
>
> Best Regards
>
> ----- Mail original -----
> De: "Romain Manni-Bucau" <rmannibucau@gmail.com>
> À: users@tomee.apache.org
> Envoyé: Lundi 26 Octobre 2015 17:10:12
> Objet: Re: Problem with tomee-maven-plugin/tomee:exec
>
> Hi
>
> For win use java as script in mvn config for tomee 1.7.2.
>
> Has been fixed for 7.0.0 m2.
> Le 26 oct. 2015 16:51, "Edouard LAMOTTE" <elamotte@sedona.fr> a écrit :
>
> > Hi,
> >
> >
> > 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" java.io.IOException: Cannot run program
> > "bin\catalina[.sh|.bat]" (in directory ".distribution"): CreateProcess
> > error=2, Le fichier spécifié est introuvable
> > at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
> > at
> >
> org.apache.openejb.maven.plugin.runner.ExecRunner.main(ExecRunner.java:165)
> > Caused by: java.io.IOException: CreateProcess error=2, Le fichier
> spécifié
> > est introuvable
> > at java.lang.ProcessImpl.create(Native Method)
> > at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
> > at java.lang.ProcessImpl.start(ProcessImpl.java:137)
> > at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
> > ... 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.
> >
> >
> > Sincerely
>

Mime
View raw message