We regularly have problems with old jars residing in the app-servers but newer jars deployed in our ears. Appserver chooses to load old jar and application throws "UnsupportedMethod" Exceptions or similar.
For main application servers (websphere, jboss, weblogic ...), how can I configure classloader policy for single jars?
( e.g. in wwebsphere there is class-loading policy "parent-first / application-first" but this is global for the application and will change behavior for many many jars, while the issue is only with one single jar..., for weblogic there is weblogic-application.xml IIRC etcpp. )
This is intended as a collection call, please describe the correct way to configure this in the application server of your choice (not only websphere please).