Connect String

The connect string is a URL containing the information needed to connect to any Siebel Server component. It specifies both the protocol and the details of the Client Application Manager service in the Siebel Servers to which the client connects. The generic form of the syntax for the connect string follows:

If you are using a single sign-on (SSO) with Java Data Bean, you must use the login ID of an employee as the username and the value of the trust token (the TrustToken parameter in the application's CFG file) in the connect string to log into the server.

where SADMIN is an employee and TrustToken = HELLO in the [LDAPSecAdpt] section of uagent.cfg.

Using Load Balancing with the Connect String

Siebel COM Data Control operating in server mode and Java Data Bean support Siebel native load balancing across Siebel Servers. The standard connect string is modified to direct requests to an appropriate virtual host that includes specific Siebel Servers with the desired object manager, and to provide the path to the file that defines the virtual host.

Connect strings that use Siebel native load balancing have the following structures:

COM Data Control:

host="siebel://VirtualHost/EnterpriseServer/AppObjMgr_lang"vhosts="<path to lbconfig.txt>"

where lbconfig.txt is the file that defines virtual hosts.

For information on lbconfig.txt definition of virtual hosts, see Siebel System Administration Guide.

Java Data Bean:

host="siebel://VirtualHost/EnterpriseServer/AppObjMgr_lang"

When using generated code, by default, virtual host definitions are read from the siebel.conmgr.virtualhosts property in the siebel.properties file. The siebel.properties file must be in the classpath of the Java Virtual Machine.

For information on definition of virtual hosts in siebel.properties, see Transports and Interfaces: Siebel Enterprise Application Integration.

The following is a sample connect string for the COM Data Control operating in Server Mode in an environment that implements Siebel round-robin load balancing across Siebel Servers: