how to start stop tomcat server using CMD?
- by ali
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..........