i have modified int othe pom:
 <plugin>
        <groupId>org.apache.openejb.maven</groupId>
        <artifactId>tomee-maven-plugin</artifactId>
        <configuration>
          <context>ROOT</context>
           <tomeeVersion>1.7.3</tomeeVersion>
           <tomeeClassifier>plus</tomeeClassifier>
          <tomeeHttpPort>9080</tomeeHttpPort>
           <tomeeShutdownPort>9050</tomeeShutdownPort>
      
        </configuration>
        
        
      </plugin>
-----------------------------------
*i have above added the tomeeHttpPort 9080 and the tomeeShutdownPort 9050 *

next i do:

*cd
/home/utente_javaee7/NetBeansProjects/2016_progetti_tomee1.7.3/prova_tomee1.7.3;
JAVA_HOME=/home/utente_javaee7/jdk1.8.0
/home/utente_javaee7/netbeans-8.0.1/java/maven/bin/mvn tomee:stop*
Scanning for projects...
                                                                        
------------------------------------------------------------------------
Building prova_tomee1.7.3 TomEE Webapp 0.1-SNAPSHOT
------------------------------------------------------------------------

--- tomee-maven-plugin:1.7.3:stop (default-cli) @ prova_tomee1.7.3 ---
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 14.166s
Finished at: Tue Jan 12 19:16:44 CET 2016
Final Memory: 8M/20M
------------------------------------------------------------------------
*Failed to execute goal
org.apache.openejb.maven:tomee-maven-plugin:1.7.3:stop (default-cli) on
project prova_tomee1.7.3: Execution default-cli of goal
org.apache.openejb.maven:tomee-maven-plugin:1.7.3:stop failed.
NullPointerException -> [Help 1]*

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read
the following articles:
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/tomee-stop-not-work-tp4677388p4677421.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to