>>>>> Steinar Bang <[email protected]>:
>>>>> JB Onofré <[email protected]>:

>> Log service is provided by Karaf (pax logging actually).

> Ok. Good! :-)

Back in ancient OSGi (2006-2008), one problem that would sometimes
appear and be very hard to debug would be that the same class could be
loaded several times by different class loaders and when two differently
loaded instances of the same class met things would clash and look very
confusing in stack traces and debuggers, ie stuff like
 com.blah.SomeClass is not the same as com.blah.SomeClass

I can't remember encountering this problem since I came back to OSGi in
2013/2014, and I know I haven't seen it since starting to use karaf in
2016, so I thought it was a thing of the past.

But could it be that I load the LogService the wrong way, so that it
doesn't match up with the service offered by karaf?

(Just a hypothesis... and not a likely one...)

Reply via email to