0 Replies Latest reply on Mar 13, 2014 6:08 PM by tvobruba

    Jboss eap 6.2 and loading jar file in standalone instance before deployment of war

    tvobruba

      Hello all,

       

      I'm quite new in jboss as 7, but I'm experienced user of jboss as 4 5.

      My question looks simple, but I was unable to find simple answer.

       

      We have own application.war which during deployment looks for some classes and configuration files  which are provided by separate application.jar.

      I would like to point standalone instance server of jboss eap 6.2 with application war to have on instance's classloader application.jar and use this jar for application.war deployment.

      also i have standalone instance2 which i would like to point on instance's classloader do application2.jar which should be prepared to be used during deployment of application2.war

       

      please could anybody tell me how to do it?

      - jboss-deployment-descriptor.xml just seeking jar inside of content of war.

      - lib subdirectory (even ext lib) is simply ignored

      - and global module can't be used, because different standalone instances and thei applications are using different applications.jar file

       

      Thank you very much.

       

      Regards Tomas Vobruba