Natural for Ajax uses the Software AG Installer, which you download from the Software AG Empower website at https://empower.softwareag.com/, to copy the distributables for the supported application servers and web containers to your machine. You can then install the distributables on your application server or web container as described in this document. On application servers and web containers, Natural for Ajax consists of a web application (cisnatural.war).
This document provides product-specific instructions for installing Natural for Ajax. It is intended for use with Using the Software AG Installer. That guide explains how to prepare your machine to use the Software AG Installer, and how to use the Software AG Installer and Software AG Uninstaller to install and uninstall your products. The most up-to-date version of Using the Software AG Installer is always available at http://documentation.softwareag.com/ (Empower login required).
Note:
This document does not describe the installation of the
additionally required Natural components on a Windows, UNIX or mainframe host,
but refers to the corresponding installation documents.
This document covers the following topics:
Installing the Natural for Ajax Distributables with the Software AG Installer
Installing Natural for Ajax on IBM WebSphere Application Server
For important last-minute information, see the readme file that is provided with Natural for Ajax. You can find it in the Natural for Ajax product documentation at http://documentation.softwareag.com/ (Empower login required).
For information on how to activate the preconfigured security settings of Natural for Ajax and how to adapt them to your requirements, see Configuring Container-Managed Security in Client Configuration.
You may find additional technical papers dealing with advanced configuration topics in the Knowledge Center at https://empower.softwareag.com/ (for registered users only).
This section provides just a brief description on how to install the Natural for Ajax distributables directly on the target machine using the Software AG Installer GUI. For detailed information on the Software AG Installer, see Using the Software AG Installer.
To install the Natural for Ajax distributables
Start the Software AG Installer GUI as described in Using the Software AG Installer.
When the first page of the Software AG Installer GUI (the so-called Welcome panel) is shown, choose the
button repeatedly (and specify all required information on the shown panels as described in Using the Software AG Installer) until the panel containing the product selection tree appears. This tree lists the products you have licensed and which can be installed on the operating system of the machine on which you are installing.To install the Natural for Ajax distributables, expand the Natural Products node and select Natural for Ajax.
Choose the
button.Read the license agreement, select the check box to agree to the terms of the license agreement, and choose the
button.On the last panel, review the list of products and items you have selected for installation. If the list is correct, choose the
button to start the installation process.When the Software AG Installer has completed the installation, you can find the distributables in the <install-dir>/NaturalAjax/AppServer directory. You can now install them on your application server or web container as described below.
The distributables for WildFly are contained in the directory <install-dir>/NaturalAjax/AppServer/WildFly.
The following is assumed:
<host> is the name of the machine on which WildFly is installed.
<port> is the name of the port where WildFly is installed. In a default installation, this is port 8080.
<adminport> is the name of the port where the Administration Console is installed. In a default installation, this is port 9990.
<wildfly_home> is the path to the directory in which WildFly is installed.
The following topics are covered below:
To install Natural for Ajax
Stop WildFly.
Extract the contents of the file cisnatural.war into a new directory <wildfly_home>/standalone/deployments/cisnatural.war.
Add your license file to the directory <wildfly_home>/standalone/deployments/cisnatural.war/cis/licensekey.
Add the following security domain definition in the file
standalone.xml, under
<security-domains>
. This file is contained in
<application-server-install-dir>/standalone/configuration.
<security-domain name="NaturalWebIOAndAjaxRealm" cache-type="default"> </security-domain>
Start WildFly.
To trigger the actual deployment, create a file named cisnatural.war.dodeploy in <wildfly_home>/standalone/deployments.
To update Natural for Ajax
Start WildFly.
Create a backup copy of your sessions.xml file, which is located in <wildfly_home>/standalone/deployments/cisnatural.war/WEB-INF.
Create a backup copy of your license file, which is located in <wildfly_home>/standalone/deployments/cisnatural.war/cis/licensekey.
Create backup copies of all modified configuration files, which are located in <wildfly_home>/standalone/deployments/cisnatural.war/cis/config.
Create backup copies of previously created projects, which are located in <wildfly_home>/standalone/deployments/cisnatural.war.
Open your web browser and enter the following URL:
http://<host>:<adminport>/console
This opens the Administration Console.
Select cisnatural.war in the list of installed applications.
Choose
.Deploy the cisnatural.war file for the new version of Natural for Ajax as in a first-time installation.
Restore the files that you have backed up in steps 2, 3, 4 and 5.
Open your web browser and enter the following URL:
http://<host>:<port>/cisnatural/index.html
Regenerate the HTML pages.
We recommend using the Ant generation script to regenerate the HTML pages. See Generating HTML Pages Using the Command Line. Alternatively, you can use the Layout Manager and Style Sheet Editor tools to manually regenerate the files.
The distributables for IBM WebSphere Application Server are contained in the directory <install-dir>/NaturalAjax/AppServer/WebSphere.
Natural for Ajax is installed using the Administration Console of IBM WebSphere Application Server.
The following is assumed:
<host> is the name of the machine on which the application server is installed.
<port> is the name of the port where the application server is installed. In a default installation, this is port 9080.
<adminport> is the name of the port where the Administration Console is installed. In a default installation, this is port 9060.
The following topics are covered below:
To install Natural for Ajax
Make sure the application server is running.
Open your web browser and enter the following URL:
http://<host>:<adminport>/ibm/console
This opens the Administration Console.
Deploy the web application cisnatural.war.
Open the tree node Applications > Application Types > WebSphere enterprise applications.
On the Enterprise applications page, choose .
Select WebSphere/cisnatural.war as the path to the new application. Then choose
.Choose
. If additional information is required, you will be prompted.On the Select installation options page, choose . You will then install with the default options.
On the Map modules to servers page, select a cluster and server, select Natural for Ajax and choose . Then choose .
On the Map virtual hosts for Web modules page, select a virtual host, select Natural for Ajax and choose .
On the Map context roots for Web modules page, enter "cisnatural" as context root and choose .
On the Summary page, choose .
On the next page, choose
.Configure the application.
Open the tree node Applications > Application Types > WebSphere enterprise applications.
Select cisnatural.war.
On the Configuration page, select Class loading and update detection.
On the General Properties page, enter a value for Polling interval for updated files (for example, 300 seconds).
On the General Properties page under Class loader order, select Classes loaded with local class loader first (parent last).
Choose
.On the next page, choose
.Back on the cisnatural.war.
page, selectOn the Configuration page under Modules, select Manage Modules.
On the Manage Modules page, click the Natural for Ajax link.
On the General properties page under Class loader order, select Classes loaded with local class loader first (parent last).
Choose
.On the next page, choose
.Deploy the license file.
Open the tree node Applications > Application Types > WebSphere enterprise applications.
On the cisnatural.war and choose Update.
page, selectOn the Preparing for the application update page, choose .
In the Specify the path beginning… field, enter "cisnatural.war/cis/licensekey/<licensekeyfilename>".
In the Specify the path to the file field, browse for your license key file.
Choose
.On the Updating application page, choose .
On the next page, choose
.Start the application.
Open the tree node Applications > Application Types > WebSphere enterprise applications.
On the cisnatural.war and choose Start.
page, selectTo update Natural for Ajax
Create a backup copy of the Natural for Ajax application and the contained user projects.
Open the tree node Applications > Application Types > WebSphere enterprise applications.
On the cisnatural.war and choose Export. The application is exported as the file cisnatural_war.ear.
page, selectOn the Export Application EAR files page, choose cisnatural_war.ear to download it from the application server.
Extract the web application cisnatural.war from the exported archive.
Copy user projects and modified configuration files from the exported old version of cisnatural.war to the new version.
Unpack the exported old cisnatural.war using a zip tool.
Unpack the new cisnatural.war using a zip tool.
Copy the sessions.xml file, which is located in cisnatural.war/WEB-INF, from the old version to the new version.
Copy the license file, which is located in cisnatural.war/cis/licensekey, from the old cisnatural.war to the new cisnatural.war.
Copy all modified configuration files, which are located in cisnatural.war/cis/config, from the old cisnatural.war to the new cisnatural.war.
Copy all user projects, which are located in cisnatural.war, from the old cisnatural.war to the new cisnatural.war.
Repack the new cisnatural.war to a web application using a zip tool.
Uninstall the old version of Natural for Ajax.
Open the tree node Applications > Application Types > WebSphere enterprise applications.
On the cisnatural.war and choose Uninstall.
page, selectOn the Uninstall Application page, choose .
On the next page, choose
.Install the new version of Natural for Ajax as in a first installation.
The distributables for Apache Tomcat are contained in the directory <install-dir>/NaturalAjax/AppServer/Tomcat.
Natural for Ajax is installed using the Tomcat Manager.
The following is assumed:
<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.
Note:
In Apache Tomcat 7 and 8, the Tomcat Manager limits the size of
a web application to be deployed by default to 50MB. Before installing on
Apache Tomcat 7 or 8, increase the values of <max-file-size>
and <max-request-size>
in the configuration file
<tomcat>/webapps/manager/WEB-INF/web.xml
to at least 80MB.
The following topics are covered below:
To install Natural for Ajax
Start Apache Tomcat.
Open your web browser and enter the following URL:
http://<host>:<port>/manager/html
This opens the Tomcat Manager.
Deploy the web application file cisnatural.war:
Under Select WAR file to upload select the path to the file cisnatural.war.
Choose
.Copy the license file into the directory <tomcat>/webapps/cisnatural/cis/licensekey (you have to create the directory if it does not yet exist).
In the Tomcat Manager, look for the application Natural for Ajax and choose .
To update Natural for Ajax
Shut down Apache Tomcat.
Create a backup copy of your sessions.xml file, which is located in <tomcat>/webapps/cisnatural/WEB-INF.
Create a backup copy of your license file, which is located in <tomcat>/webapps/cisnatural/cis/licensekey.
Create backup copies of all modified configuration files, which are located in <tomcat>/webapps/cisnatural/cis/config.
Create backup copies of previously created projects, which are located in <tomcat>/webapps/cisnatural.
Start Apache Tomcat.
Open your web browser and enter the following URL:
http://<host>:<port>/manager/html
This opens the Tomcat Manager.
Select cisnatural.war in the list of installed applications.
Choose
.Deploy the new version of Natural for Ajax as in a first-time installation.
Shut down Apache Tomcat.
Restore the files that you have backed up in steps 2, 3, 4 and 5.
Start Apache Tomcat.
Open your web browser and enter the following URL:
http://<host>:<port>/cisnatural/index.html
Regenerate the HTML pages.
We recommend using the Ant generation script to regenerate the HTML pages. See Generating HTML Pages Using the Command Line. Alternatively, you can use the Layout Manager and Style Sheet Editor tools to manually regenerate the files.
It is assumed that http://<host>:<port> is the URL of your application server or web container.
To verify the installation
Enter the following URL in your web browser:
http://<host>:<port>/cisnatural/index.html
This opens a page from where you can access the logon page, the development workplace and the configuration tool.
Click on the link for the logon page.
This opens the Natural logon page. The installation is now complete.