Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » How can I move jetty based bundle to servletbridge based environment?
How can I move jetty based bundle to servletbridge based environment? [message #100703] Wed, 31 October 2007 02:05 Go to next message
Eclipse UserFriend
Originally posted by: fangzhouxing.gmail.com

In the following link:
http://eclipsezone.com/forums/thread.jspa?messageID=92173538

Simon said:

To start off (and in general at dev time) I'd use the Jetty based Http
Service that comes built in with the Eclipse 3.3 SDK. Once you've got
everything working properly you can move to operating under the
servletbridge as both environments are just OSGi with an Http Service with
the underlying details about precisely where you're running hidden..

My question is:
How can I move jetty based bundle to servletbridge based environment?
The jetty based bundle requires jetty related bundles which are not
required
in servletbridge based environment.
Re: How can I move jetty based bundle to servletbridge based environment? [message #100756 is a reply to message #100703] Thu, 01 November 2007 01:08 Go to previous message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
You need to remove the following bundles from your install:
org.eclipse.equinox.http.jetty
org.mortbay.jetty
org.apache.commons.logging (if none of your other bundles require it)
javax.servlet (when running under the servletbridge the Servlet API is
provided by the app server)

You need to add:
org.eclipse.equinox.http.servletbridge
The sevletbridge WAR generated from org.eclipse.equinox.servletbridge. (See
the link below)
An app server / servlet container
You might want to customize the war files config files (e.g. web.xml,
launch.ini, config.ini)

If you haven't already take a look at
http://www.eclipse.org/equinox/server/http_in_container.php

-Simon

"Fangzx" <fangzhouxing@gmail.com> wrote in message
news:5f227fcdc308d0d5e35bbc210a5f1031$1@www.eclipse.org...
> In the following link:
> http://eclipsezone.com/forums/thread.jspa?messageID=92173538
>
> Simon said:
>
> To start off (and in general at dev time) I'd use the Jetty based Http
> Service that comes built in with the Eclipse 3.3 SDK. Once you've got
> everything working properly you can move to operating under the
> servletbridge as both environments are just OSGi with an Http Service with
> the underlying details about precisely where you're running hidden..
>
> My question is:
> How can I move jetty based bundle to servletbridge based environment? The
> jetty based bundle requires jetty related bundles which are not required
> in servletbridge based environment.
>
>
Previous Topic:JSP osgi server example : how start the exemple?
Next Topic:best approach for unit testing
Goto Forum:
  


Current Time: Fri Mar 29 08:11:12 GMT 2024

Powered by FUDForum. Page generated in 0.04792 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top