-
1. Re: Loading custom run.conf with different name and different location in JBoss 4.3?
wdfink Mar 13, 2014 3:23 PM (in response to kuldeep11)Which exact version do you use? And is it EAP or the community edidtion?
With the community edition you might set RUN_CONF=/path/to/yourRun.conf and this will be used instead of bin/run.conf
-
2. Re: Loading custom run.conf with different name and different location in JBoss 4.3?
kuldeep11 Mar 14, 2014 4:25 AM (in response to wdfink)Thanks Wolf,
Its EAP version and there in run.sh, setting for RUN_CONF is already there. Actually, thing is I have gone though a setup where they were loading custom run.conf file from custom location and I have tried a lot for finding the setting without any luck.
So, with your option we can specify our custom RUN_CONF setting,but in that case we need separate run.sh script for every instance. In our case they are using same run.sh to start multiple instances on same Server.
Thanks!
-
3. Re: Loading custom run.conf with different name and different location in JBoss 4.3?
wdfink Mar 14, 2014 9:11 AM (in response to kuldeep11)You don't need separete run.sh scripts.
You might run
RUN_CONF=/jboss/myconfig/run.conf.server1 bin/run.sh ....
But with EAP there is a option to place specific run.conf files to server/<your profile>/run.conf .
If you don't set the environment then this file will be used instead of bin/run.conf.
-
4. Re: Loading custom run.conf with different name and different location in JBoss 4.3?
kuldeep11 Mar 14, 2014 9:40 AM (in response to wdfink)Yes, In EAP we have option to place new run.conf in <profile>. But, I was just checking to see if we can load from different location.
So, finally we have only one option i.e. pass RUN_CONF parameter while calling start up script(run.sh) instead of creating different run.sh for every instance and doing hard coding.
Thanks a lot for your all help and time !!
-
5. Re: Loading custom run.conf with different name and different location in JBoss 4.3?
wdfink Mar 14, 2014 10:20 AM (in response to kuldeep11)Another option is to create a script for each server like this:
server1.sh -----
RUN_CONF=<your file> run.sh -b x.x.x.x ........
So you have all together and ensure that there is no typo if you start the server
-
6. Re: Loading custom run.conf with different name and different location in JBoss 4.3?
kuldeep11 Mar 14, 2014 10:28 AM (in response to wdfink)Yes, Going to follow same !!