shutdown framework -> relaunch framework [message #64005] |
Thu, 23 March 2006 11:05 |
Eclipse User |
|
|
|
Originally posted by: yavin.gmx.com
Hi,
yesterday I played with the OSGI console of my application server. I
think I'm going to use it as the local admin interface. I tried to
shutdown and relaunch the framework but the relaunch did not start the
bundles configured. Then I tried to start the bundles by hand, but all
bundles stayed in resovled state.
Anybody who has an idea why the framework behaves that way?
Regards, Kai
PS: I'm not using the latest equinox bundles.
|
|
|
|
Re: shutdown framework -> relaunch framework [message #65910 is a reply to message #65876] |
Tue, 02 May 2006 08:19 |
Eclipse User |
|
|
|
Originally posted by: yavin.gmx.com
Tom Watson schrieb:
> It is likely that the framework start level is not set to the previous
> level. Before shutting down the framework run the "sl" command to see
> what the start level is set to. By default this should be 6. When you
> shutdown, the framework start level is set to 0. Then when you launch
> ii is set to start level 1. You should then set the start level back to
> the previous level before you shutdown the framework. Use the "setfwsl"
> command to set the framework start level.
Hey Tom,
thanks for your answer. I tried the "setfwsl" with a value of 6 but some
of my installed bundles didn't restart.
I also tried to increment the start level step by step, but this had no
effect.
There are several bundles that are configured with a start level of 2
but not all of them are started by the framework!? Any idea?
Kai
|
|
|
|
|
Re: shutdown framework -> relaunch framework [message #66399 is a reply to message #66368] |
Thu, 11 May 2006 05:48 |
Eclipse User |
|
|
|
Originally posted by: yavin.gmx.com
Martin Schikowski schrieb:
> Now my experiment:
>
> I start equinox from console:
> java -jar startup.jar -noexit -console 3333
>
> now I start a bundle with lazy=false
> osgi> start 40
>
> the bundle is activated.
>
> now when I type exit and leave the osgi console I want to reenter and see my bundle with number 40 be activated, but this is not the case. In Felix this just works fine.
>
> the same situation appears, when I uninstall this bundle. the next time I restart the osgi console this bundle is recognized by the configurator and regularly installed. Maybe in the Eclipse IDE the uninstalled Plug-ins/Features are removed from the directory 'plugins'?!?
Did you try to use shutdown, launch and the runlevel commands instead of
exiting the console? IMHO entering "exit" exits the console without
shutting down the framework.
|
|
|
|
Powered by
FUDForum. Page generated in 0.04213 seconds