Start StreamBase Server at the command prompt with a command like the following:
application-file is the path to a StreamBase file in one of the following formats:
EventFlow application file (
StreamSQL application file (
StreamBase deployment file (
Precompiled archive file (
Application bundle file (
See the sbd command reference topic for information on the sbd command options. In a UNIX terminal window, you can enter
man sbd to view the reference page for sbd.
Stop a running sbd process, and the StreamBase application it is hosting, by entering the following command from a command prompt:
This command as shown stops a server running on
localhost on port 10000.
The sbadmin shutdown command allows StreamBase server to gracefully exit any adapter processes and to close any container connections before halting the server.
You can use the -p or -u options to designate a StreamBase server running on a non-default port, or running on a remote server. For example:
sbadmin -p 9900 shutdown sbadmin -u sb://sbserver.example.com:10000 shutdown
See the sbadmin command reference topic for further details.