日期:2014-05-18  浏览次数:20889 次

Listener refused the connection with the following error: ORA-12519
Oracle10g数据库和JAVA程序都按装在Window2003系统上,服务器Tomcate6.0
每当数据提交到130条左右时就报如下错误:
Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found The Connection descriptor used by the client was:127. 0.0.1:1521:A2008  


但用另一台电脑上的JAVA程序(操作系统:WindowsXP,WebServer:Tomcate6.0)去连接那台Window2003的电脑上的数据库时,却没有问题,能够正常提交

在线等 。。。。

------解决方案--------------------
必须确保你的数据库最大连接数支持130,这是并发问题,解决方案,最好写个连接池,就可以解决了。