Jargon Building BlocksTM
Installation and Configuration Notes
Version 2.3 - December 2000
Related Documents

Overview

The Jargon Building BlocksTM system is an application development infrastructure that consists of several elements:

The schema file for the XFiles Database is distributed as both a "tar" file for Unix systems (jsxdb.tar) and a "zip" file for Windows NT/2000 systems (jsxdb.zip).

The Host Programs are distributed as both a "tar" file for Unix systems (jsxprog.tar) and a "zip" file for NT systems (jsxprog.zip). These files also include certain "base" database table contents (".d" files).

The HTML Online Help Documents are distributed as both a "tar" file for Unix systems (jsxhelp.tar) and a "zip" file for NT systems (jsxhelp.zip).

The Client Applications are distributed as a "zip" file for Windows 95/98/NT/2000 client systems (jsxapp.zip).

Installation

Note: these installation instructions assume that you have already installed Jargon ReaderX, Jargon Reader, and/or Jargon Writer on both your client and host systems. If not, you should complete the installation of one or more of those products before continuing with these steps.

The XFiles database.

  1. Extract the jsxdb.tar or jsxdb.zip contents into the host directory where you want to build the database.
  2. You can make a new empty Progress database for the XFiles and attach it to your application database at startup, or you can add the XFiles schema to your application database schema.
  3. For a new database, use the appropriate Progress utility to create a new "xfiles" database from "empty" (on unix: "$DLC/bin/prodb xfiles empty).
  4. Start a Progress editor session and go into the data dictionary.
  5. Connect the new or existing database in which you will be loading the Xfiles schema.
  6. Load the schema file "xfiles.df".
  7. End the Progress editor session.
  8. Modify your WebSpeed or AppServer startup parameters to attach the "xfiles.db" if you have created it as a separate database. This is often done in a ".pf" file, with other session startup parameters.


HostPrograms.

  1. Extract the jsxprog.tar or jsxprog.zip contents into the host working directory for your application. The programs will be extracted into two subdirectories: "jrep/include/" and "jsx/".
  2. In the "jsi/" subdirectory, edit the "jsi.ini" file and change the definition of "UseBldBlks" (line 15) to read:  &GLOBAL-DEFINE UseBldBlks TRUE
  3. If you want to compile the host programs to object (".r") programs for performance reasons, start a Progress editor session, then run "jsx/compall.p".
  4. To compile the programs for syntax only (to make sure everything is okay), you can run "jsx/compchk.p" instead.
  5. Create a system reports directory, individual user report directories, and a Job Processor logs directory. Note these names for later use when running various system setup programs (see below).
  6. Create a subdirectory named "temp" directly beneath the Web server's HTML root directory, such as "/html/temp" or (for NT) "C:\Inetpub\wwwroot\temp". This is needed to enable viewing reports in a Web browser. Make sure it has fully open read/write permissions.
  7. Modify the jsx/runbatch.sh script as needed on Unix systems (for Job Processor startup command). On NT systems, configure a ".bat" file or equivalent in the NT or Progress utility programs.
HTML Documents.
  1. Extract the jsxhelp.tar or jsxhelp.zip contents into the host or client directory where you want to store your online help documents. The documents will be extracted into a "doc/progress/jsx" subdirectory.
  2. If installed on the host (which is the preferred method, to simplify the process of updating online help documents), extract this subdirectory under the Web server's "document root" HTML directory path. For example, if your Web server locates all HTML documents relative to "/html", you could extract into it, so that the help documents will be in "/html/doc/progress/jsx".
  3. Before you can use online help, you must configure the "base help directory" in System Control Setup. For this host example, you would enter: "/html/doc/progress/".
  4. If installing help documents on each client system, they must all be installed in an identical location on each client computer, which would normally be "<Jargon working directory>\doc\progress\jsx".
Client Applications.
  1. For use with Jargon ReaderX, extract the jsxapp.zip contents on your web server host system into the subdirectory "xml\jsx\" under your web server document root directory. On NT, this would extract the client xml files into the directory C:\inetpub\wwwroot\xml\jsx (which must also be added to the AppRootURL search path in the ReaderX html startup page's parameters).
  2. For use with Jargon Writer or Jargon Reader, extract the jsxapp.zip contents on each client into the subdirectory "xml\jsx\" under your Jargon Writer or Jargon Reader working directory.
  3. For Jargon Reader:
  4. For Jargon Writer,


Configuration

  1. Determine your security strategy. You will need to have this spelled out in order to configure and set up various tables in the following steps. See Implementing Security for details.
  2. Make sure that your Web server and WebSpeed broker or your AppServer brokers and servers are running correctly. You will need to stop and restart the broker after installing the database, so that it is connected to the XFiles schema.
  3. Start the Building Blocks application by clicking a web page link (ReaderX) or desktop shortcut (Reader), or by running xml\jsx\x00login.xml in Writer. A login window should appear.
  4. Log in, leaving the User ID and password fields blank. The system will detect that this is a "first time" login and will initialize certain database tables, including:
  5. Enter a new passwordfor "sa" when prompted. Record the password for future use!
  6. Click "Starting Menu" to run the System Administration Menu.
  7. Run System Control Setup and fill in values for your installation. Do NOT enable security at this point, until other required records have been added.
  8. Run System Codes Setup. Certain required system codes will be automatically added the first time that this program is run. Add other codes, including Security Period definitions, as required.
  9. Run Printer Setup and add host printer definition records.
  10. Run Group Setup and add application groups.
  11. Run User Setup and add users for each Group, including their default printer and startup menu.
  12. Run Application Setup and add the Applications you have decided to use.
  13. Run Procedure Setup and add a record for each procedure in your applications.
  14. Run Security Matrix Setup and create any desired security control records.
  15. Run System Control Setup again and enable any desired security testing. Be sure you have already given yourself sufficient security permissions in the Security Matrix, or you could "lock yourself out" for future logins (it's been known to happen!).
  16. Test Online Help from one or more programs, to be sure that it is configured correctly.
  17. Test a report program to verify that all configured Output Routing methods (View, Print, Fax, Email, File) are working, and that background scheduling is working.
  18. Configure startup scripts for the background Job Processor (for unix, see jsx/runbatch.sh).
  19. Run the Job Processor Control Panel and start a Job Processor, then test various status and pause/resume/end commands to make sure the background processing system is working.
  20. Log in under various User ID's with different security profiles, to make sure that security has been set up correctly.
  21. You are now ready to begin adding your specific applications, menus, procedures and help documents to the system.

Return to Top     Help Topics        Help Index