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 06:36
Juergen Schumacher is currently offline Juergen Schumacher
Messages: 35
Registered: July 2009
Member
Hello,

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?

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


Current Time: Thu Jul 31 19:44:11 EDT 2014

Powered by FUDForum. Page generated in 0.01671 seconds