Servertec | Java Gateway

Content Introduction Release Notes Features FAQs Requirements Installation iServer 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 |
3. 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. Install and configure iServer. Install and configure the Application/Web Server that supports CGI enabling CGI executables. 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 = boolean set CLASSPATH = class_path;%CLASSPATH% set JAVA_EXE = java_path\bin\java.exe
   boolean | 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.
3. Restart the computer. top of page Use the instructions below to configure other Application/Web Servers running on Windows Linux/Unix supporting Common Gateway Interface (CGI) to use iServer as their Servlet Engine. Install and configure iServer. Install and configure the Application/Web Server that supports CGI enabling CGI executables. Define the following environmental variables in the server's login script. export ISERVER_HOSTNAME = host_name export ISERVER_PORT = port export IGATEWAY_DEBUG = boolean export CLASSPATH = " class_path:${CLASSPATH}" export JAVA_EXE = "java_path/bin/java"
   boolean | 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.
Logout and log back in. Restart the Server.
top of page
| Copyright © 1997-2000 Servertec. All rights reserved. Last Modified: Sun Jan 09 21:37:57 EST 2000