image\cslogo3d1.gif

Loading DB2 Profiles

Chili!Soft ASP 3.6 for IBM AIX and Linux includes a DB2 database. In order for the DB2 database to connect to the Chili!Soft ASP Server, you must first load the database profile as described in this topic. You must also have the software installed that is described in the previous topic, "Configuring DB2."

To load the DB2 profile, use the following procedure.

To load a DB2 profile

1.   If necessary, open the Chili!Soft ASP Administration Console by using the following URL:

http://[HOSTNAME]:[PORT]

where [HOSTNAME] is the hostname of your Web server and [PORT] is the port on which the Administration Console is running (5100 by default).

2.   On the ASP Server tab of the Server Management page (the first page to appear when you open the Administration Console), click Databases.

The Databases page displays.

image\databases_c.gif

3.   Click the DB2 Profiles tab.

The DB2 Profiles page displays.

image\db2.gif

Each currently loaded DB2 profile displays in a separate text box, along with an empty text box in which you type the absolute path name of the profile that you want to load. If no profiles are currently loaded, a single empty text box appears on the page.

4.   In the empty text box, type the absolute path name for DB2-profile file you want to load.

5.   When finished, click Save.

You must restart the ASP Server in order to finish loading the DB2 profile. If the Restart ASP Server checkbox is selected, the ASP Server automatically restarts when you click Save.

6.   To add another profile, type its absolute path name in the empty text box that appears under the last profile you loaded.

7.   To remove a DB2 profile, delete the path name of the profile, and then click Save.

Note

Restarting the ASP Server resets all Session and Application variables.

See also:

Configuring DB2 in this chapter

DB2 Parameters in this chapter

Configuring a Database in this chapter

Copyright 2001 Sun Microsystems, Inc. All rights reserved. Legal Notice.