Return type:
Applies to:
CONNECT ( connection-parms, userid, password, app-server-info )Table 69 describes the basic connection parameters you must specify to connect to an AppServer instance or application service, regardless of the session model.
Previous versions of the AppServer allow you to include a network protocol using the -N parameter, which must always specify TCP. While still allowed, it is optional and always defaults to TCP/IP.
Note: Connections to an Internet-secure (HTTPS) or SSL-enabled AppServer require the management of public keys on the client (SSL client) and private keys on the server (SSL server). For an Internet-secure AppServer, the SSL server is the Web server that hosts the AIA. For an SSL-enabled AppServer, the SSL server is the AppServer itself. For information on configuring a Web server for HTTPS, see your Web server documentation. For information on using SSL to secure an AppServer, see OpenEdge Application Server: Developing AppServer Applications. For information on configuring an AppServer for SSL tunneling, see OpenEdge Application Server: Administration. For information on managing private key and digital certificate stores for SSL clients and servers, see OpenEdge Getting Started: Core Business Services - Security and Auditing.Table 70 describes connection parameters for specifying and managing the session model of the connection.
-sessionModel sessionModel This value is not case sensitive.This value must match the AppServer operating mode or the CONNECT( ) method fails.The default value is Session-managed. -connectionLifetime nSeconds -initialConnections nConnections -maxConnections nConnections -nsClientMaxPort portNum -nsClientMinPort portNum -nsClientPicklistExpiration nSeconds -nsClientPicklistSize nPicks -nsClientPortRetry nRetries -nsClientDelay nMilliSeconds Note that the actual AppServer that the client connects to is controlled by the NameServer based on the application service (-AppService) name specified by the client. The ABL interface in cooperation with the NameServer connect the client application to one of the AppServer instances that supports the specified application service. If you do not specify an application service, the NameServer uses whatever AppServer registers itself as the default service, if any. For more information on load balancing, see the information on NameServers and load balancing in OpenEdge Application Server: Developing AppServer Applications and the AppServer administration chapter in OpenEdge Application Server: Administration.For more information on application services and NameServers, see OpenEdge Application Server: Developing AppServer Applications.userid , password , app-server-info
One of the values specified in the connection-parms parameter is invalid.
The AppServer executes a Connect procedure that terminates with a STOP condition, a QUIT condition, or after executing a RETURN ERROR statement. For more information on Connect procedures, see OpenEdge Application Server: Developing AppServer Applications.The -URL connection parameter allows you to connect to an AppServer using the AppServer Internet Adapter (AIA) with the following protocols: HTTP and HTTPS.For more information on AppServers or the AppServer Internet Adapter (AIA), see OpenEdge Application Server: Developing AppServer Applications.
© 2013 Progress Software Corporation and/or its subsidiaries or affiliates. |