-
1. Re: 2 GC Logs on Same Machine
wdfink Jun 10, 2011 2:11 AM (in response to ebs_support)I don't see your problem
If you start two instances you can set the -Xloggc: for each.
Correctly you set it in run.conf, if you copy the server/... dir for each node you can have a run.conf in each conf directory instead of bin/run.conf
If you have two complete installations the run.conf and log directories are different anyhow.
-
2. Re: 2 GC Logs on Same Machine
ebs_support Jun 10, 2011 5:20 AM (in response to wdfink)That means there are 2 options
1.
duplicate the folder
/usr/local/EnterprisePlatform-5.1.0/jboss-eap-5.1
which contains the run.conf
2. have 2 complete installation of JBoss
One of my concern is that is there any config file JBoss refer to which is outside /usr/local/EnterprisePlatform-5.1.0/jboss-eap-5.1 ?
For example, will JBoss refer some config stored inside /usr, /opt, /var etc?
And both the instances may share the same config file.
Thank you!
-
3. Re: 2 GC Logs on Same Machine
wdfink Jun 10, 2011 7:12 AM (in response to ebs_support)Normally you have the directories bin and server within the JBossAS root.
1. option
take a full copy of JBossAS-root
might change the run.conf in the bin directory
the GC.log is can be located in each directory because it is configured in run.conf
2.option
copy a directory of the server directory, e.g. all or default to node1 and node2
copy run.conf into node#/conf directory and do your changes
start the instances with 'bin/run.sh -c node1' and 'bin/run.sh -c node2'
JBoss did not refere configuration outside the JBoss-root directory.
-
4. Re: 2 GC Logs on Same Machine
peterj Jun 12, 2011 3:15 PM (in response to ebs_support)There is no need to install EAP twice, nor to make copies of the jboss-as directory. Besides creating two server configuration as Wolf-Diter mentions, make two copies of run.sh and run.conf, one for each instance. You can leave them in the bin directory.