java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/path/to/<JBOSS>ClassLoader) previously initiated loading for a different type with name "com/example/MyClass"
Issue
- When we attempt to make a remote call from one JBoss node to another JBoss node we get the following classloader error:
ERROR (full details in attached file):
2016-03-23 13:44:42,448 - ERROR (WorkManager(2)-40) - loader constraint violation: loader (instance of org/jboss/remoting/loading/RemotingClassLoader) previously initiated loading for a different type with name
"com/example/MyClass"
java.lang.LinkageError: loader constraint violation: loader (instance of org/jboss/remoting/loading/RemotingClassLoader) previously initiated loading for a different type with name "com/example/MyClass"
Environment
- Red Hat JBoss Enterprise Application Platform
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
