高手进来解决ORA-12519, TNS:no appropriate service handler found !!!

zujun314 2007-07-24 10:43:58
Listener refused the connection with the follow
ing error:
ORA-12519, TNS:no appropriate service handler found
The Connection descriptor used by the client was:
192.168.1.6:1521:webtest
我的系统是JSP+Tomcat5.0.28,系统里面使用了连接池对数据库进行连接,开始可以运行一段时间,但是几个小时就会发生上面的异常,请问我应该怎样做啊???哪位高手可以指点下不?
...全文
11619 10 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
mihuanaiai 2012-08-31
  • 打赏
  • 举报
回复
The Connection descriptor used by the client was:localost:1521:a 求解决下
hubianxiaowu2010 2011-12-16
  • 打赏
  • 举报
回复
6楼 大牛,解决了我的这个问题
猪猪飞侠 2011-05-17
  • 打赏
  • 举报
回复
7楼正解,我出现这种情况的原因就是应用出了问题,在循环里创建关闭数据库连接,给数据库造成压力很大,造成多个多用连接数据库的假象
yinongstudio 2010-12-09
  • 打赏
  • 举报
回复 1
http://www.ezloo.com/2009/04/ora-12519_tnsno_appropriate_service_handler_found.html


有时候连得上数据库,有时候又连不上。
可能是数据库上当前的连接数目已经超过了它能够处理的最大值。

select count(*) from v$process --当前的连接数
select value from v$parameter where name = 'processes' --数据库允许的最大连接数

修改最大连接数:
alter system set processes = 300 scope = spfile;

重启数据库:
shutdown immediate;
startup;

--查看当前有哪些用户正在使用数据
SELECT osuser, a.username,cpu_time/executions/1000000||'s', sql_fulltext,machine
from v$session a, v$sqlarea b
where a.sql_address =b.address order by cpu_time/executions desc;
fingerfox 2010-12-09
  • 打赏
  • 举报
回复
lsnrctl stat
看看你的实例状态是不是BLOCK

如果是就参照6楼,

多半是应用出了问题,比如建立连接之后不关闭。
zhang568745144 2010-01-05
  • 打赏
  • 举报
回复
java.sql.SQLException: Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
The Connection descriptor used by the client was:

好多人遇到这问题阿。
怎么解决阿。
Teddy_Xiong 2010-01-05
  • 打赏
  • 举报
回复
ORA-12519: TNS:no appropriate service handler found
Cause: The listener could not find any available service handlers that are appropriate for the client connection.
Action: Run "lsnrctl services" to ensure that the instance(s) have registered with the listener, and are accepting connections.

运行 $ORALCE_HOME/bin/lsnrctl services 查看有没有services下的实例状态
一边默认oracle注册实例是动态
修改oracle注册实例为静态就可以解决了
langke93 2008-06-05
  • 打赏
  • 举报
回复
怎么都没人解决?
java.lang.Exception: Listener refused the connection with the following error:
ORA-12519, TNS:no appropriate service handler found
The Connection descriptor used by the client was:
hongqi162 2007-07-24
  • 打赏
  • 举报
回复
看看TNS的服务还在不?是不是被破坏了
zujun314 2007-07-24
  • 打赏
  • 举报
回复
没有啊,在的,我重启服务又可以正常运行的,只是运行时间长了就出现上面的问题了

17,140

社区成员

发帖
与我相关
我的任务
社区描述
Oracle开发相关技术讨论
社区管理员
  • 开发
  • Lucifer三思而后行
  • 卖水果的net
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧