Transports and Interfaces: Siebel Enterprise Application Integration > Integrating Siebel Business Applications with Java Applications > About Running the Java Data Bean >

Connection Parameters for the SiebelDataBean


Regardless of how the SiebelDataBean is invoked, certain parameters of the connection may be set using the properties file. These are siebel.conmgr.txtimeout, siebel.conmgr.poolsize, siebel.conmgr.sesstimeout, siebel.conmgr.retry, and siebel.conmgr.jce.

Other connection parameters may also be specified in the properties file, but they are used only in conjunction with generated code (subclasses of com.siebel.integration.adapter.SiebelJDBAdapterBase or SiebelJCAAdapterBase).

Table 27 gives the details of these parameters.

Table 27. Properties in the siebel.properties File
Property
Description

siebel.conmgr.txtimeout

The number of milliseconds to wait after sending a request to the Siebel Server. Must be a positive integer; other values are ignored. The default value is 600000 milliseconds (10 minutes); the maximum value is 2,147,483,647 ms (approximately 25 days).

siebel.conmgr.poolsize

For each Application Object Manager process, a pool of open connections is maintained and shared by all users of that process. This parameter specifies the maximum number of connections that will be stored in the pool. Its value must be a positive integer less than 500; other values are ignored. The default is 2.

siebel.conmgr.sesstimeout

The number of seconds the Siebel Server will wait before disconnecting an idle client session. Its value must be a nonnegative integer. The default is 2700 seconds (45 minutes); the maximum value is 2,147,483,647 s (approximately 68 years).

siebel.conmgr.jce

Determines whether encryption of transmissions is done using Java Cryptography Extension or RSA (if the connection uses encryption). 1 indicates JCE; 0 indicates RSA. The default is 0.

siebel.conmgr.retry

The number of attempts to be made at establishing a connection (opening a session) before giving up. Must be a positive integer. The default is 3.

siebel.conmgr.virtualhosts

A listing of virtual servers representing a group of like servers that perform the same function, for example, call center functions.

An incoming login for the call center Virtual Server will try servers from the list in a round-robin fashion.

An example of such a list follows:

VirtualServer1=sid1:host:port,sid2:host:port...;VirtualServer2=...

where:

Virtual Servers = an assigned list of real Siebel Servers with host names and port numbers (of the local SCB).

siebel.connection.string

The Siebel connect string. For information on the syntax of the connect string, see Siebel Object Interfaces Reference.

siebel.loglevel

The level of messages to be logged. Must be a positive integer less than 6. Other values are ignored or throw an exception. 0 causes only FATAL messages to be logged; 1 ERROR; 2 WARN; 3 INFO; 4 DETAIL; 5 DEBUG. The default is 0.

NOTE:  The siebel.loglevel parameter is used only in conjunction with the generated code for the SiebelJCAAdapterBase subclass.

siebel.logfile

The name of a file to which logging is directed. Strings that cause a FileNotFoundException cause an error to be logged and are ignored. The default is to print to the JVM's standard output.

NOTE:  The siebel.logfile parameter is used only in conjunction with generated code for the SiebelJCAAdapterBase subclass.

siebel.user.name

The Siebel username to be used for logging in to the Application Object Manager.

siebel.user.password

The Siebel password to be used for logging in to the Application Object Manager.

siebel.user.language

The language code indicating the natural language to be used for messages and other strings. Default is enu.

siebel.jdb.classname

The name of a subclass of com.siebel.data.SiebelDataBean to use instead of SiebelDataBean. Strings that do not specify a valid class or specify a class that is not a subclass of SiebelDataBean cause an error log to be logged and SiebelDataBean to be used instead.

Here is a sample siebel.properties file:

siebel.connection.string = siebel:// 172.20.94.55:2321/siebel/EAIObjMgr_enu

siebel.user.name          = User1

siebel.user.password      = password

siebel.user.language      = enu

siebel.user.encrypted     = false

siebel.conmgr.txtimeout   = 300000

siebel.conmgr.poolsize    = 5

siebel.conmgr.sesstimeout = 3600

siebel.conmgr.retry       = 5

siebel.conmgr.jce         = 1

siebel.loglevel           = 0

Transports and Interfaces: Siebel Enterprise Application Integration Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.