Hello Ioannis, Thank you very much for all your responses. It has been very helpful.
Please bear with me. I must be missing something fundamental here. I realize there are two variables in play here rather than one (i.e. who initializes the Hazelcast instance, whether the TCCL is used). I don't believe Hazelcast can inherit my TCCL if my bundle only uses Hazelcast as a service, can it? When you ran your test, was the Hazelcast instance initialized as part of the same bundle? I did run through a few scenarios to confirm my understanding: (1) Use existing Karaf Hazelcast instance, use TCCL - FAILED (2) Create my own Hazelcast instance, don't use TCCL - FAILED (3) Create my own Hazelcast instance, use TCCL - SUCCESS! So it appears that unless I create my own Hazelcast instance, Hazelcast cannot see my classes (unless I use fragments, of course). Have I missed something obvious here? Would it be an idea to get cellar to use my hazelcast instance? Thus in my bundle which starts hazelcast, I could make sure I import both cellar and my own packages. Thus hazelcast can load both cellar and my classes via the TCCL. Would that make sense? Thank you very much again for all your help. regards, Gareth -- View this message in context: http://karaf.922171.n3.nabble.com/Cellar-And-Hazelcast-Questions-tp3184320p3294046.html Sent from the Karaf - User mailing list archive at Nabble.com.
