Client/Server file system

Overview

Usually, not all users have the same authorizations, and the settings and available macros can also depend on the user or the user group. LogWeb/Ajax administers these configurations in a hierarchical client/server file system:

All configuration directories are created to correspond with the basic configuration provided, but they only contain data customized by you and by users of your system. A distinction is automatically made between four categories:

The users can save and access their individual settings and templates in the designated areas on the central LogWeb/Ajax server.

Thus, the file system works together with user administration:

The default settings already include a pre-configured "empty file system", which you can immediately use for an initial test.

For productive use, you only need to specify the server paths to the custom, group and user data in the basic settings.

Default file system

The standard default settings already include a preconfigured "empty file system", which you can use for an initial test. The corresponding basic settings are:

CustomData = custom
UserData   = userdb/data/userdata
GroupData  = userdb/data/groupdata

For productive use, you only need to determine the server paths to the custom, group and user data in the basic settings.

Depending on the use case, you can make user-specific templates and macros available in the custom directory or in one of the group directories.

Note:

Basic directory paths

The basic settings for the file system are made in the central configuration file WEB-INF/ajax.ini:

Parameter Meaning
CustomData Path to the custom directory with company-specific adjustments.
  • Default setting: custom (empty directory)
  • Can also be located outside the Web application.
UserData Path to the directory with user-specific data.
  • Default setting: userdb/data/userdata (empty directory)
  • Can also be located outside the Web application.
GroupData Path to the directory with group-specific data.
  • Default setting: userdb/data/groupdata (contains test-connections)
  • Can also be located outside the Web application.

Note:

Configuration directories

The structure of all configuration directories is identical and is shown using the following basic configuration config as an example:

config
|                               // Root: General data
|   _ajax.jsp                      // starts the emulation window
|   doLogin.jsp                    // displays the logon dialog
|   enterVTPwd.jsp                 // displays user logon for VT
|   login-error.jsp                // displays error messages during logon
|   showLinks.jsp                  // displays the available host connections
|   suspendedSession.jsp           // displays messages about suspended sessions
|   valid.properties               // example of a sample file with all data
|   hardcopy.css                   // style sheets
|   ...                            // miscellanous media files
|
+-- 3270                        // terminal specific files: IBM 3270
|   +-- keyboard                   // keyboard templates
|   |       default.js
|   |
|   +-- macro                      // macro files
|   |   \-- auto                      // auto-start macros
|   |           _default.js              // hardware settings
|   |
|   +-- menu                       // menu templates
|   |       default.js
|   |
|   \-- toolbar                    // toolbar templates
|           default.js
|
+-- 5250                        // terminal specific files: IBM 5250
+-- 9750                        // terminal specific files: FSC 9750
+-- 97801                       // terminal specific files: SNI 97801
+-- vt                          // terminal specific files: xterm, VTxxx
|
+-- _login                      // login files
|       *.ini                      // connection templates
|       *.valid                    // optional: parameter checks for this connection
|       valid.properties           // optional: parameter checks for all connections
|
+-- _lang                       // language specific files
|   +-- de                         // language "german"
|   |       default.js                // base menu ("overlay")
|   |       lwtext.js                 // messages (status line, ...)
|   |       claim.gif                 // other media files
|   |
|   \-- en                         // language "international"
|       ...
|
\-- _macro                      // global macros
|   \-- auto                       // globale auto-start macros
|           _colors.js                // system colours
|           _hardcopy.js              // hardcopy printing
|           _preferences.js           // default settings
|           _mail.js                  // default mail behaviour
|
\-- _spool                     // transformation rules for WebSpool
        filter.xml                // rule sets for file transformations
        spool-filter_1_0.dtd      // XML scheme of filter.xml

Characteristics:

Cache: important when directly modifying files

For faster access, the cache directory

cache/GROUP

is automatically created for each user group. These directories are created by combining data from the configuration directories

in the specified order.

Example: The directory cache/admin contains the final configuration of the user group admin.

In addition, the cache/_ directory is created, which contains only the combined configuration directories config and //CustomData and acts as a master cache for all groups.

Note the following when changing the file structure directly on the server:

Therefore, we recommend that you use the provided programs whenever possible, for example, the connection wizard: the cache structure is then automatically updated.