title: How to change order of Jars loaded from WEB-INF/lib?
body: <p>I am configuring a Java web module in WAS 7.0. I have all of my module JARs in the WEB-INF/lib directory and they are all loading. My problem is the order in which they load. I have 2 Jars: <code>someJar.jar</code> and <code>aPatchForSomeJar.jar</code> that are both located in WEB-INF/lib. <code>aPatchForSomeJar.jar</code> patches some classes that are found in <code>someJar.jar</code>. The problem is that <code>someJar.jar</code> is higher on the module classpath than the patch. This results in the classes in the original jar being used over the patched versions in the patched jar.</p>
  
  <p>In my development environment (RAD 7.5 on win XP), the module classpath is loaded in alphabetical order (which results in <code>aPatchForSomeJar.jar</code> being loaded before <code>someJar.jar</code>). However, when deploying to a test environment (WAS 7.0 on GNU/Linux), it appears the module classpath is loaded in a random order (definitely not alphabetical at least) where the patch is loaded after the original Jar.</p>
  
  <p>Does anyone know how I change the order in which WEB-INF/lib jars are loaded by the module?</p>