The major reason for modifying the application search path is to add an application server. When you add an application server to the search path, Application Manager gathers all the server's system-wide application groups.
For more information on the application search path, see "Application Search Path".
The default application search path includes the directories shown in Table 4-3.
Table 4-3 Default Application Search Path Directories
Scope |
Search Path Directory |
---|---|
Personal |
HomeDirectory/.dt/appmanager |
System-wide |
/etc/dt/appconfig/appmanager/language |
Built-in |
/usr/dt/appconfig/appmanager/language |
In addition to modifying the application search path, you may need to perform additional configuration tasks to enable communication with the application server. See "Administering Application Services".
Log in as root.
If the file /etc/dt/config/Xsession.d/0010.dtpaths doesn't exist, create it by copying /usr/dt/config/Xsession.d/0010.dtpaths.
Open /etc/dt/Xsession.d/0010.paths for editing.
Add or edit a line that sets and exports the DTSPSYSAPPHOSTS
variable:
export DTSPSYSAPPHOSTS=hostname:[,hostname]
For example, the following line adds the system ApServA to the application search path:
export DTSPSYSAPPHOSTS=ApServA:
Inform all users on the system that they must log out and then log back in for the change to take effect.
Open HomeDirectory/.dtprofile for editing.
Add or edit a line that sets and
exports the DTSPUSERAPPHOSTS
variable:
export DTSPUSERAPPHOSTS=hostname:[,hostname]
For example, the following line adds the systems ApServB and ApServC to the application search path:
export DTSPUSERAPPHOSTS=ApServB:,ApServC:
Log out and then log back in.