Skip to main content



      Home
Home » Eclipse Projects » Equinox » Difference between exit and shutdown. Problem with bundle state persistence
Difference between exit and shutdown. Problem with bundle state persistence [message #76845] Thu, 09 November 2006 10:42 Go to next message
Eclipse UserFriend
Hi,



I install a simple bundle on equinox and start it. After then I type 'exit'
on the console.

After restart of the Equinox simple bundle disappears.



If after installing I first type "shutdown" and then "exit" I have no
problems. After restart of the Equinox the bundle is OK.



I use Equinox 3.2.1.



Is this bug or a feature? Because based on OSGi specification I think that
the bundle state must be persistently stored on the framework.



-Pavlin
Re: Difference between exit and shutdown. Problem with bundle state persistence [message #76879 is a reply to message #76845] Thu, 09 November 2006 21:16 Go to previous message
Eclipse UserFriend
Originally posted by: skaegi.sympatico.ca

Hi Pavlin,

"shutdown" stops the system bundle. (and stop the framework)
"launch" let's you (re)start the system bundle (and startup the framework)

"exit" calls System.exit(0) and subsequently state "might" not be saved.
"close" is probably the command you want to use most of the time as it
cleanly terminates the framework ensuring all state is correctly saved etc.
before calling System.exit.

Hope this helps.
-Simon

"Pavlin Dobrev" <p.dobrev@prosyst.com> wrote in message
news:eivi8a$6s3$1@utils.eclipse.org...
> Hi,
> I install a simple bundle on equinox and start it. After then I type
'exit'
> on the console.
> After restart of the Equinox simple bundle disappears.
> If after installing I first type "shutdown" and then "exit" I have no
> problems. After restart of the Equinox the bundle is OK.
> I use Equinox 3.2.1.
> Is this bug or a feature? Because based on OSGi specification I think that
> the bundle state must be persistently stored on the framework.
> -Pavlin
Previous Topic:Component descriptions, update, and Eclipse
Next Topic:framework extensions question
Goto Forum:
  


Current Time: Fri May 02 12:34:53 EDT 2025

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

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

Back to the top