Starting and Stopping the Servers and Projects from the Command Line (Optional) (Magic xpa 4.x)
Although the GSA is responsible for starting the projects, you can also do it manually from the command line. To start the projects defined in the projectsStartup.xml from the command line, you should run the StartProjects.bat found in the GigaSpaces-xpa\bin folder.
To stop the projects running in the space, you should run the ShutdownProjects.bat found in the GigaSpaces-xpa\bin folder.
To stop the servers running in the space, you should use the following syntax in the command line (Since version: 3.1):
CommandLine.bat [-ShutdownProjects=%*] [-ShutdownServer=server name:process ID] [-Timeout=10]
Examples:
-ShutdownProjects= will stop all servers (regardless of the applications they serve).
-ShutdownProjects=GSTest will stop all the servers that serve the application GSTest.
-ShutdownServer=ABC:12345 will stop process ID 12345 in the server ABC. This lets you stop a specific instance of a server.