PreviousNextUpFAQ Table of Contents

Microsoft Windows NT 4.0

Upgrades

We recommend that you upgrade to Windows NT Service Pack 3 from one of the following locations, depending on whether you're running Windows NT Workstation or Windows NT Server (free registration required):

Before downloading the SDK for Java, make sure you're running the latest Microsoft Internet Explorer 4.01, available from:

You can then download and install the Microsoft SDK and VM for Java from:

Installing the SDK

You can download and install the SDK using either the self-extracting executables or by running the Microsoft SDK Active Setup utility. General installation instructions from Microsoft can be found at:

Using the self-extracting executables

To install using the self-extracting executables, you'll need to download each of the following files:

SDK-Java.exe
Microsoft SDK for Java Version 3.1 for Windows 95, 98, & NT 4.0
MSJavx86.exe
Microsoft virtual machine for Windows 95, 98, & NT 4.0 (Build 2924)
sdkjdoc.exe
Microsoft SDK for Java Compressed HTML (CHM) Documentation, Version 3.1

After downloading the three files, perform the following steps:

  1. Run SDK-Java.exe.
  2. Restart Windows NT.
  3. Run MSJavx86.exe.
  4. Restart Windows NT.
  5. Run sdkjdoc.exe.
  6. Run the command "clspack -auto" from the Command Prompt window in order to create the Java classes file C:\WINNT\Java\Classes\classes.zip.

Using the active setup

To install using the active setup, you'll need to download the active setup program, sdksetup.exe. It will in turn download and install the SDK and VM for Java. You can select the SDK Documentation for installation as well.

Checking your installation

When you select the Help, About Internet Explorer menu item on Microsoft Internet Explorer, it should display:

Microsoft Internet Explorer 4.0 Version 4.72.3110.8

When you type jview in a Command Prompt window, the first line should display:

Microsoft (R) Command-line Loader for Java  Version 5.00.2924

And the Java classes file should be roughly the following size:

C:\WINNT\Java\Classes\classes.zip - 11,367,810 bytes

Running VolanoChat as a Windows NT Service

To run the VolanoChat server as a Windows NT Service, you must have VolanoChat Version 2.0.0 Build 218 (or later) and Microsoft SDK for Java Version 3.1 (or later).

Installing one VolanoChat server

You can install VolanoChat as a Windows NT Service by entering the following command directly from the VolanoChat server installation directory (vchat2.0.0 by default):

service /install

Once installed as a service, you can go to Start, Settings, Control Panel, Services, and then select the VolanoChat service to start and stop it. You can see the service events by opening the Event Viewer with Start, Programs, Administrative Tools (Common), Event Viewer. Display the Application Log by selecting Application on the Log menu. After starting the service, you should see six events like the following:

Starting VolanoChat service ...
VolanoChat(TM) Server Version 2.0.0 Build 218
Copyright (C) 1996-1998 Volano LLC.  All rights reserved.
red (192.168.0.2) VolanoChatPro - 10 connection limit.
This evaluation copy expires on Tue Dec 01 00:00:00 PST 1998.
VolanoChat service is started.

The VolanoChat service reads its properties from the file properties.txt located in the same directory as the service.exe program you used to install it.

To stop the VolanoChat server from the Services control panel, select the VolanoChat service and press the Stop button. There is a delay of five seconds as the VolanoChat server shuts down. Stopping the service results in one event:

Stopping VolanoChat service ...

You can also start and stop the VolanoChat Windows NT Service from the Command Prompt by using the net command:

net start VolanoChat
net stop VolanoChat

To remove the VolanoChat service, simply enter:

service /uninstall

Installing multiple VolanoChat servers

To install and run multiple VolanoChat servers as Windows NT Services, perform the following steps for each instance of a VolanoChat server.

Step 1.

Install another copy of the VolanoChat server into a new directory, such as vchat2.0.0-2, for example.

Step 2.

From the new directory, enter the following command (all on one line) to build a Windows NT Service for the additional VolanoChat server:

\SDK-Java.31\bin\jntsvc\jntsvc.exe /r /v
  /out:service2.exe /svcmain:COM.volano.NTService
  /servicename:VolanoChat2 /displayname:VolanoChat2 /eventsource:VolanoChat2
  COM\*.class javax\*.class sun\*.class

This command creates a new service2.exe service installation program that installs the VolanoChat server with the service name VolanoChat2. You can duplicate this command to create a third or fourth (or as many as you like) VolanoChat service as well. You may want to put these commands into a batch file to make it easier to duplicate and edit.

Step 3.

Modify the server.port and admin.port properties in properties.txt, as well as the server.port property in httpd.txt, so that this instance of the VolanoChat server starts on different port numbers than the original. To run non-trial versions, you will need to purchase a license key for each additional server.

Step 4.

You may then install, start, stop, and uninstall the new VolanoChat2 service with the commands:

service2 /install
net start VolanoChat2
net stop VolanoChat2
service2 /uninstall

You may also start and stop the VolanoChat2 service from the Services control panel.


PreviousNextUpFAQ Check HTML Table of Contents