If you want to use the Natural Web I/O Interface client with Apache Tomcat, you must proceed as described in this Dokument. The following topics are covered:
The Natural Web I/O Interface client is installed using the Tomcat Manager.
The following is assumed:
<install-dir> is the path to Software AG's main installation directory. By default, this is C:\SoftwareAG on Windows and /opt/softwareag on UNIX.
<host> is the name of the machine on which Apache Tomcat is installed.
<port> is the name of the port where Apache Tomcat is installed. In a default installation, this is port 8080.
<tomcat> is the path to the directory in which Apache Tomcat is installed.
The following topics are covered below:
To install the Natural Web I/O Interface client
Natural for Windows and UNIX: Copy the complete contents of the <install-dir>/natural/INSTALL/nwoclient/j2ee/v<nnnn>/tomcat directory to a directory of your choice on your hard disk.
Oder:
Download the Natural Web I/O Interface client for Apache Tomcat from
Empower (https://empower.softwareag.com/) and
unzip the contents to a directory of your choice on your hard disk.
On UNIX platforms: Dearchive the TAR file using the following command:
tar -xvf nwonnnn.tar
Make sure that Apache Tomcat is running.
Open your web browser and enter the following URL:
http://<host>:<port>/manager/html
This opens the Tomcat Manager.
Deploy the web application file natuniweb.war:
Under Select WAR file to upload select the path to the file natuniweb.war.
Choose
.In the Tomcat Manager, look for the application Natural Web I/O Interface Client and choose .
To update the Natural Web I/O Interface client
Natural for Windows and UNIX: Copy the complete contents of the <install-dir>/natural/INSTALL/nwoclient/j2ee/v<nnnn>/tomcat directory to a directory of your choice on your hard disk.
Oder:
Download the Natural Web I/O Interface client for Apache Tomcat from
Empower (https://empower.softwareag.com/) and
unzip the contents to a directory of your choice on your hard disk.
On UNIX platforms: Dearchive the TAR file using the following command:
tar -xvf nwonnnn.tar
Shut down Apache Tomcat.
Create a backup copy of your sessions.xml file, which is located in <tomcat>/webapps/natuniweb/WEB-INF.
Start Apache Tomcat.
Open your web browser and enter the following URL:
http://<host>:<port>/manager/html
This opens the Tomcat Manager.
Select natuniweb.war in the list of installed applications.
Choose
.Deploy the new version of the Natural Web I/O Interface client as in a first-time installation.
Restore the sessions.xml file that you have backed up previously.
It is assumed that http://<host>:<port> is the URL of your application server.
To verify the installation
Enter the following URL in your web browser:
http://<host>:<port>/natuniweb/natural.jsp
For example:
http://myhost:8080/natuniweb/natural.jsp
The Natural Web I/O Interface client is now started in your browser. The entries which appear in the resulting logon page depend on the settings in your configuration file. For further information, see Configuring the Client.