A database connection for a Progress Application Server can be configured in three places:
- OpenEdge Explorer (OEE) or OpenEdge Management (OEM)
- Navigate to the ABL application configuration: Resources -> Progress Application Server -> oepas1 -> ABL Applications -> Configuration.
- Specify the connection parameters in the 'Agent startup parameter' field under the 'Startup Parameters and Environment' tab.
- In DeveloperStudio
- Double-click on your PAS instance in the Servers view to open the Overview page.
- Click on the 'open launch configuration' link to open the configuration overview.
- Select the database.
- Click 'Apply' and 'OK' to close the launch configuration (NOTE: The PAS instance has to be started for the configuration to be synchronized).
- Via Program at Agent Startup
- Follow steps 1.1 or 2.1 through 2.2.
- Add the name of the program you want to run at agent startup to connect to the databases to the 'Startup Procedure' field.
- Editing the PAS instance OpenEdge.Properties file (${catalina.base}/conf/openedge.properties):
- Open the OpenEdge.properties for the PAS instance and add database parameters as follow:
[AppServer.SessMgr.<instancename>]
agentLogEntryTypes=ASPlumbing,DB.Connects
agentLogFile=${catalina.base}/logs/<instancename>.agent.log
agentStartupParam=-T "${catalina.base}/temp" -pf <pffilename>.pf
or
[AppServer.SessMgr.<instancename>]
agentLogEntryTypes=ASPlumbing,DB.Connects
agentLogFile=${catalina.base}/logs/<instancename>.agent.log
agentStartupParam=-T "${catalina.base}/temp" -db <dbname> -S <port> -N <protocol> -H <hostname>