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

Ask Your Question

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 SPACE_NAME=MySpaceName
set ZONE_NAME=MyZone

@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's avatar
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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.



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

Dixson Huie's avatar
edit flag offensive delete link more


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

Dixson Huie's avatar Dixson 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


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

Seen: 2,461 times

Last updated: Jun 23 '16