Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Tweak classloader: RCP over not 100% reliable network (Config.ini, class loading)
Tweak classloader: RCP over not 100% reliable network (Config.ini, class loading) [message #780984] Thu, 19 January 2012 04:30
Leung Wang Hei is currently offline Leung Wang HeiFriend
Messages: 64
Registered: July 2010
Member
I asked in platform group but not reply so far. Very appreciated if
could get any hints here.



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:Tweak classloader: RCP over not 100% reliable network (Config.ini, class loading)
Next Topic:IFolderLayout default folder tab not displayed
Goto Forum:
  


Current Time: Mon Nov 23 16:27:29 GMT 2020

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

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

Back to the top