Skip to main content



      Home
Home » Eclipse Projects » Equinox » Saving the state of the platform
Saving the state of the platform [message #64102] Tue, 28 March 2006 10:25
Eclipse UserFriend
Originally posted by: bernhard.dorninger.NOSPAMscch.at

Hi,

I wonder if there is any other way to save the state of the platform than
to shutdown.
The doc for EclipseStarter.shutdown() says:

* Shuts down the Platform. The state of the Platform is not automatically
* saved before shutting down.

However, we urgently need to save the state of the OSGI and the runtime
each time we install a bundle. This because if we install a bundle via
bundlecontext and then the platform is killed (i.e. system power off,
process kill, vm crash due to native code failures) these bundles are not
present anymore on restart. Moreover, saving the state only on clean
shutdown violates the OSGI R3 spec, Section 4.8.3. I will also file a bug
concerning this issue.
Could anyone point out, which code to call/modify to achieve this (for
Eclipse 3.1.x)?
Is periodic/automatic save of the state possible in 3.2? (The relevant
section in the OSGI R4 core spec is 4.3.2).

Thanks for your answers,
Bernhard

--
Previous Topic:EclipseClassLoader, Bundle start and Threading
Next Topic:classNotFound exception in servlet bridge
Goto Forum:
  


Current Time: Thu May 01 05:02:00 EDT 2025

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

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

Back to the top