how to start stop tomcat server using CMD?

Posted by ali on Stack Overflow See other posts from Stack Overflow or by ali
Published on 2010-12-21T12:14:45Z Indexed on 2010/12/30 5:54 UTC
Read the original article Hit count: 242

Filed under:
|
|
|

i set the path for the tomcat and set all variables like

1.JAVA_HOME=C:\Program Files (x86)\Java\jdk1.6.0_22 2.CATALINA_HOME=G:\springwork\server\apache-tomcat-6.0.29 3.CLASSPATH=G:\springwork\server\apache-tomcat-6.0.29\lib\servlet-api.jar;G:\springwork\server\apache-tomcat-6.0.29\lib\jsp-api.jar;.;

when i go to bin folder and double click on startup.bat then my tomcat start and when i double click on shutdown.bat tomcat is stop.

But I want using CMD start and stop the tomcat. And in any folder i write command startup.bat the server will start and when i write the server will stop......

Thanks in advace..........

© Stack Overflow or respective owner

Related posts about java

Related posts about apache