6 Replies Latest reply on May 9, 2004 10:10 AM by Tomer ben david

    deploying a war with a different server/lib library director

    Tomer ben david Novice

      Hi

      I have a couple of war's im deploying to the deploy/ directory .
      All these wars share some jar's that they are using. I want them to reference these shared jars with the same classloader. Therefore I'm putting these jars under $JBOSS_HOME/server/default/lib .

      It is working fine however,

      1. I dont want the other deployed items under the deploy directory to be able to reference these jars (however they do reference it) I dont want these jars to affect them. Is there anyway for me to put those jars in another place so that they will affect only a group of the deployed items? only my wars?

      2. I would like to put the jars in $JBOSS_HOME/server/default/lib in a hierarchical manner sicne i have lot of them, something like:

      $JBOSS_HOME/server/default/lib/db/jars....
      $JBOSS_HOME/server/default/lib/xml/jars....
      $JBOSS_HOME/server/default/lib/search/jars...

      I have tried that and it didnt work, is there anyway to perform that?

      Thanks...