[jboss-user] [Installation, Configuration & Deployment] - Alternative for using jvm-arg

newgro do-not-reply at jboss.com
Thu Jan 25 10:42:51 EST 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4006397#4006397

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4006397



More information about the jboss-user mailing list