1 Reply Latest reply on Jan 25, 2007 10:44 AM by Per Newgro

    Alternative for using jvm-arg

    Per Newgro Newbie

      Hello *,

      i'm trying to solve a little problem. I already asked the goo... but i didnt found a proper solution.

      I have two applications deployed in an own server instance (default and ports-01). The clients get their library-updates from a folder located near the server. This folder is now accessible by a jvm-arg. Everything works fine so long.

      But i try to merge both applications into one server. And so im looking for a possibility to assign a different value for the two library-update-folders for the application.

      --- myJBossInstallations
      |--- appl-1
      | |--- bin
      | |--- lib
      | |--- client
      | |--- docs
      | |--- client-update-folder
      | |--- server
      | |--- default
      |--- appl-2
      | |--- bin
      | |--- lib
      | |--- client
      | |--- docs
      | |--- client-update-folder
      | |--- server
      | |--- ports-01

      Now the servers are started by
      run.sh -c default -DmyArg.to.client.update.folder=../ext ...
      and
      run.sh -c ports-01 -DmyArg.to.client.update.folder=../ext ...

      The folder is not to be configurable. Its enough if its set at startup.
      Can you please give me tip? I prefer a simple solution :-)
      I hope i described the problem clearly. If not please ask.
      Thanks 4 help
      Per