Better handling of Thread Context ClassLoader in OSGi

前端 未结 1 1693
忘掉有多难
忘掉有多难 2020-12-13 00:30

I\'ve been using OSGi for a while now and I have various solutions to the problems I encountered. I wanted to revisit one of these and see if people had come up with differe

相关标签:
1条回答
  • 2020-12-13 01:17

    Great question, we've been doing the same work around (in Felix/Karaf/Servicemix4.2) and have been searching for a better solution. Here is the response that I got back from the Felix team...

    http://old.nabble.com/Can-the-thread-context-classloader-issue-be-solved-at-all--td28260809.html#a30704352

    Essentially, they say that there isn't a better solution at the moment.

    However, I do see that Equinox references some other options including "Buddy Policies" and using a "Context Finder" here...

    http://wiki.eclipse.org/Context_Class_Loader_Enhancements

    If anyone knows of other options or even a roadmap to resolve this in the future, please let us know...

    0 讨论(0)
提交回复
热议问题