Setting up and starting a web server in eclipse PDE (Quickstart)

Setting up and starting a web server in eclipse PDE (Quickstart)

The following describes a number of simple steps to set up and start up a web server in the eclipse PDE environment.


  1. Create a new OSGi run configuration
  2. Add the package org.eclipse.equinox.http.jetty
  1. Click on „Add Required Bundles“

A number of bundles should have been added to your run configuration.

  1. Go to the tab arguments and add the VM argument: „ -Dorg.osgi.service.http.port=8080“


Now you should be able to start up the server by starting the run configuration. You can check if the server is running by opening the URL http://localhost:8080/. It should show an error message as the following:



Building a server based Application with Equinox (on

Building a web server in Felix by using wars:

Alternative way: starting Equinox as deployed application on a web server and let this bundle load osgi modules:

Scroll down to Server-Side

The core bundle to start server org.eclipse.equinox.http.jetty

Equinox Server Side info:

Slides giving a good overview: [slideshare id=3516425&doc=eclipsecon-2010-server-side-eclipse-tutorial-100322190055-phpapp01]