Note: For more information on how to create a Progress Application server instance, see the Progress Application Server for OpenEdge for OpenEdge: Administration Guide.
4. Set the value of agentStartupParam in the openedge.properties file as follows to start the agent and connect to the schema holder:
Note: The openedge.properties file is located in the $WRKDIR/pasds/conf folder. You can also connect the schema holder and database
5. Start the tomcat server using proenv as follows:
$WRKDIR/pasds/bin/tcman.bat start
Note: The agent log is located in $WRKDIR/pasds/logs/pasds.agent.log
6. 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.