User Authentication Using Cloudconnector,
Page 3 of 6


[top]
[prev]
[next]
Index for This Book
Table of Contents
Documentation Top
Global Index

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).

[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.