Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

gs-agent.bat not creating all GSCs

I'm testing a script that was working in 9.6.2 with XAP 11.0.0 and getting weird behavior. Here are the important lines:

set XAP_HOME=%JSHOMEDIR%
set SPACE_NAME=MySpaceName
set ZONE_NAME=MyZone
set XAP_NIC_ADDRESS=127.0.0.1

@call %JSHOMEDIR%\bin\setenv.bat

set XAP_GSC_OPTIONS=-Dcom.gs.zones=%ZONE_NAME%

start /b %JSHOMEDIR%\bin\gs-agent.bat gsa.gsc 4 gsa.lus 1 gsa.gsm 1

When I run this, only one GSC is deployed, not four. Any idea why this happens?

asked 2016-06-23 09:47:20 -0500

Sean gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Hi Sean,

I tried this snippet with 11.0.0-ga and it is working for me. 4 gscs were started. I only had to define the JSHOMEDIR to run it.

Thanks,

Dixson

answered 2016-06-23 10:40:49 -0500

Dixson Huie gravatar image
edit flag offensive delete link more

Comments

Also, XAP 11 has a file bin\setenv-overrides.bat. We suggest using this file to add custom environment variable settings.

Dixson Huie gravatar imageDixson Huie ( 2016-06-23 10:58:32 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2016-06-23 09:47:20 -0500

Seen: 2,304 times

Last updated: Jun 23 '16