[jboss-user] [JBoss Cache] - Custom BuddyLocator

Jan Kowalski do-not-reply at jboss.com
Thu Dec 9 06:26:49 EST 2010

Jan Kowalski [http://community.jboss.org/people/foofight] created the discussion

"Custom BuddyLocator"

To view the discussion, visit: http://community.jboss.org/message/575138#575138

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101209/4b37ae9a/attachment.html 

More information about the jboss-user mailing list