users@glassfish.java.net

Re: JCA adapter and load balancing

From: Sivakumar Thyagarajan <Sivakumar.Thyagarajan_at_Sun.COM>
Date: Thu, 17 Apr 2008 15:03:26 +0530

Hi

It is good to hear about the progress you have made.

>> the class cannot get from cache states added by another instacnes and only
>> java.lang.ClassNotFoundException: procon.adapter.cluster.CachedData
>>
>> is printed..
>> i know that during joing the group this synchronization is performed, but how to ensure that class will be found??

This appears to be a classloading issue (and may not be Shoal's). Could
you let us know where procon.adapter.cluster.CachedData is placed in the
classpath? Are you bundling it in the RAR? Where are the Shoal libraries
placed in the RAR?

In short, the CachedData and other similar classes should be placed in
the classloader hierarchy [1] so that it is visible to both the RAR and
Shoal. Does placing this shared library in classpath-suffix help?

Thanks
--Siva.
[1] https://glassfish.dev.java.net/nonav/javaee5/docs/DG/beade.html

glassfish_at_javadesktop.org wrote:
> hi guys!