Starting K2 Server; Specifying K2 Server Parameters In The Coldfusion Mx Administrator; Stopping K2 Server - MACROMEDIA COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX Manual

Hide thumbs Also See for COLDFUSION MX 61 - CONFIGURING AND ADMINISTERING COLDFUSION MX:
Table of Contents

Advertisement

Note: To search multiple collections, use a comma-delimited list. For example, use
collection="test_01_file,test_02_file"
collections must be either all K2 Server-registered or all ColdFusion-registered; you cannot use
one
cfsearch
collection.
In the following example, the
online documentation:
[Coll-1]
collPath=c:\cfusionmx\verity\collections\cfdocumentation\custom
collAlias=cfdoc_custom
topicSet=
knowledgeBase=
onLine=2
(Optional) Create a
6
For each entry, increment the value n by one. The first collection is number 0, not number 1,
as in the following example:
[Coll-2]
collPath=C:\cfusionmx\Verity\Collections\bbb\file
collAlias=bbb_file
Stop and restart K2 Server for changes in the k2server.ini file to take effect. For more
7
information, see
For more information about k2server.ini parameters, see
on page
136.

Starting K2 Server

You start K2 Server from the command line on UNIX or in Windows. On UNIX, you run the
startk2server script; in Windows, you run the startk2server.bat file. These files are located in the
cf_root\lib\ directory in Windows, and in the cf_root/lib/ directory on UNIX.
In Windows, you can start K2 Server as a service by entering the following command in the
cf_root\lib\ directory:
k2server -ntservice 1 -inifile k2server.ini
Note: Macromedia does not recommend running K2 Server as a Windows service. You must stop
the service before you modify or delete collections registered with K2 Server. You must then
remember to restart the service. You must also verify that the vdkHome information in your
k2server.ini file is uncommented—that is, it has no leading pound (#) signs—and points to the correct
location of the common directory.

Specifying K2 Server parameters in the ColdFusion MX Administrator

You use the Verity K2 Server page in the ColdFusion MX Administrator to specify the hostname
and port number for the K2 Server you want to use. Make sure that you started K2 Server on the
host you specify in the Verity Server hostname field. Also, the port number you enter must match
the port number you specify in the k2server.ini file.

Stopping K2 Server

You can run K2 Server as a Windows service or in a command window, as an ordinary
application. Unless you use the
the command window. There are several ways to stop K2 Server, depending on how it runs.
tag to search a K2 Server-registered collection and a ColdFusion-registered
collPath
section for other collections that you want to search with K2 Server.
Coll-n
"Stopping K2 Server" on page
-ntService 1
in your
tag. Within a single
cfsearch
value points to a collection for the ColdFusion MX
135.
"The k2server.ini parameter reference"
option when starting K2 Server, K2 Server runs in
tag, the
cfsearch

Stopping K2 Server

135

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents