1 Reply Latest reply on Aug 23, 2007 11:40 AM by peterj

    Moving jboss configuration to other directory

    poyge394

      Hi,
      How can i move jbooss configuration to other directory and then start the serber with bin/run.bar

      Sample

      Hear is JBoss Home

      C:\jboss-4.0.5.GA


      I whant to move default conf that exist under C:\jboss-4.0.5.GA\server\default
      to c:\default

      and later start the server from C:\jboss-4.0.5.GA\bin\run.bat

      how can i achive that....i have test to send in this jboss propertis in start
      jboss.server.base.url


      but jboss creats temp,work,log catalouge in C:\jboss-4.0.5.GA\server\default and not in c:\default.

      any ideas ?



        • 1. Re: Moving jboss configuration to other directory
          peterj

          You need to set all of these system properties:

          jboss.server.home.dir
          jboss.server.home.url
          jboss.server.log.dir
          jboss.server.temp.dir
          jboss.server.data.dir
          jboss.server.config.url
          jboss.server.lib.url

          Setting a base one, such as jboss.server.home.dir, does not propagate the location to the others.