-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guard against classloading exceptions with duplicate class names #49
Comments
@GregDThomas described this issue to me like this:
|
Work-arounds:
|
Also discussed in: https://discourse.igniterealtime.org/t/cachefactory-cast-error-in-clustring/ |
Plugins that define the same class name (i.e. package and class name) will have a problem if they try to send that class through the cluster. Hazelcast will deserialize the class and will use the first class definition found in the list of plugins.
The sequence of search for this class loader is first check the hazelcast plugin that includes checking the Openfire core. If not found then try with the other plugins.
A mechanism should be provided that can be used to ensure that the correct classloader is used.
The text was updated successfully, but these errors were encountered: