|
|
Table of Contents |
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:
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:
To install using the self-extracting executables, you'll need to download each of the following files:
SDK-Java.exe
MSJavx86.exe
sdkjdoc.exe
After downloading the three files, perform the following steps:
SDK-Java.exe.
MSJavx86.exe.
sdkjdoc.exe.
"clspack -auto" from the Command Prompt
window in order to create the Java classes file
C:\WINNT\Java\Classes\classes.zip.
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.
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
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).
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
To install and run multiple VolanoChat servers as Windows NT Services, perform the following steps for each instance of a VolanoChat server.
Install another copy of the VolanoChat server into a new directory,
such as vchat2.0.0-2, for example.
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.
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.
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.
|
|
Check HTML | Table of Contents |