How to use JBossPatchURL

Solution Verified - Updated -

Issue

  • How do I use JBossPatchURL

  • We have two jar files in the /server/default/lib directory. Their names are myJar1.jar and myJar2.jar. Four classes in myJar2.jar are the updated versions of that in myJar1.jar. So we'd like to load myJar2.jar before myJar1.jar. I have tried to modify the name of myJar2.jar to be myJarB.jar or myJarC.jar and touched this .jar to be the newest one. None of these changes forced myJar2.jar to be loaded before myJar1.jar. Could you tell me a way to force the class to be loaded in a particular order?

Environment

JBoss Enterprise Application Platform (EAP)

  • 5.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.