This document contains instructions for installing and
uninstalling k42 on supported platforms.
Introduction
This document contains the installaton guides for k42 v1.1 on
Windows 2000/ME, Solaris and Linux. It also includes the pre-requistite lists
of hardware and software for k42 and troubleshooting guide.
For details on configuring k42, please consult the
k42 Developers Guide.
Who should read this document?
This document should be read by users who wish to use k42 on
their systems, or system administrators who wish to deploy k42 for several
users.
Pre-requisites
k42 requires a 100% compliant Java™ 2 platform. For minimum
hardware requirements, please consult the documentation for the Java runtime
environment used. Exceeding these requirements will, of course, increase k42
performance which may become relevant when serving large numbers of concurrent
users.
k42 has been successfully tested on all the platforms listed
in this document.
For all installations we assume that the reader has already
acquired the k42 software. The k42 software consists of two files:
Software Pre-requisites
The following software is required to take advantage of all
the k42 components:
Installing k42
What are the k42 components?
Within k42.zip are three major components:
Solaris 2.x/Linux
Unpack the
k42.zip archive to a desired directory. For example /opt/k42 . If you do not have tools for processing Info-ZIP archives, then
unpackk42.jar instead, using the following command line:jar xvf k42.jarThe jar utility is included with any Java 2 SDK distribution. When
unpacked correctly, the target directory will contain the directory
structure:For clarity, the expansion of theapidoc and docs directories are not shown here.
k42 requires a single environment variable to be set in order
to run:
K42_HOME . This should be set to be the directory into which k42 was
installed, with no trailing slash. For example, if you have installed k42 into /opt/k42 , setK42_HOME to /opt/k42 It is recommended that you set this as a permantent environment
variable. Consult your operating system documentation for instructions on how
to do this.
To verify that k42 is now installed correctly on your system,
from a shell prompt (change directory to
$K42_HOME/bin if not on the path) and execute
./k42.sh startwhich will start the k42 application server as a background task and start printing logging messages to the console. When you see a line reading: 1342 [main] RMIService - GDO application Started.(Note the number 1342 may be different), k42 is now active and ready for clients. To stop k42, simply execute: ./k42.sh stopfrom the shell and k42 will shut down.
Warning: Always close the k42 via a
k42.sh stop command. Killing the task or closing the application window may
cause loss of data and/or data corruption.
Windows 2000 (All editions)
Unpack the
k42.zip archive to a desired directory. For example, C:\k42 . There are many ZIP utilities available for the Windows platform;
for example WinZip v8.0, available from
http://www.winzip.com. When
unpacked correctly, the target directory will contain the directory
structure:For clarity, the expansion of theapidoc and docs directories are not shown here.
k42 requires a single environment variable to be set in order
to run:
K42_HOME . This should be set to be the directory into which k42 was
installed, with no trailing backslash. For example, if you have installed k42
into c:\apps\k42 , then the following command would set K42_HOME correctly:
set K42_HOME=c:\apps\k42It is recommended that you set this as a system environment variable. Consult your Windows 2000 documentation for instructions on how to do this.
You may also wish to add the
%K42_HOME%\bin directory to the system path. This will allow you to run k42 from
any directory in the filesystem.
To verify that k42 is now installed correctly on your system,
open up a command prompt (change directory to
%K42_HOME%\bin if not on the system path) and execute
k42 startwhich should create a new console window and start printing logging messages. When you see a line reading: 1302 [main] K42RMIService - k42 ready(Note the number 1302 may be different), k42 is now active and ready for clients. To stop k42, simply execute: k42 stopfrom a command prompt window and k42 will shut down.
Warning: Always close the k42 via a
k42 stop command. Killing the task or closing the application window may
cause loss of data and/or data corruption.
Installing the k42 Web Application
The k42 web application archive:
k42.war is a Servlet v2.2 compliant web application for use in Tomcat or
any other compliant servlet container. k42 has been tested with Tomcat v3.2.1,
v3.2.2 and v4.0beta1 successfully.
If you do not have an existing Tomcat installation and want to
get up and running as quickly as possible, consult the quick-start guide below.
Once Tomcat is installed, simply copy the k42.war in to the
%TOMCAT_HOME%\webapps directory and restart Tomcat. Tomcat will automatically detect the
new application.
Note: that you must not shut down
k42 once a web client has connected to k42. This is because the servlets within
the k42 web application keep persistent TCP/IP connections open to the k42
server. To shut down the system, shut down Tomcat first, then
the k42 server to avoid errors.
Windows 98/ME
Please follow the installation instructions for installing
under Windows 2000, with the following points taken into account:
Tomcat Quick-Start Guide
This section contains a quick-start guide to installing Tomcat.
Please consult the Tomcat documentation for more detailed
information.
Starting and Stopping Tomcat
Starting Tomcat
To start Tomcat, issue the command:
tomcat.bat startwhich is located in the %TOMCAT_HOME%\bin directory. This works in the same way as k42
start command.
To stop Tomcat, issue the command:
tomcat.bat stopwhich is located in the %TOMCAT_HOME%\bin directory. This works in the same way as k42
stop command.
Troubleshooting
Copyright (c) empolis UK LTD. All rights reserved.
|