Pathway/iTS Web Client Programming Manual (G06.24+)

How to Compile, Build, and Maintain a Pathway/iTS
Web Client
Compaq NonStop Pathway/iTS Web Client Programming Manual520270-001
2-13
9. Specify the Port Number of the Router Process
2. Logon to the NonStop Himalaya server then specify the remote OSS directory
where the HTML files are deployed. Specify local directory to which the files will
get copied. Set the transfer mode to ASCII.
ftp > user x.y password
ftp > cd /usr/webserver/root/testapp
ftp > lcd c:\htmledit
ftp > ASCII
3. Use the get or mput command to put one or more HTML files. When the files are
transferred, exit the ftp session.
ftp > prompt off
ftp > mput *.html
ftp > bye
9. Specify the Port Number of the Router Process
After you deploy the converted application on the web server, you must configure the
converted Java applet to communicate with a router process running on the NonStop
Himalaya system. You do this by using the SETPORT utility, provided with the
Pathway/iTS software, to specify an IP port number that matches the port number
specified for the router process.
Run the SETPORT utility on the NonStop Himalaya system by issuing the following
command from the /usr/tandem/Pathway-iTS/ directory in the OSS
environment:
port-num
is the TCP/IP port number assigned to this application. This number must match the
port number specified when the router process was started, as described in the
Pathway/iTS System Management Manual.
control-name
is either the program-id specified in the INITPROG parameter or the
app-name specified in the APPNAME parameter when the application was
converted with the SCUP CONVERT command that included the full OSS path.
If both the INITPROG and the APPNAME parameters were specified in the
CONVERT command, the app-name from the APPNAME parameter must be
used for control-name.
For example, in the sample application you could use the following command:
SETPORT 2500 /usr/tandem/webserver/root/deploy-
directory/INVENTORY
This command configures the converted Java application to send messages to the router
started with port number 2500 on the host NonStop Himalaya system.
SETPORT port-num control-name