The MAINVIEW Data Server is a long-running program that resides on a desktop system, and extracts selected fields to record in a users database for reporting purposes. It is expected that the person setting up the MAINVIEW Data Server is familiar with the MAINVIEW products installed on their system and knows how to operate their database system.
The MAINVIEW Data Server is able to operate unattended, recovering from errors and system restarts, and logging and messages that may be needed for system operation or troubleshooting.
The MAINVIEW Data Server presents the selected data to a scripted, programmable exit giving the user a great deal of flexibility in how, when, and where the data is recorded. To use this feature, the user will need some knowledge of scripting languages such as JavaScript. If the modified exit will be interfacing with a database system, knowledge of SQL and some familiarity with ODBC will be very helpful.
The following topics describe the MAINVIEW Data Server in greater detail:
For a list of the steps necessary to start using the MAINVIEW Data Server, see Getting Started.
To launch the MAINVIEW Data Server. double-click the DataServer.jar file. This invokes the Java Runtime Environment (JRE) to run the program. A shortcut to the jar file may also be placed in a startup menu. At the current time the MAINVIEW Data Server cannot be run as a WIN32 Service because of its interaction with the desktop.
For debugging and testing purposes it is possible to run the MAINVIEW Data Server from a batch (.BAT) file to specify additional parameters not normally used. Here is an example of a batch file:
java -jar DataServer.jar tracelevel=Finest xml=yes pause
Available parameters are:
tracelevel={Fine|Finer|Finest} | Specifies additional trace levels beyond Config: Fine, Finer, and Finest. These trace levels are used for recording internal events and progress and can be used in data recording exits as needed. |
xml=yes | Logs xml traffic with the hosts to separate log files (xml0 through xml6). |
language=llcc | Overrides the language of the desktop system to display the GUI and dialog boxes in the selected language. The first two characters are the language code ( ISO 639-2 ), such as en, de, or fr. The second two characters are the country code ( ISO 3166 ), such as US, DE, or FR. |