Dear community :)
I've been trying to create and use my own buddy locator implementation, thus I perfmored following steps:
1. Created FooLocator class implementing BuddyLocator interface and implemented all methods. I annotated this as Threadsafe(net.jcip.annotations)
2. Created FooLocatorConfig implementing BuddyLocatorConfig interface and as above implemented all methods
3. Packed everything in FooLibrary.jar and included it to my project
4. Modified cache-configuration.xml to use my FooLocator
Redeployed all together and then ..
java.lang.ClassNotFoundException: org.foo.FooLocator. I've attached snap of the server.log file including stacktrace. I'm using glassfish v2.1.1 with java ee5