Tomcat5.5数据库连接池的配置过程?? 有谁在Tomcat5.5下成功配置过连接池?能把配置过程共享一下吗?谢谢我的环境是Tomcat5.5.20 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 5.5应该很好配置,驱动放好,很容易成功http://tb.blog.csdn.net/TrackBack.aspx?PostId=1472601 conf/server.xml中加上 <Resource name="jdbc/kmdb" type="javax.sql.DataSource" password="密码" driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver" maxIdle="20" maxWait="5000" username="sa" url="jdbc:microsoft:sqlserver://ip或数据库名称:1433;SelectMethod=Cursor;databasename=**" removeAbandoned="true" removeAbandonedTimeout="10" logAbandoned="true" maxActive="100"/> </GlobalNamingResources> journay(当你凝视黑夜时,黑夜也在深深的凝视着你:配置放到什么位置? 要copy相应的驱动到/Tomcat/Commons/Lib/目录下; 也可以在context.xml<Context reloadable="true"><Logger className="org.apache.catalina.logger.FileLogger" prefix="web_log." suffix=".txt" timestamp="true"/> <Resource name="jdbc/xxx" type="javax.sql.DataSource" driverClassName="com.mysql.jdbc.Driver" maxIdle="50" maxWait="5000" username="root" password="123456" url="jdbc:mysql://localhost:3306/xxx?autoReconnect=true&useUnicode=true&characterEncoding=utf-8" maxActive="20" removeAbandoned="true" removeAbandonedTimeout="60" logAbandoned="true"/></Context> 大神们,springmvc 的input标签如何设置默认值呢? 关于innerHTML问题,题目很简单。。 struts2要对action做junit4测试的问题 hibernate 操作问题 点击eclipse的时候这儿那么让它弹出选择了哪个文件夹为工程的目录。给与提示 hibernate为什么找不到org.apache.commons.lang包 如何用java web 调用天气接口 ibatis中关于主键自增问题 求助 itextAsian.jar 文本框怎么自动填充? 哪位大侠有html的文档? [入门级问题,在线等!]hibernate表间关联的问题
http://tb.blog.csdn.net/TrackBack.aspx?PostId=1472601
<Resource
name="jdbc/kmdb"
type="javax.sql.DataSource"
password="密码"
driverClassName="com.microsoft.jdbc.sqlserver.SQLServerDriver"
maxIdle="20"
maxWait="5000"
username="sa"
url="jdbc:microsoft:sqlserver://ip或数据库名称:1433;SelectMethod=Cursor;databasename=**"
removeAbandoned="true"
removeAbandonedTimeout="10"
logAbandoned="true"
maxActive="100"/>
</GlobalNamingResources>
配置放到什么位置?
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="web_log." suffix=".txt" timestamp="true"/>
<Resource name="jdbc/xxx"
type="javax.sql.DataSource"
driverClassName="com.mysql.jdbc.Driver"
maxIdle="50"
maxWait="5000"
username="root"
password="123456"
url="jdbc:mysql://localhost:3306/xxx?autoReconnect=true&useUnicode=true&characterEncoding=utf-8"
maxActive="20"
removeAbandoned="true"
removeAbandonedTimeout="60"
logAbandoned="true"/>
</Context>