Starting Tomcat from the command line

If you happen to download the binary file of the tomcat server, you can start the server by running the startup.bat file in the binary folder of tomcat. I think most people would know this still when I started I had to spend quite a few time in understanding how to start the server. You can follow the following steps.

  • INSTALL JDK 1.7
  • COPY BINARY FILE OF TOMCAT TO <Drive>:\
  • GO TO COMMAND PROMPT TYPE  SET “JRE_HOME=%ProgramFiles%\Java\jre7”
  • AGAIN TYPE SET “CATALINA_HOME=E:\apache-tomcat-7.0.37” %CATALINA_HOME%\bin\startup.bat

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s