Customizing the Customer Interface
hal.jar (Nortel Library)
!
jconn2.jar (Sybase Library)
!
log4j.jar (Apache Library)
!
All of these libraries are located in the default installation directory of the
Customer Interface (for example, Nortel Networks\Symposium Web Center
Portal\Sample Customer Interface\web-inf\lib\).
Database configuration
The components mentioned in the section above use Sybase's JDBC driver and a
connection pooling mechanism to communicate with the database. To do this,
they need the database configuration information that is stored in the
db.properties file. This file is located in the installation directory of the
Customer Interface (for example, Nortel Networks\Symposium Web Center
Portal\Sample Customer Interface\web-inf\lib\). Before you use any of the
components mentioned in the previous section, you must load this configuration
file. For more information, refer to the Javadoc documentation provided for the
DBConnector library (supplied on the Nortel Networks Symposium Web Center
Portal Server and Client Software CD-ROM).
You can configure the following fields in the db.properties file:
SERVER – The host name of your Portal server.
!
PORT – The database port (5005).
!
DATABASE – The database name (SWCP_DB).
!
MAX_CONNECTIONS – The maximum number of database connections
!
(the default is 500).
DEADLOCK_RETRIES – The number of retries for deadlock situations
!
(the default is 10).
IDLE_TIMEOUT – Time-out for unused connections in seconds (the
!
default is 30).
BUSY_TIMEOUT – Time-out for busy connections held for too long
!
(measured in seconds). Enter a value of 0 for infinite time-out (disabled).
564
Nortel Networks Symposium Web Center Portal
Standard 2.0