Starting K2 Server - MACROMEDIA COLDFUSION 5-ADVANCED ADMINISTRATION Manual

Table of Contents

Advertisement

120

Starting K2 Server

The ColdFusion installer places the K2 files into the following directories:
The K2 Server is started from the command line or from a script in the Unix
environment and can be integrated as a service within the Windows NT
environment. The server is designed to run with a minimum of intervention. Most
configuration parameters are set in a configuration file, which can be given a
user-assigned name (the default file name is
Command-line arguments include the name of the configuration file, the TCP port
for incoming connections and the verbosity level for informational messages. The K2
Server has a warm restart capability, designed to keep the server's well-known TCP
port open in case of a crash and to allow changes in the configuration file to be
initialized without killing the primary server process.
The K2 Server is started by the using the following command:
k2server [<option1> <option2> ...]
The options available for this command are summarized in the following table:
Keyword
-port <value>
-iniFile <filename>
-verbose <value>
-iniEmit <filename>
-ntService <value>
Windows platforms:
UNIX:
opt/coldfusion/verity/<platform>/bin
Permitted values
Positive integer
Any valid filename
0 = status
1 = informational
2 = verbose
3 = debug
Any valid filename
1 = load as NT service
0 = remove as NT service
cfusion\bin
Chapter 6 Configuring Verity K2 Server
).
k2server.ini
Function
Identifies the TCP port number for use by
the K2 Acceptor. To run the K2 Server as
an NT service, use the -ntservice keyword
and do not specify a port number using the
-port keyword.
Identifies the filename to use as
theconfiguration file for this instance of the
K2 Server.
Determines the amount of information
contained in the K2 Server system
messages.
Creates a sample configuration file.
Used to load or remove the K2 Server as
an NT service. When set to 1, the server is
loaded as an NT service. When set to 0,
the server is removed as an NT service.
Note: To run the K2 Server as an NT
service, do not specify a port number
using the -port keyword.
Not applicable to non-Windows platforms.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION 5-ADVANCED ADMINISTRATION and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion 5

Table of Contents