Problem accessing clustered beans from two differents clients in the same JVM.
Accessing clustered beans from two differents clients in the same JVM, works for the first one, but the narrow operation throws a ClassCastException for the second.. In fact, the first client stores the cmi stub in a cache, using its classloader. If the classloader of the second client is different, then a classcast exception is thrown, while trying to narrow the cached stub, with its interface.
The following patch disables stub caching.
The finest solution should consist in providing cache disabling, in carol properties file for example.