The changed class is not loaded after JBoss EAP restart.
Issue
- In the development process there is a requirement to synchronize the classes that are changed and compiled from the IDE into the ear classloader. What is the best way to do that?
- The requirement is to synchronize my compiled class into a folder within the ear, restart jboss and have the changed class override the class which already exists in on of the jars.
- In EAP 5.2 there are jars in ear/lib.
- The jars which is suppose to be changed is extracted.
- Then created ear/lib/_classes.jar FOLDER, into which the changed compiled classes (full package folders structure) is synchronized.
- However, the changed class is not loaded after jboss restart but rather the original one.
Environment
- JBoss Enterprise Application Platform (EAP)
- 5.2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.