Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » RCP over not 100% reliable network (Config.ini, class loading)
RCP over not 100% reliable network (Config.ini, class loading) [message #757847] Mon, 21 November 2011 03:50
Leung Wang Hei is currently offline Leung Wang HeiFriend
Messages: 62
Registered: July 2010
Member
Hi all,

Our RCP application is placed on a shared network driver, during any
network failover, there could be 1~2 seconds down time. Any file
access/class loading right at that moment just hangs the application.

So far I found 3 pitfalls:

1. loading <app>/configuration/config.ini at startup (app won't start if
missing the file/folder)

2. cache file <app>/configuration/ (could be pointed to an empty
location @user's local PC and let the files auto-generated)

3. lazy loading class from <app>/plugins


Questions:
a. Is my statement in bracket for point (2) valid? Will it potentially
break any logic?

b. Could we make RCP load config.ini out of the configuration/ folder?

c. How could I set a customized classloader (e.g. re-loading class after
1 second if fail) to bundles?


Thanks,
Leung Wang Hei
Previous Topic:Receiving error when attempting to open a Java file in the editor
Next Topic:Open View from a Dialog possible
Goto Forum:
  


Current Time: Thu Dec 18 10:46:33 GMT 2014

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

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