首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 其他相关 >

Resin 4.0 连接池配备

2012-08-27 
Resin 4.0 连接池配置文件:D:\resin-pro-4.0.23\conf\resin.xml在第83行:(/resin:if后面)添加内容:?dat

Resin 4.0 连接池配置

文件:D:\resin-pro-4.0.23\conf\resin.xml

在第83行:(</resin:if>后面)添加内容:

?

<database>           <jndi-name>jdbc/eBuilder</jndi-name>           <driver type="com.microsoft.sqlserver.jdbc.SQLServerXADataSource">             <url>jdbc:sqlserver://localhost:1433;database=databaseName;integratedSecurity=false;</url>             <user>sa</user>             <password>sa</password>            </driver>            <prepared-statement-cache-size>8</prepared-statement-cache-size>            <max-connections>10</max-connections>            <max-idle-time>20s</max-idle-time>          </database>

热点排行