Kbase 20524: How to Setup Jrun 3.0 With AIA 9.1x on a UNIX Platform
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  13/03/2009 |
|
Status: Unverified
GOAL:
How to Setup Jrun 3.0 With AIA 9.1x on a UNIX Platform
GOAL:
How to configure Jrun in combination with the AppServer Internet Adapter
FACT(s) (Environment):
Progress 9.1x
UNIX
JRun 3.0
FIX:
Guidelines to set up a servlet engine (Jrun 3.0) to work with the Progress AppServer Internet Adapter (AIA) Version 9.1B.
Follow these steps to set up Jrun 3.0 after an install:
1) Open the <Jrun-install-dir>/bin/jrun script for editing before
you start the servlet engine.
2) Near the top of the file, add the DLC, WRKDIR environment
settings. For example:
#!/bin/sh
#
# jrun -- start a new JVM and instantiate a class
#
# Usage:
# See usage function below.
#
# Limitations:
# each evaluation. \\a -> \a -> a
# 1 line continuation characters could also be easily supported.
#
# Save original args
DLC=<Path of the Progress-AIA/S install-dir>; export DLC
WRKDIR=<Path-to-working-directory>; export WRKDIR
APP_LIST=
NOHUP=
JAVA_EXE=
JAVA_ARGS=
USER_JAVA_ARGS=
CLASS=
CLASS_ARGS=
CLASSPATH=
3) Find export LD_LIBRARY_PATH and add the proper path on the
line above it (The following example is for HP-UNIX):
SHLIB_PATH=$DLC/lib:$SHLIB_PATH
export SHLIB_PATH
4) Find export CLASSPATH and add the proper path on the line
above it (example for HP-Unix):
CLASSPATH=<path-to-progress-install-dir>/java/aia.zip:$CLASSPATH
export CLASSPATH
5) Save the Jrun script.
6) Start the AdminServer from the Jrun/bin directory with:
./jrun -start
This should start a "jrun -admin" and a "jrun -default"
server or process.
7) To test configuration, open a browser and enter one of the
following lines in the location toolbar:
/" >http: <host-name:port-for-admin>
(General install defaults to 8001 if the port is available.)
/demo/" >http: a <host-name:port-for-default-server> demo
(Defaults to 8101 if the port is available.)