讨论使用resin3连接池出现的问题,望解惑!
在昨天发的帖子里:
http://expert.csdn.net/Expert/topic/2519/2519784.xml?temp=.8347132
我把resin换成2.1的版本程序就通过了。不会在抛null的异常了。
请教resin3的连接池机制是不是和resin2的不一样了?
<database>
<jndi-name>jdbc/imidb</jndi-name>
<driver type="org.gjt.mm.mysql.Driver">
<url>jdbc:mysql://localhost:3306/imidb</url>
<user>root</user>
<password></password>
</driver>
<prepared-statement-cache-size>8</prepared-statement-cache-size>
<max-connections>20</max-connections>
<max-idle-time>30s</max-idle-time>
</database>
我想我在conf文件里这么写应该是没有错的!为什么在3下无法运行呢?而2下却运行良好!