我也想知道啊,我想应该还是出现在程序上吧。
但检查,所有用数据库的地方都已经关闭了呀!
processes我都设置成300啦

解决方案 »

  1.   

    程序运行行出现: java.lang.NullPointerExceptioin 此时用sqlplus连接数据库时出现如下提示
    maximum number of processes (300) exceeded
      

  2.   

    你的程序本身设计有问题?
    是cs结构?有多少用户在使用?
    是不是打开了N个窗口?
      

  3.   

    你应该有一个CallableStatment,没有关掉,你关掉试试
      

  4.   

    CallableStatment是什么地方呢,应该如何关掉?我的程序是cs结构
    jsp+java(class)
    测试时只有我自己用,就打开一个窗口!
      

  5.   

    你写java程序的
    自己创建一个数据库连接
    不知道要关闭它?
      

  6.   

    已经关啦呀 public void closeConnection() throws Exception{ try{
    if(this.stmt != null){
    this.stmt.close(); }
    if(this.connection != null){
    this.connection.close(); }
                       this.print("Close Connection is ok!");
    }catch(Exception e){
    this.setLastError(e.getMessage());
    this.printError();
    throw e;
    }
    }
      

  7.   

    难道你的程序中没有对数据库操作吗?有的话你不建立一个CallableStatment吗?
      

  8.   

    用的是Statement啊
    他和CallableStatment有什么区别呀