This content has been marked as final.
Show 3 replies
-
1. Re: Multiple jboss instance - database lock
dimitris May 8, 2007 2:38 AM (in response to dwarakanathan)You can't run 2 instances that look in the same files. You must need to have as many server configs as concurrent instances.
-
2. Re: Multiple jboss instance - database lock
dwarakanathan May 8, 2007 6:19 AM (in response to dwarakanathan)yes i do have 2 instances.. but still, the same error ;(
-
3. Re: Multiple jboss instance - database lock
peterj May 8, 2007 10:26 AM (in response to dwarakanathan)What Dimitris is saying is that you cannot run the 'default' or 'all' configuration (or in your case, the 'logviewer' configuration) twice to get your two instances; that will not work because the files will conflict.
As an example, when I run two instances, I do the following:
1) I copy the 'server/default' (or 'server/all') directory twice, once as 'server/server1' and 'server/server2'
2) I then run the instances as:
run -c server1
run -c server2
Since I have two different configuration directories, there are no file conflicts.