Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » DSDP - Target Management » how to correctly init RSE
how to correctly init RSE [message #579196] Mon, 23 February 2009 05:07
Carmelo  is currently offline Carmelo
Messages: 224
Registered: July 2009
Senior Member
Hi all,
I'm using my own subsystem to connect to a db in an RCP application ...

The question is what is the right wait to initialize the RSE Core library?

I have tried with

try
{
RSECorePlugin.waitForInitCompletion();
}
catch (InterruptedException e)
{
// TODO Auto-generated catch block
e.printStackTrace();
}

ISystemRegistry sr = RSECorePlugin.getTheSystemRegistry();


but still I get the following error in the application log:




!MESSAGE While loading class
" org.eclipse.rse.ui.SystemPreferencesManager$ModelChangeListe ner ", thread
"Thread[Worker-1,5,main]" timed out waiting (5000ms) for thread
"Thread[main,6,main]" to finish starting bundle
"update@plugins/org.eclipse.rse.ui_3.0.2.v200812041720.jar [988]". To avoid
deadlock, thread "Thread[Worker-1,5,main]" is proceeding but
" org.eclipse.rse.ui.SystemPreferencesManager$ModelChangeListe ner " may not be
fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle
"update@plugins/org.eclipse.rse.ui_3.0.2.v200812041720.jar" by thread
"main".
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.begi nStateChange(AbstractBundle.java:1141)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:258)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
at
org.eclipse.rse.ui.SystemPreferencesManager$1.run(SystemPref erencesManager.java:510)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by:
org.eclipse.osgi.framework.internal.core.AbstractBundle$Bund leStatusException
... 15 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$Bund leStatusException
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.begi nStateChange(AbstractBundle.java:1141)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:258)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:400)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:417)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:189)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:340)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl assInternal(BundleLoader.java:408)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:369)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:357)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
at
org.eclipse.rse.ui.SystemPreferencesManager$1.run(SystemPref erencesManager.java:510)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Previous Topic:Working with Synchronize as part of Export
Next Topic:SSHing from a remote connection
Goto Forum:
  


Current Time: Wed Apr 16 12:10:19 EDT 2014

Powered by FUDForum. Page generated in 0.01895 seconds