The Gateway Connection to PROIV

The PROIV Gateway connection to the PROIV application is different depending on the application server operating system.

Microsoft Windows PROIV Application Server

When a PROIV application server is installed on the Windows platforms a PROIV Windows Kernel Service is also installed. This service accepts connections from the gateway and starts up a new instance of the PROIV kernel for the gateway to use.

Unix PROIV Application Server

When the PROIV Gateway requires a connection to the PROIV application it first creates a new instance of the PROIV Virtual Machine using the Kernel Path configuration property and then logs in to the application.

If using a script to start the kernel, you must use the exec command to start it, and pass through all the script parameters to the kernel. The exec is necessary for the SIGTERM signal to reach the kernel when the gateway terminates it.  In addition stdout and stderr must be redirected to a file or elsewhere.  The line starting a kernel may look like:

exec  /usr/bin/proiv $* > out.log 2>&1

Multiple environment variables can be used to supply all environment variables needed by the kernel. Note, that if any environment variable is supplied then all required environment variables need to be supplied.

Comment on this topic

Topic ID: 250026