User Authentication Using Cloudconnector
Page 3 of 6

Creating a Connection Pool

To create a connection pool, edit the weblogic.properties file. The default entries for a Cloudscape connection pool definition are in the weblogic.properties file shipped with Cloudconnector.

The following example sets up a connection pool called sales to the myDB database:

weblogic.jdbc.connectionPool.sales=\

url=jdbc:cloudscape:myDB;create=true,\

driver=COM.cloudscape.core.JDBCDriver,\

loginDelaySecs=1,\

initialCapacity=4,\

capacityIncrement=2,\

maxCapacity=10,\

props=user=francois;password=echecs

Once you have set up the connection pool, add users and their passwords to the weblogic.properties file as follows:

weblogic.password.john=johnPasswd

weblogic.password.janet=janetPasswd

To view a list of open JDBC connections, use the BEA WebLogic Admin servlet (T3AdminMain servlet).