日期:2014-05-20 浏览次数:20686 次
<Resource name="jdbc/_AppBase2" auth="Container" type="javax.sql.DataSource" factory="org.apache.tomcat.dbcp.dbcp.BasicDataSourceFactory" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver" url="jdbc:microsoft:sqlserver://127.0.0.1:1433;DatabaseName=_AppBase2;SelectMethod=Cursor;" username="Public_User" password="12345" maxActive="150" maxIdle="30" maxWait="10000" />
------解决方案--------------------
[code=Java][/code]
<Resource name="jdbc/blog" auth="Container"
type="javax.sql.DataSource" driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@ldns-train:1521:DRS"
username="drs3" password="drs3.sjns" maxActive="20" maxIdle="10"
maxWait="-1"/>