View comments | RSS feed
Contents > Configuring and Administering ColdFusion MX > Searching Collections with K2 Server > Using K2 Server PreviousNext

Using K2 Server

You configure K2 Server to work with ColdFusion MX with the following steps:

  1. Edit the k2server.ini file to specify the alias collection names you want to expose to K2 Server. (See Editing the k2server.ini file.)
  2. Start K2 Server by running the k2server executable. (See Starting K2 Server.)
  3. Specify hostname and port information for K2 Server. (See Specifying K2 Server parameters in the ColdFusion MX Administrator.)

Contents > Configuring and Administering ColdFusion MX > Searching Collections with K2 Server > Using K2 Server PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

Comments


pikala_ said on Mar 3, 2004 at 4:07 AM :
Couple of things that were essential to get K2 running in our environment (Solaris 8)

- Start K2 server with [cfhome]/lib/startk2server script, not with k2server command (K2_MODE=SEARCH environment variable is needed!)

- numListeners in k2server.ini must be larger than "Maximum number of simultaneous requests" in CF Administrator. I suggest adding 10 to that number. CF doesn't seem to work well when there are no K2 threads left to handle additional search queries.

- ulimit -n 1024 (or more) should be included in K2 start scripts if there are many collections and K2 gives error messages when starting.
Blckburn said on Sep 25, 2004 at 1:03 PM :
An undocumented issue involving the use of K2 server, CFMX and Unix will cause CFMX to crash (reproduced by Macromedia Support - turned in as a high-priority bug).

1) If you conduct a CFSEARCH while your registered K2server is not online CFMX will immediately crash. Macromedia now has #isK2serveronline()# as a variable and this can be used in a CFIF (if not running do not conduct the search).

Also, while CFMX will auto-restart, K2server does not, and the next CFSEARCH will crash CFMX again. We had to write a shell script to check the K2server every 3 minutes and re-start if necessary.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/k22.htm