|DS and TCCL [message #112154]
||Tue, 17 June 2008 10:36
| Juergen Schumacher
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?
Powered by FUDForum
. Page generated in 0.03102 seconds