Setting up the application on the AppServer machine
This section provides information about applications on AppServer machines.
Note: The sample files on the CD are read-only. You need to edit their properties to make them read-write.
To set up the application on the AppServer machine:
1. Verify that a complete installation of an OpenEdgedevelopment product was installed on the AppServer machine.
2. Recursively copy the back-end files of the Sports2000 application from the %DOCS%\src\sports2000\gui directory to the AppServer work directory.
Note: The gui directory contains both back-end and front-end application files.
3. Create a copy of the sports2000 database on the AppServer machine. The copy can reside anywhere, but note its full path. For example, d:\wrk91b\sports2000.db.
4. Start a database server for the sports2000 database running on the AppServer machine. Use OpenEdge Management or OpenEdge Explorer, or the proserve command similar to the following:
%DLC%\bin\proserve d:\wrk91b\sports2000.db
5. Compile the sports2000 back-end application files you copied to the AppServer working directory in Step 2, as follows:
a. Start an OpenEdge session.
b. Connect to the sports2000 database.
c. Use the PRO*Tools PROPATH tool to add the AppServer working directory to the PROPATH.
d. Start the Application Compiler.
e. Enter the path of the AppServer working directory and compile the application.
6. Use OpenEdge Management or OpenEdge Explorer to configure the default asbroker1 AppServer instance, as follows:
a. In the General Options for Broker tab, change the broker working directory to the AppServer work directory, and add the service name sports2000partition to the Appservice Name list.
b. In the General Options for Server tab, add the database connection parameter to Server Startup Parameters. For example, if the Sports2000 database resides at d:\wrk91b, add the following parameter:
-db d:\wrk91b\sports2000
7. Use OpenEdge Management or OpenEdge Explorer to configure and start the controlling NameServer instance for the asbroker1 AppServer.
8. Use OpenEdge Management or OpenEdge Explorer, or the asbman command to start the asbroker1 AppServer instance. For example (using the asbman command):