zoukankan      html  css  js  c++  java
  • ORA-12519, TNS:no appropriate service handler found The Connection descriptor used by the client was: localhost:1521:XE

    数据库报错:

        Caused by: 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:
        localhost:1521:XE

        操作数据库的时候报这个错误

        在StackOverflow看了国外的一些人的分析,最后解决了:

        我的解决过程:

        1.我在用mybatis操作数据库的时候session使用不当,一些session没有close

        如果你有类似问题最好检查一下你应用中是不是操作session不当,比如在某个循环里开启了session,没关闭

        2.以防万一,我还是 将oracle切换到了system用户执行  alter system set processes = 300 scope = spfile;

         然后重启数据库,这个问题就解决了

        

      

  • 相关阅读:
    pygame各个模块概述
    安装pygame
    pygame系列
    把字符串转换成整数
    不用加减乘除做加法
    求1+2+3+...+n
    孩子们的游戏(圆圈中最后剩下的数)
    翻转单词顺序列
    左旋转字符串
    和为s的两个数字
  • 原文地址:https://www.cnblogs.com/shieryuedeqiji/p/8290415.html
Copyright © 2011-2022 走看看