When you run a StreamBase application without specifying a StreamBase Server configuration file, the StreamBase Server process (sbd) uses a set of predetermined configuration properties. If you need to modify some of the default properties (such as to reference certain resources used by your applications), you can generate a skeleton configuration file that contains the default server settings. You can then edit the generated configuration file to modify the default settings to change the behavior of the StreamBase Server for that project.
The default name for the StreamBase Server configuration file is
sbd.sbconf. You can use any file name, but using the
default name is strongly recommended. If you are preparing several alternate
configuration files for the same project, use the .sbconf
extension for your alternate configuration files.
To generate a default configuration file in StreamBase Studio:
-
In the StreamBase Studio menu, select → → .
(You can also right-click in the Package Explorer and select → , or press Alt-Shift-N.)
-
In the New dialog, expand the StreamBase folder and select Server Configuration File. Click .
-
In the New StreamBase Server Configuration File wizard:
-
Select the project folder where you want the configuration file to be created.
-
Enter the file name to create.
If you enter the name of an existing file, a message at the top of the wizard warns you and disables the buttons to proceed. At this point you can:
-
Change the target folder to a subfolder in the same project, or to another project.
-
Enter a different file name, preserving the
.sbconfextension.
-
-
Click . A default configuration file is created in the specified project, and StreamBase Studio opens the file in a text editor.
-
-
For information on generating a StreamBase Server configuration file from the command line, see Defining a StreamBase Server Configuration.
-
For information on sbd command line options, see sbd.
