Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » Conveying OSGI runtime options to serverside OSGI
Conveying OSGI runtime options to serverside OSGI [message #60342] Tue, 07 February 2006 21:32 Go to next message
Jim DAnjou is currently offline Jim DAnjouFriend
Messages: 25
Registered: July 2009
Junior Member
Can OSGI runtime properties be conveyed to OSGI running under the server?
Are there any limitations? In particular, I am interested in
osgi.resolverMode property to allow a server to run in strict mode or not
when there is a desire to enforce class access restriction rules.

Can I presume that they can be conveyed to a server with as -D vmarg when
the server is started? Is there any opportunity to convey them just to the
web container running OSGI? Also in a OSGI start/redeploy console command
(sp_start, sp_redeploy) so that the properties are localized to the web
container running OSGI?

Thanks!

Jim D'Anjou
Re: Conveying OSGI runtime options to serverside OSGI [message #60366 is a reply to message #60342] Tue, 07 February 2006 21:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

Hi Jim,

You can see an example of sending runtime properties on the servlet.bridge
HEAD.
This is using the new FrameworkProperties so they are per web container.

For now, you can use -Dxxx however these will be for all OSGi instances in
the process.
I think having an init param or something similar to set runtime properties
is a good idea.
Can you open an enhancement request.

-Simon


"Jim D'Anjou" <danjou@us.ibm.com> wrote in message
news:7d48b0ef29506d9f727bdc21fefed2d8$1@www.eclipse.org...
> Can OSGI runtime properties be conveyed to OSGI running under the server?
> Are there any limitations? In particular, I am interested in
> osgi.resolverMode property to allow a server to run in strict mode or not
> when there is a desire to enforce class access restriction rules.
>
> Can I presume that they can be conveyed to a server with as -D vmarg when
> the server is started? Is there any opportunity to convey them just to the
> web container running OSGI? Also in a OSGI start/redeploy console command
> (sp_start, sp_redeploy) so that the properties are localized to the web
> container running OSGI?
>
> Thanks!
>
> Jim D'Anjou
>
>
>
Re: Conveying OSGI runtime options to serverside OSGI [message #61110 is a reply to message #60366] Fri, 10 February 2006 02:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jeff_nospam_mcaffer.ca.ibm.com

Here we should introduce a startup path that allows the set of framework
properties to be passed in.

Jeff

"Simon Kaegi" <skaegi@sympatico.ca> wrote in message
news:dsb4qf$hnk$1@utils.eclipse.org...
> Hi Jim,
>
> You can see an example of sending runtime properties on the servlet.bridge
> HEAD.
> This is using the new FrameworkProperties so they are per web container.
>
> For now, you can use -Dxxx however these will be for all OSGi instances in
> the process.
> I think having an init param or something similar to set runtime
properties
> is a good idea.
> Can you open an enhancement request.
>
> -Simon
>
>
> "Jim D'Anjou" <danjou@us.ibm.com> wrote in message
> news:7d48b0ef29506d9f727bdc21fefed2d8$1@www.eclipse.org...
> > Can OSGI runtime properties be conveyed to OSGI running under the
server?
> > Are there any limitations? In particular, I am interested in
> > osgi.resolverMode property to allow a server to run in strict mode or
not
> > when there is a desire to enforce class access restriction rules.
> >
> > Can I presume that they can be conveyed to a server with as -D vmarg
when
> > the server is started? Is there any opportunity to convey them just to
the
> > web container running OSGI? Also in a OSGI start/redeploy console
command
> > (sp_start, sp_redeploy) so that the properties are localized to the web
> > container running OSGI?
> >
> > Thanks!
> >
> > Jim D'Anjou
> >
> >
> >
>
>
Re: Conveying OSGI runtime options to serverside OSGI [message #61132 is a reply to message #61110] Fri, 10 February 2006 03:10 Go to previous message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

I'd really like this if there's time as the FrameworkProperties are in an
internal package.
I'll open an enhancement request.
-Simon

"Jeff McAffer" <jeff_nospam_mcaffer@ca.ibm.com> wrote in message
news:dsgv8e$otl$1@utils.eclipse.org...
> Here we should introduce a startup path that allows the set of framework
> properties to be passed in.
>
> Jeff
>
> "Simon Kaegi" <skaegi@sympatico.ca> wrote in message
> news:dsb4qf$hnk$1@utils.eclipse.org...
> > Hi Jim,
> >
> > You can see an example of sending runtime properties on the
servlet.bridge
> > HEAD.
> > This is using the new FrameworkProperties so they are per web container.
> >
> > For now, you can use -Dxxx however these will be for all OSGi instances
in
> > the process.
> > I think having an init param or something similar to set runtime
> properties
> > is a good idea.
> > Can you open an enhancement request.
> >
> > -Simon
> >
> >
> > "Jim D'Anjou" <danjou@us.ibm.com> wrote in message
> > news:7d48b0ef29506d9f727bdc21fefed2d8$1@www.eclipse.org...
> > > Can OSGI runtime properties be conveyed to OSGI running under the
> server?
> > > Are there any limitations? In particular, I am interested in
> > > osgi.resolverMode property to allow a server to run in strict mode or
> not
> > > when there is a desire to enforce class access restriction rules.
> > >
> > > Can I presume that they can be conveyed to a server with as -D vmarg
> when
> > > the server is started? Is there any opportunity to convey them just to
> the
> > > web container running OSGI? Also in a OSGI start/redeploy console
> command
> > > (sp_start, sp_redeploy) so that the properties are localized to the
web
> > > container running OSGI?
> > >
> > > Thanks!
> > >
> > > Jim D'Anjou
> > >
> > >
> > >
> >
> >
>
>
Previous Topic:sp_redeploy creates class cast exceptions for session attributes
Next Topic:Declarative services
Goto Forum:
  


Current Time: Thu Apr 25 02:03:06 GMT 2024

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

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

Back to the top