1 Reply Latest reply on Sep 27, 2010 10:57 AM by jaikiran pai

    How to use external jars not contained in JBoss

    Hubert Felber Newbie






      How can I extend JBoss classloading to also look for jars located in an external directory, say c:\ForeignApp\java.

      Please tell me, that there IS a solution.




      We use JBoss 5.1


      We have to use jar files of an external application that we cannot include in the JBoss installation. There is no other choice. We cannot bind these to ear or war, or make them available in one of JBoss lib directories.

      To be able to use them, we now have to include their paths in the bootstrap (is this the correct term?) classpath. The problem is, that all jars loaded from the external jar also must be external because JBoss does not look backward for classloading.



      Thanks for helping