weblogic6中如何设置oracle的连接池? (无内容) (100分)

  • 主题发起人 主题发起人 wury
  • 开始时间 开始时间
W

wury

Unregistered / Unconfirmed
GUEST, unregistred user!
weblogic6中如何设置oracle的连接池,谢谢!
 
see http://www.delphibbs.com/delphibbs/dispq.asp?lid=569358
maybe some help
 
通过访问weblogic6的控制台console,输入管理员名称和密码,在功能菜单有Database Connection pool
的设置
 
Start Weblogic Server
Start Weblogic Console
->Services->JDBC->Connection Pools
->Create a new JDBC Connection Pool...
note:
[blue]Name[/blue] This attribute returns the name of the connection pool.
[blue]URL[/blue] The URL for the database, as specified in the JDBC driverdo
cumentation.
[blue]Driver Class Name[/blue] The string containing the name of the JDBC driver class.
[blue]Properties[/blue] The list of the properties passed to this JDBC driver.


 
高,不过好像java这个版的帖子太少了一天也没有几条。
有没有好的站点介绍啊

 
建立Oracle的JDBC Connection Pool?
Configuration
General
Name: OracleCP
URL: jdbc:weblogic:oracle
Driver Classname: weblogic.jdbc.oci.Driver
Properties(key=value): user=scott
password=tiger
server=estore
Connections
Initial Capacity: 4 connections
Maximum Capacity: 10 connections
Capacity Increment: 2 connections
Login Delay Seconds: 1 seconds
Refresh Period: 10 minutes

(Y)Allow Shrinking
Shrink Period: 15 minutes
Testing
Test Table Name: dual
(N)Test Reserved Connections
(N)Test Released Connections

Targets
Servers
eStoreServer

建立Oracle的JDBC Data Source?
Configuration
Name: OracleDS
JNDI Name: jdbc.OracleDS
Pool Name: OracleCP
Targets
Servers
eStoreServer
建立Oracle的JDBC Tx Data Source?
Configuration
Name: OracleTxDS
JNDI Name: jdbc.OracleTxDS
Pool Name: OracleCP
(N)Enable Two-Phase Commit
Targets
Servers
eStoreServer
建立Oracle的Realm?
Configuration
General
Name: defaultRDBMSRealmForOracle
Realm Class: examples.security.rdbmsrealm.RDBMSRealm
Database
Driver: weblogic.jdbc.oci.Driver
URL: jdbc:weblogic:oracle
User Name: scott
Password: tiger
测试工具:在DOS命令行下先设置环境变量,后执行
java utils.dbping ORACLE user password server
java utils.t3dbping t3://localhost:7001 scott tiger estore weblogic.jdbc.oci.Driver jdbc:weblogic:oracle
 
接受答案了.
 
后退
顶部