|
Summary: how to start a light version of the GigaSpaces server, which loads a space container and one space, using the gsInstance script.
OverviewThis section explains how to start a light version of the GigaSpaces server, which loads a container and one space, using the gsInstance script. An embedded reggie and embedded Webster as part of the spaceFinder call can be enabled if needed, inside the gsServer configuration. These can be disabled if needed. It does not start any additional services.
gsServer vs. gsInstanceThe GigaSpaces Server is designed to run the core GigaSpaces Container and space(s) as part of the Jini 2 service starter. It differs from the GigaSpaces Instance – the gsInstance script uses code defined by GigaSpaces, while the gsServer uses code defined by Jini. Moreover, the GigaSpaces Server starts services which are defined in the Jini configuration, while the GigaSpaces Instance starts services which are defined in the GigaSpaces configuration.
Syntax & ArgumentsThe full gsInstance syntax (the arguments passed below are optional): gsInstance "/./newSpace?schema=persistent" "../../classes" "-DmyOwnSysProp=value -DmyOwnSysProp2=value" The gsInstance arguments are passed through the command line. These arguments are optional – if you do not want to pass any arguments, you don't have to specify anything in the command line, as seen below: gsInstance You can use three arguments. All arguments must be enclosed by quotes (" "). If used, the arguments must be entered in the following order (descending):
If you are using the third and/or second argument only, you must use empty quote signs for the argument or arguments that come before the one you are using. For example: gsInstance "" "" "-DmyOwnSysProp=value -DmyOwnSysProp2=value" In the example above, only the third argument is used, so two pairs of empty quote signs are written before it. In this case, the default URL and classpath (defined in the gsInstance script) are used, and only the system properties are appended.
|
Wiki Content Tree
Your Feedback Needed!
We need your help to improve this wiki site. If you have any suggestions or corrections, write to us at techw@gigaspaces.com. Please provide a link to the wiki page you are referring to.
Add Comment