How to change the priority of jars loaded from a deployment in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • We have an application which on some servers fails looking for a method which exists in spring-context jar. We are packaging an old spring-remoting jar which includes an older version of the class without the method. How to change the priority of jars loaded from a deployment in JBoss EAP 6 such that it will always load the spring-context jar first?

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 6.0

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.