1 Reply Latest reply on Nov 24, 2012 4:00 AM by Ganesh Neelekani

    Loading 2 war files

    Ganesh Neelekani Newbie

      Hi All,



      I have 2 .war files LDIFactsWeb.war and LDIFactsWeb-NA.war ,And I am using 2 repository in jboss 7 server repository and reposiory-NA,and using only one database in my project..



      While deploying one LdiFactsWeb.war file it is taking files from repository and creating .lock files.

      And deploying LDIFactsWeb-NA.war ir is again taking files from repository folder.LDIFactsWeb-NA.war shold take the files from reposiory-NA.So it giving repository exception.


      It should take files from different repository folder.


      Can any one explain how to tackle this issue,Or setting in configuration files for accepting different repository.



      Thanks and Regards

      Ganesh Neelekani

      Team agile


        • 1. Re: Loading 2 war files
          Ganesh Neelekani Newbie

          Hi All,


          I  Solved  this by defining different repository for different .war files in drools-guvnor WEB_INF/beans.xml define different repository path in location


          Jboss Drools Repository Update for NA instance ( For Review only):


          1. Copy drools-guvnor.war to working directory
          2. jar –xvf drools-guvnor.war
          3. vi ./WEB-INF/beans.xml
          4. update the repository directory as described below:




                <!--  the root directory for the repo storage the directory must exist. -->

          <!--<s:entry><s:key>repository.root.directory</s:key><s:value> /opt/jboss/jboss_711/repositoryna </s:value></s:entry>-->



          which stops the using of same database




          Ganesh N

          Team Agile