我们使用的是 Worklight 6.0,Oracle 11.2.0.3。我们正在使用 Tomcat 服务器 7.0.42 我们正在使用 ojdbc6.jar 文件
我们间歇性地收到以下错误
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'worklight-direct' defined in URL [jar:file:/u01/apps/apache-tomcat-7.0.42/lib/worklight-jee-library.jar!/conf/spring-server-core.xml]:
Invocation of init method failed; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Listener refused the connection with the following error: ORA-12516, TNS:listener could not find available handler with matching protocol stack
我们确保在 tomcat context.xml 文件中,通过将 removeAbandoned
设为“true”并将 removeAbandonedTimeout
设为“true”,在连接空闲 60 秒后删除已放弃的数据库连接60"
供您引用,Oracle DB 中 PROCESSES
的值设置为“1000”
能否请您告诉我为什么我们会间歇性地收到 ORA-12516
错误,为了解锁我们正在退回数据库。
我们是否在 Worklight 配置中遗漏了允许关闭数据库连接的内容。根本原因可能是什么。
最佳答案
用户退回数据库后,问题没有发生。所以反弹数据库。
关于oracle - Worklight 间歇性地抛出 ORA-12516,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22412181/