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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content