6 Replies Latest reply on Sep 29, 2010 12:39 PM by Hubert Felber

    How to use external jars not contained in JBoss

    Hubert Felber Newbie



      This is a duplicate from section "Installation, Configuration & Deployment"





      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