Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » DS and TCCL
DS and TCCL [message #112154] Tue, 17 June 2008 10:36
Juergen Schumacher is currently offline Juergen SchumacherFriend
Messages: 35
Registered: July 2009

I have a question about Declarative Services and the Thread Context
Class Loader. It seems that in methods called by DS like the activate
method of a service component the TCCL is always null. This means that
some 3rd-party libraries that try to use this class loader fail when
executed in an activate method. In our case this concerns especially
JAXB which we use to parse additional configuration files.

Now the question: Is this intended? Or a bug? I skimmed through the OSGi
compendium but did not found a statement. Of course, I can set the TCCL
myself in the activate method before it is needed it (and currently
that seems to work), but is this the way it is supposed to be?

Previous Topic:change 'plugins' dir name
Next Topic:A big thankyou to the P2 team
Goto Forum:

Current Time: Thu Apr 26 11:55:51 GMT 2018

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

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