Servertec   Java Gateway
Content
Introduction
Release Notes
Features
FAQs
Requirements
Installation
iServer
AOL Gateway
Apache Gateway
ISAPI Gateway
NSAPI Gateway
CGI Gateway
Java Gateway
Add-ons
How To
Change Log
Future Plans
Knowledge Base
Documentation
Samples
Sales
Legal
Feedback

 

Select the platform to install the Java Gateway under:
Windows 9x/NT
Linux/Unix
Use the instructions below to configure other Application/Web Servers running on Windows 9x/NT supporting Common Gateway Interface (CGI) to use iServer as their Servlet Engine.
  1. Install and configure iServer.

  2. Install and configure the Application/Web Server that supports CGI enabling CGI executables.

  3. Define variables used by the Java Gateway.

    For Windows 9x add the following environmental variables to the autoexec.bat file.

    set ISERVER_HOSTNAME = host_name
    set ISERVER_PORT = port
    set IGATEWAY_DEBUG = debug
    set CLASSPATH = class_path;%CLASSPATH%
    set JAVA_EXE = java_path\bin\java.exe

    debug whether to make a dump of the request/response to \temp\javaGateway.log [ true | false ], normally false.
    class_path the path to the iServer Java Gateway, normally c:\iws\classes\isg.jar.
    host_name the name of the host computer running iServer. If iServer is running on the same computer as the iServer Java Gateway then localhost can be used.
    java_path the base directory where Java was installed.
    port is the port number iServer is listening on, normally port 8080.

    For Windows NT using the Control Panel double-click on System then click on Environment tab and add the following System Variables.

    Variable Value
    CLASSPATH the path to the iServer Java Gateway, normally c:\iws\classes\isg.jar;
    %CLASSPATH%
    .
    IGATEWAY_DEBUG whether to make a dump of the request/response to \temp\javaGateway.log [ true | false ], normally false.
    ISERVER_HOSTNAME the name of the host computer running iServer. If iServer is running on the same computer as the iServer Java Gateway then localhost can be used.
    ISERVER_PORT is the port number iServer is listening on, normally port 8080.
    JAVA_EXE the base directory where Java was installed.

  4. Add the following Virtual Directory.

    Alias the URI used to access the iServer Java Gateway, normally /servlet.
    Directory the path the iServer Java Gateway executable, normally c:\iws\bin\win32\javaGateway.exe.
    Access/Permissions the privileges, normally Execute.

  5. Restart the computer.
top of page
Use the instructions below to configure other Application/Web Servers running on Linux/Unix supporting Common Gateway Interface (CGI) to use iServer as their Servlet Engine.
  1. Install and configure iServer.

  2. Install and configure the Application/Web Server that supports CGI enabling CGI executables.

  3. Define the following environmental variables in the server's login script.

    export ISERVER_HOSTNAME = host_name
    export ISERVER_PORT = port
    export IGATEWAY_DEBUG = debug
    export CLASSPATH = " class_path:${CLASSPATH}"
    export JAVA_EXE = "java_path/bin/java"

    debug whether to make a dump of the request/response to /tmp/javaGateway.log [ true | false ], normally false.
    class_path the path to the iServer Java Gateway, normally /iws/classes/isg.jar.
    host_name the name of the host computer running iServer. If iServer is running on the same computer as the iServer Java Gateway then localhost can be used.
    java_path the base directory where Java was installed.
    port is the port number iServer is listening on, normally port 8080.

  4. Add the following Virtual Directory to the server's configuration file.

    Alias the URI used to access the iServer Java Gateway, normally /servlet.
    Directory the path the iServer Java Gateway, normally /iws/bin/linux/javaGateway.
    Access/Permissions the privileges, normally Execute.

  5. Logout and log back in.

  6. Restart the computer.
 top of page
 Built with iScript Copyright © 1997-2000 Servertec. All rights reserved.
Last Modified: Sat Aug 12 11:20:03 EDT 2000