JBoss Community

Custom BuddyLocator

created by Jan Kowalski in JBoss Cache - View the full discussion

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

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community