i think this may give you some help.:)To create a connection pool: Modify the classpath used when starting WebLogic Server. Add the classes (or .jar file) for the Oracle driver to the WebLogic Classpath (using the weblogic.class.path property-not the Java System Classpath): For more information on setting your classpath, see Setting Classpath in the WebLogic Server installation instructions. Add one of the following connection pool definitions to your weblogic.properties file, making the correct substitutions for your environment: #Oracle thin driver Method #1weblogic.jdbc.connectionPool.thinPool=\ url=jdbc:oracle:thin:DEMO,\ driver=oracle.jdbc.driver.OracleDriver,\| initialCapacity=1,\ maxCapacity=1,\ props=user=SCOTT;password=tiger,\ allow=guest;joe;jill(Where DEMO is the name of a host and database defined in the tnsnames file. See your Oracle documentation for more information.) #Oracle thin driver Method #2weblogic.jdbc.connectionPool.thinPool=\ url=jdbc:oracle:thin:@hostName:portNumber:databaseName,\ driver=oracle.jdbc.driver.OracleDriver,\ initialCapacity=1,\ maxCapacity=1,\ capacityIncrement=1,\ props=user=scott;password=tiger,\ allow=guest;joe;jill(Where hostName is the name of the machine hosting the Oracle DBMS, portNumber is the port where the host machine is listening for requests, and databaseName is the name of the database.)
in weblogic6.0Before starting WebLogic Server, you use the //* Administration Console*// to configure the connection pool, which includes defining the attributes and connection parameters, cloning pools, and assigning connection pools to a server or domain
你而且我也不会配,最好能帖子例子上来,谢谢!
Modify the classpath used when starting WebLogic Server. Add the classes (or .jar file) for the Oracle driver to the WebLogic Classpath (using the weblogic.class.path property-not the Java System Classpath):
For more information on setting your classpath, see Setting Classpath in the WebLogic Server installation instructions.
Add one of the following connection pool definitions to your weblogic.properties file, making the correct substitutions for your environment: #Oracle thin driver Method #1weblogic.jdbc.connectionPool.thinPool=\ url=jdbc:oracle:thin:DEMO,\ driver=oracle.jdbc.driver.OracleDriver,\| initialCapacity=1,\ maxCapacity=1,\ props=user=SCOTT;password=tiger,\ allow=guest;joe;jill(Where DEMO is the name of a host and database defined in the tnsnames file. See your Oracle documentation for more information.)
#Oracle thin driver Method #2weblogic.jdbc.connectionPool.thinPool=\ url=jdbc:oracle:thin:@hostName:portNumber:databaseName,\ driver=oracle.jdbc.driver.OracleDriver,\ initialCapacity=1,\ maxCapacity=1,\ capacityIncrement=1,\ props=user=scott;password=tiger,\ allow=guest;joe;jill(Where hostName is the name of the machine hosting the Oracle DBMS, portNumber is the port where the host machine is listening for requests, and databaseName is the name of the database.)
to configure the connection pool, which includes defining the attributes and connection parameters, cloning pools, and assigning connection pools to a server or domain