0 Replies Latest reply on Jul 16, 2004 10:29 AM by Nicolas Regez

    How to define classpath order of jars in directory lib

    Nicolas Regez Newbie

      Hi all

      I'm using JBoss 3.2.1 (upgrading to 3.2.5 by August) and need to be able to fix the order by which the jar-files in <jboss-home>/server/default/lib will be added to the classpath when jboss starts.
      The reason why I need this option is because I have two jars each containing a class with exactly the same classname and I need to be able to select which of the two actually gets loaded.
      I know I can play with the tag in <jboss-home>/server/default/conf, but did not find how to influence the load order.

      My questions:
      By what order criteria will the jar files be added to the classpath?
      Can I fix their order and how?

      Thanx a lot in advance for your help.

      Nicolas