Install and Configure Apache Tomcat Web Server in Eclipse IDE (Windows)

2


0.1. Visit http://tomcat.apache.org/ and download the latest version of Apache Tomcat file.
The file looks like "32-bit/64-bit Windows Service Installer (pgp, md5, sha1". Then install Tomcat".

1. Go to installation directory and copy the Tomcat directory path.
The path looks like: C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.15

2. Environment Variables setup:
    -> Now go to Environment Variables setup option
    -> Under User Variables, click on New
    -> Variable name: CATALINA_HOME
    -> Variable value: paste the copied path C:\Program Files\Apache Software Foundation\Apache Tomcat 8.0.15
    -> Click Ok.

3. Run and Test Server:
    -> Open cmd
    -> Change the directory to Tomcat bin dir
    -> Type startup.bat and press enter
    -> Go to browser and type localhost:8080 and the Tomcat webpage will be appeared
    -> Write shutdown.bat and press enter to stop server.

    or, 
    -> Go to the installation directory and go to bin folder,
    ->  You will see startup.bat, right click on it and run as administrator. The Tomcat server will run
    ->  Go to browser and type localhost:8080 and the Tomcat webpage will be appeared
    ->  Click on shutdown.bat to stop the server

4. Eclipse setup:
    ->  Download Eclipse for EE develop, install and open eclipse
    ->  You will see below a server option, click on it and there will be something like
"link to create new server", click on it
    ->  You will see a list of different Tomcat version, select     ->  and click Next
    ->  Click on browse and locate the installed Tomcat directory like: tomcat 8.0.15 and click Next
    ->  Click Finish

    ->  See, Tomcat server has been created, right click on it and click start and it will start the server.

You can follow this short video:

Post a Comment

2Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
  1. It's quite attention-grabbing journal post value of reading. i actually grateful for giving a chance to browse an informative article like this! i actually appreciate this post thanks for sharing these form of posts.

    Fast dedicated servers

    ReplyDelete
  2. I cannot thank you enough for the blog.Thanks Again. Keep writing.
    linux online course

    ReplyDelete
Post a Comment