Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Is org.eclipse.update.configurator required for server-side apps?
Is org.eclipse.update.configurator required for server-side apps? [message #110933] Thu, 29 May 2008 18:35 Go to next message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
Can anyone tell me if org.eclipse.update.configurator is required for war
based server-side equinox apps?

I've been trying to whitle down the list of required bundles for
server-side equinox. I'm able to run a sample Web app in an Eclipse
development using the target from eclipse-equinox-3.3.2 [1]. However, when
I create a war with this target I can't get the Web application to run
successfully unless I add the org.eclipse.update.configurator bundle. I
tried removing this bundle from my config.ini with no success. My
config.ini looks like

------------------------------------------------------------ ----------------------------------------------
#Eclipse Runtime Configuration File
osgi.bundles=\
org.eclipse.equinox.common@2:start,\
org.eclipse.equinox.http.servletbridge@start,\
org.eclipse.equinox.http.registry@start,\
my.bundle@start

osgi.bundles.defaultStartLevel=4
------------------------------------------------------------ ----------------------------------------------

Is there another bundle that I should start instead of
org.eclipse.update.configurator? Does my application need to initialize in
some other programmatic way?

[1]
http://download.eclipse.org/eclipse/equinox/drops/R-3.3.2-20 0802211800/index.php

Thanks,

Lawrence
Re: Is org.eclipse.update.configurator required for server-side apps? [message #110997 is a reply to message #110933] Fri, 30 May 2008 01:46 Go to previous messageGo to next message
Simon Kaegi is currently offline Simon KaegiFriend
Messages: 381
Registered: July 2009
Senior Member
Hi Lawrence,
You need to add everything those bundles depend on too.
e.g. org.eclipse.equinox.http.servlet, org.eclipse.equinox.registry,
org.eclipse.osgi.services

These bundles do not need to be starteded explicitly but must still be
installed via osgi.bundles if you're not going to use a configuration agent
like update.configurator and eventually p2.

If you're using tomcat or jetty or some other servlet container that gives
you easy access to stdin/stdout use the consoles "ss" and "diag" commands to
help figure out what's going on.

HTH
-Simon

<lmandel@ca.ibm.com> wrote in message news:g1mt12$94d$1@build.eclipse.org...
> Can anyone tell me if org.eclipse.update.configurator is required for war
> based server-side equinox apps?
>
> I've been trying to whitle down the list of required bundles for
> server-side equinox. I'm able to run a sample Web app in an Eclipse
> development using the target from eclipse-equinox-3.3.2 [1]. However, when
> I create a war with this target I can't get the Web application to run
> successfully unless I add the org.eclipse.update.configurator bundle. I
> tried removing this bundle from my config.ini with no success. My
> config.ini looks like
>
> ------------------------------------------------------------ ----------------------------------------------
> #Eclipse Runtime Configuration File
> osgi.bundles=\
> org.eclipse.equinox.common@2:start,\
> org.eclipse.equinox.http.servletbridge@start,\
> org.eclipse.equinox.http.registry@start,\
> my.bundle@start
>
> osgi.bundles.defaultStartLevel=4
> ------------------------------------------------------------ ----------------------------------------------
>
> Is there another bundle that I should start instead of
> org.eclipse.update.configurator? Does my application need to initialize in
> some other programmatic way?
>
> [1]
> http://download.eclipse.org/eclipse/equinox/drops/R-3.3.2-20 0802211800/index.php
>
> Thanks,
>
> Lawrence
Re: Is org.eclipse.update.configurator required for server-side apps? [message #111539 is a reply to message #110997] Thu, 05 June 2008 15:13 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
Thanks Simon. You hit the info I was missing.

Lawrence
Previous Topic:How To Avoid Classloader Activating all Bundles?
Next Topic:easybeans and equinox
Goto Forum:
  


Current Time: Thu Apr 18 05:19:41 GMT 2024

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

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

Back to the top