Quantcast
Channel: Crunchify
Viewing all articles
Browse latest Browse all 1037

Step by Step Guide to Setup and Install Apache Tomcat Server in Eclipse Development Environment (IDE)

$
0
0

Eclipse is a very powerful development environment for Java. Mainly for Web Development project you need Web Server. Apache Tomcat is the best production ready web container.

By default when you download Eclipse IDE, it doesn’t come with Tomcat install with it. In this tutorial we will go over all detailed steps to configure Apache Tomcat successfully in Eclipse environment.

Step-1

Download Apache Tomcat from this link. I’m using version 8.0.15.

Download Apache Tomcat 8

Step-2

Extract it to Document folder.

Apache Tomcat under Document folder

Step-3

  • Open Eclipse Environment
  • Click on Servers Tab
  • Click on No servers are available. Click this link to create a new server...
  • Click Tomcat v8.0 Server and Next

Install Tomcat 8 in Eclipse

Step-4

Select Apache installation Directory and click Finish.

Select Apache Tomcat Installation Directory

Step-5

You should see Tomcat v8.0 Server at localhost [Stopped, Republish] under Servers tab. Double click on it verify HTTP ports information. By default HTTP port is 8080.

Tomcat Port number 8080

Step-6

Now right click on Server and click Start.

Right click on Apache Tomcat Server

Console output:

INFO: Initialization processed in 499 ms
Jan 05, 2015 9:09:28 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Jan 05, 2015 9:09:28 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.0.15
Jan 05, 2015 9:09:29 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Jan 05, 2015 9:09:29 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Jan 05, 2015 9:09:29 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 262 ms

It should be up and running on port 8080 and you could visit default page using URL: http://localhost:8080/

Have anything to add to this article? Please chime in and join the conversion.


The post Step by Step Guide to Setup and Install Apache Tomcat Server in Eclipse Development Environment (IDE) appeared first on Crunchify.
Author: Arpit Shah


Viewing all articles
Browse latest Browse all 1037

Trending Articles