Consultor Eletrônico



Kbase P125345: What are AppServer configuration procedures?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   9/3/2008
Status: Verified

GOAL:

What are AppServer configuration procedures?

GOAL:

How I configure AppServer connect and disconnect procedures?

GOAL:

When does the Startup procedure from AppServer configuration is executed?

GOAL:

When does the Shutdown procedure AppServer configuration is executed?

GOAL:

When does the Connect procedure AppServer configuration is executed?

GOAL:

When does the Disconnect procedure AppServer configuration is executed?

GOAL:

When does the Disconnect procedure AppServer configuration is executed?

GOAL:

What is the difference between Startup and Connect procedure for the AppServer configuration

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.x
Progress 9.x

FIX:

Startup procedure: executes as an AppServer agent starts up.
ubroker.properties settings: srvrStartupProc
Parameters: DEFINE INPUT PARAMETER startup-data AS CHARACTER NO-UNDO.
You can set the value for this parameter using srvrStartupProcParam.
Shutdown procedure: executes just before agent is shut down.
ubroker.properties settings: srvrShutdownProc
Parameters: None
You can only specify Startup/Sutdown procedures for state-aware and stateless AppServer modes.
Connect procedure: executes whenever AppServer agents handles the client connection request.
ubroker.properties settings: srvrConnectProc
Parameters: DEF INPUT PARAM user-id AS CHARACTER NO-UNDO.
DEF INPUT PARAM password AS CHAR NO-UNDO.
DEF INPUT PARAM srv-info AS CHAR NO-UNDO.
Disconnect procedure: executes wheneven AppServer agents handles a client disconnection request, but before the connection is terminated.
ubroker.properties settings: srvrDisconnProc
Parameters: None
Activate procedure: executes immediately before a remote procedure request when the connection is in the unbound state.
ubroker.properties settings: srvrActivateProc
Parameters: None
Deactivate procedure: executes immediately after remote procedure and delete procedure requests when the connection is in the unbound state.
ubroker.properties settings: srvrDeactivateProc
Parameters: None