Creating a New StreamBase Server Configuration File

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:

  1. In the StreamBase Studio menu, select FileNewOther.

    (You can also right-click in the Package Explorer and select NewOther, or press Alt-Shift-N.)

  2. In the New dialog, expand the StreamBase folder and select Server Configuration File. Click Next.

  3. In the New StreamBase Server Configuration File wizard:

    1. Select the project folder where you want the configuration file to be created.

    2. 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 .sbconf extension.

    3. Click Finish. A default configuration file is created in the specified project, and StreamBase Studio opens the file in a text editor.

Related Topics

Back to Top ^