2 Replies Latest reply on Feb 18, 2009 4:59 PM by tszpinda

    Index directory and multiple instance of JBoss

    tszpinda

      Hi guys,


      I have got a seam application which I would like to run on the same server for 2 clients. I got two instances of JBoss running.


      The only problem I got so far is the index directory,


      I know it can be configured in persistence.xml, but it means I have to create another seam profile(I know it's easy...)
      so the question: is there anyway to configure hibernate.search.default.indexBase without doing that?


      can I ie. pass some parameter to the JBoss which will set this directory? something like ./run.sh -DindexBase=/whatever ?



      Or maybe I can use the same directory for more then on JBoss instance without any side effects?


      Any ideas?


      Thank you,


      Tomek