Installing LogWeb/Ajax
Overview: LogWeb/Ajax
LogWeb/Ajax is a client/server application. The application is based on the latest Internet technology and independent from the operating system on the server side and client side:
- The server side is a pure-Java Web application.
- On the server side, only a standard Java servlet container and a Java Virtual Machine (VM) is required.
- The implementation is pure Java and is independent of the used server operating system (Windows, various UNIX and Linux, UNIX/390).
- The Tomcat servlet container on a standard Windows or Linux computer or notebook is sufficient as a point of entry (your own Web server is not required).
- The client side is a pure browser application:
- Only an up-to-date, standard Web browser is required. No additional components are needed for the client side (Java VM, ActiveX, or EXE files are not required)
- The implementation is pure Ajax. The traditional browser standards HTML and CSS are dynamically connected using JavaScript, thus offering the comfort of using a familiar client application (rich Internet application).
- Communication with the server occurs in the background, where only the relevant data is transmitted in the compact JSON format (complete HTML pages are not exchanged).
- The communication between client and server is standard HTTP or HTTPS:
- TCP/IP socket connections are not used.
The typical problems with firewalls and proxies are thus avoided.
- The implementation enables special support for encryption and authentication on the client side and server side.
- Special precautionary measures against line failure and data loss enable operation over connections with frequent disturbances, such as GSM.
The advantages of the client/server architecture are fully used, for example:
- Installation and configuration are performed centrally on the server.
Multi-server and multi-host operation are also supported.
- The server functions as an additional application firewall in front of the actual host systems.
The host systems do not require direct access to the Internet. The user check can also be done already on the server.
- On the server side, extensive diagnostics capabilities are implemented, such as:
"Real-time administration": Monitoring or switching to currently running sessions.
"???Supplementary analysis": Evaluation of session logs with time stamps and comments on details.
- "Parked sessions" enables easier routine operations for the user: After restarting the emulation, users can continue working exactly where they have stopped.
Most importantly, our 30 years of experience in this critical environment guarantees:
- Extremely dependable products
- Exceptionally high performance, even if more than a thousand active sessions are simultaneously active
- Extensive customization options for your specific environment
- Excellent support, including active participation in our development team
We wish you much success in installing, configuring, and operating LogWeb/Ajax, and we will support you as much as possible in your efforts.
Standard system environments
We use the following standard system environments for testing:
- Server side:
- Apache version 2.0 or 2.2 as the front-end Web server
- Tomcat version 5.5 or 6.0 as Java Servlet Container
- Java JDK version 5 or 6
- Windows 2000/XP/Vista and Linux operating systems
- Client side
- MS Internet Explorer versions 5.5/6/7 under Windows NT/2000/XP/Vista
- Mozilla Firefox versions 1.0, 1.5, 2.0, and 3.0 under Windows NT/2000/XP/Vista and Linux,
- Opera from version 8.5 under Windows NT/2000/XP/Vista and Windows Mobile
In further descriptions, we assume that you have already installed the required standard software on the server side and configured the software for your specific requirements.
For configuring Apache and Tomcat, we have listed only special tips that you can also apply to other products accordingly.
Installation
LogWeb/Ajax is delivered as a complete Web Archive (WAR). The Web archive consists of a single file ajax.war and contains:
- Server-side Java program code (classes and libraries)
- Server-side support code for clients (JSP files and tag libraries),
- Server-side description files (deployment descriptor web.xml)
- Web resources for clients (HTML and CSS files, JavaScript files, media files)
During installation, you only need to publish the war file in your servlet container. The process is the same as for typical deployments; for more details, see the documentation for your servlet container.
License file WEB-INF/license.ini
If you have received the license file license.ini, copy the file in the directory WEB-INF. Without a license file, the availability of the application is restricted (scope of functions and expiry date).
Installation tests
We strongly recommend that you perform installation tests after the installation:
- The offline tests
only check the availability of all components. You can perform these tests without further preparation.
- For online tests with your host systems, you require the minimum parameters for availability ("IP address") and access ("login information").
You usually work together with your host administrators during the online tests. The connection templates that you generate during these tests can be used later.
Further steps
For initial tests with your host applications, use the connection templates, that you used for the first online test. LogWeb/Ajax comes preconfigured; you therefore do not need to make further adjustments.
Further steps in the process mainly depend on other factors of your system environment and host applications (as well as the ease of use that you want to provide your users).
For example, you frequently need to make specific entries for the host printer ("printer LU name"), which you can usually specify in the connection templates or in user administration.
As soon as you have an overview of what LogWeb/Ajax provides by default, you can make further customizations
for your specific implementation:
- Creating user and group profiles
- Customizing startup behavior and basic settings for the terminal emulation
- Providing custom templates for menus, toolbars, keyboard shortcuts, and mouse button shortcuts.
- Providing application-specific macros
- Customizing login behavior to suit your requirements
You must perform the following steps before productive use:
- User administration: Enter the paths for profile files.
- File system: Enter the paths for user, group, and custom configurations.
- Create connection templates to your host systems.
- Prevent unauthorized access, for example, to administrator pages.
We will be pleased to assist and support you with the configuration and any required customizations.
Important for updates
If you have customized the LogWeb/Ajax configuration files during the installation, you need to note the following:
- Your customizations are not included in the update version delivered.
- You must therefore make the same customizations to the update version as well.
- We recommend that you do not transfer your custom files to the update version without first checking, because you may not be able to use new functions in LogWeb/Ajax.
From experience, we recommend the following procedure:
- First, read the release notes of the update version.
- Install the update version as a new application.
- Perform the short installation test -
the configuration that you customized for the previous version is not yet used for this test.
- Save your current configuration (profile and data) if you have not yet done so.
- Apply the central configuration file WEB-INF/ajax.ini from the previous version to the update version that you just installed.
- Perform the tests with the fully configured update version.
In general, we recommend that you also compare the previous configuration files that you applied with the corresponding files delivered in the update version, otherwise you may be unable to use new functions. This especially applies to the custom configuration that you reference using
CustomData = XXXX
in the central configuration file WEB-INF/ajax.ini.
Notes on the update to Ajax 3 with WebSpool
New parameters are included in the configuration file WEB-INF/ajax.ini. If you want to keep your latest configuration you must apply these parameters to your latest ajax.ini and modify the values to meet your needs if required.
Starting from Ajax version 3.1.5, the printer connection does not need to be configured separately in the Apache Web server or Tomcat and can be removed from the corresponding configurations.
With Tomcat, you can delete the printer connection by deleting the following entries (if available):
In conf/server.xml:
<!-- Support of static contents of LogWeb; similar to a real web server.
The base directory is appBase (see above)
-->
< Context path="/logwebhtml" docBase="../../../logweb/html" />
In conf/web.xml:
<servlet>
<servlet-name>logweb-CGI</servlet-name>
<servlet-class>org.apache.catalina.servlets.CGIServlet</servlet-class>
...
</servlet>
<servlet-mapping>
<servlet-name>logweb-CGI</servlet-name>
<url-pattern>/logwebcgi/*</url-pattern>
></servlet-mapping>
Before doing this, you need to stop and restart the application server.
In the Apache Web server configuration, delete the settings for the printer connection only if you are not using LogWeb and Ajax simultaneously.
If you want to remove the settings, search in the Apache configuration files (usually httpd.conf) for logwebhtml and logwebcgi. The entries are either
Alias /logwebhtml "<directory>"
or
ScriptAlias /logwebcgi "<directory>"
or
ProxyPass /logwebcgi "<directory>"
ProxyPassReverse /logwebcgi "<directory>"
In this case, <directory> is the LogWeb installation directory with the subdirectory logwebcgi or logwebhtml.
In the first two cases, the Apache Web server is used as a normal Web server; in the last case, Apache is used as an HTTP proxy server.
For each Alias and ScriptAlias entry, there is a <Directory> section.
<Directory "<directory>"
...
</Directory>
Delete the Directory section and the Alias or ScriptAlias lines.
In the case of a HTTP proxy server, delete all entries with ProxyPass and ProxyPassReverse that contain the text logwebcgi.
Notes on updating from version 2
Note the following points in particular when updating from version 2:
- The previous include directory is now the "kernel directory".
This directory now contains only the system files (primarily JavaScripts) that are required for operating LogWeb/Ajax.
You cannot make any changes in this directory.
- The new directory config contains only the delivered "basic configuration".
You use the files in this directory as the starting point for your modifications.
Copy the corresponding files in your new custom directory that you reference usingCustomData = XXXX
in the central configuration file WEB-INF/ajax.ini. To avoid problems with future updates, we recommend that you change the files in this directory only.
- Your custom directory //CustomData contains only your company-specific settings.
Although this directory corresponds to the previous __install directory, we recommend that you avoid applying changes that you made for version 2
-- version 3 offers powerful new features for calling up the menu system and keyboard layout, which we recommend that you use.
- If you made changes to the menus and keyboard in version 2, you can restore these changes more efficiently by using the corresponding editors for version 3.
- If you have created connection templates for version 2, you must re-create these for version 3.
- If you already implement LOG-WEB user administration, you must also select this for version 3.
- If you want to continue without implementing a special user administration, select "empty user administration service" for version 3. This is already pre-configured during installation, and you do not need to note anything further.
© Logics Software 2006 - 2009