Install/Set up Apache Tomcat server

Step -1

Download apache tomcat server from apache’s site.

j2eeapache

 

 

  • Unzip to any location
  • Set envirnment variables

User variable:

CATALINA_BASE: C:\XXXXXX\apache-tomcat-7.0.47

CATALINA_HOME: C:\XXXXXX\apache-tomcat-7.0.47

JAVA_HOME: C:\Program Files\Java\jdk1.6.0_27

JRE_HOME: C:\Program Files\Java\jre6

 

  • Start command prompt, move to  C:\XXXXXX\apache-tomcat-7.0.47/bin
  • Execute startup.bat

j2eeapache-2

 

  • You should somthing like following.

j2eeapache-3

  • Find out on which port apache started from: c:\xxx\apache-tomcat-7.0.47\conf\server.xml

j2eeapache-4

 

  • Add check it from your browser by hitting: localhost:8080 (for e.g.)
  • You should see something like following.
  • j2eeapache-5