JBoss Community

How to use external jars not contained in JBoss

created by Hubert Felber in JBoss Microcontainer - View the full discussion

Hi

 

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

 

 

Question:

 

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.

 

Background:

 

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

Hubert

Reply to this message by going to Community

Start a new discussion in JBoss Microcontainer at Community