Tomcat7 failed to shutdown
Posted: Fri Oct 05, 2012 1:44 am
Sorry, here might not be a right place to ask this kind of question, but I would like to know how you guys shutdown a tomcat7 instance on maven. The documentation only only shows an example of tomcat7:run-war but says nothing about tomcat7:shutdown. Why can't I shutdown a tomcat7 instance by the following setting?
Code: Select all
<target name="tomcat7-stop">
<artifact:mvn mavenHome="${maven.home}" fork="true">
<jvmarg value="-XX:MaxPermSize=256M" />
<jvmarg value="-Xmx512M" />
<arg value="tomcat7:shutdown"/>
</artifact:mvn>
</target>