Configuring the Progress Application Server for OpenEdge agent as a self-service DataServer session
- Last Updated: March 30, 2020
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
Configuring the Progress Application Server for OpenEdge agent as a self-service DataServer session
To configure the Progress Application Server for OpenEdge agent
as a self-service DataServer session:
- Create a schema holder.
- Specify the MS SQL Server instance username (-U) and password (-P) connection parameters for the schema holder.
- Create a Progress Application Server instance. For
example:
pasman create -p 8811 -P 8812 -s 8813 $WRKDIR/pasdsNote: For more information on how to create a Progress Application server instance, see the Progress Application Server for OpenEdge for OpenEdge: Administration Guide. - Set the value of agentStartupParam in the openedge.properties file as
follows to start the agent and connect to the schema
holder:
agentStartupParam=-T "${catalina.base}/temp" -pf $WRKDIR/mss.pfNote: The openedge.properties file is located in the$WRKDIR/pasds/conffolder. You can also connect the schema holder and database - Start the tomcat server using proenv as
follows:
$WRKDIR/pasds/bin/tcman.bat startNote: The agent log is located in $WRKDIR/pasds/logs/pasds.agent.log - Connect to the server code using client.p as shown
below:
DEFINE VARIABLE hServer AS HANDLE NO-UNDO. CREATE SERVER hServer. hServer:CONNECT("-URL http://localhost:8811/apsv -AppService nxgas -sessionModel Session-Free"). IF NOT hServer:CONNECTED() THEN DO: MESSAGE "Failed to connect to AppServer". RETURN. END. run server.p on hServer. hServer:DISCONNECT(). DELETE OBJECT hServer.