-
1. Re: problem with set CLUSTER_PROPS in run.bat
jbertram Dec 11, 2012 9:55 AM (in response to mofarn)Can you post your full run.bat?
-
2. Re: problem with set CLUSTER_PROPS in run.bat
mofarn Dec 11, 2012 12:16 PM (in response to jbertram)Thanks Justin! it is attached
-
run.bat.zip 739 bytes
-
-
3. Re: problem with set CLUSTER_PROPS in run.bat
jbertram Dec 11, 2012 12:31 PM (in response to mofarn)1 of 1 people found this helpfulIt looks OK to me. Unfortunately I don't have a Windows instance to test this on. When the script echos the parameters (on line 19) does it have the -D properties that you are setting?
Does it work if you put the -D properties directly on line 12?
Can you reproduce this on 2.3.0.Beta2?
-
4. Re: problem with set CLUSTER_PROPS in run.bat
mofarn Dec 11, 2012 12:45 PM (in response to jbertram)1 of 1 people found this helpfulWhen the script echos the parameters (on line 19) does it have the -D properties that you are setting?
This is what it echos:
"java "-Djnp.port=1099 -Djnp.rmiPort=1098 -Djnp.host=localhost -Dhornetq.remoting.netty.host=localhost -Dhornetq.remoting.netty.port=3333 -Ddata.dir=../data"
-XX:+UseParallelGC -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms512M -Xmx1024M ...............
Does it work if you put the -D properties directly on line 12?
It worked i think, Thanks Justin
-
5. Re: problem with set CLUSTER_PROPS in run.bat
mofarn Dec 11, 2012 3:13 PM (in response to jbertram)I found the solution:
The " charachter should be removed! so, this will work:
set CLUSTER_PROPS=-Djnp.port=1099 -Djnp.rmiPort=1098 -Djnp.host=localhost -Dhornetq.remoting.netty.host=localhost -Dhornetq.remoting.netty.port=3333