ora-12519

Spring connection pooling issue

[亡魂溺海] 提交于 2019-12-07 09:04:08
问题 I'm not experienced in Java and Spring. I try to write a program that uses JdbcTemplate for Data access. I use DBCP pooling, here it is: <bean id="myDataSource" class="org.apache.commons.dbcp.BasicDataSource"> <property name="driverClassName" value="oracle.jdbc.driver.OracleDriver" /> <property name="url" value="jdbc:oracle:thin:@192.168.2.7:1521:xe" /> <property name="username" value="manifesto" /> <property name="password" value="manifesto" /> <property name="initialSize" value="2" />

Why do I get this Oracle connections error? ORA-12519, TNS:no appropriate service handler found

一个人想着一个人 提交于 2019-12-02 04:27:14
问题 I'm building a JSF2 app with GlassFish, Hibernate, Spring (for transaction mgmt), and Oracle 11g. After the application has been running for a while, the app fails to query the db and I get the following error in the GlassFish log: Caused by: java.sql.SQLException: Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found This sounds like Oracle is running out of connections, but the processes in Oracle are set to 150 (which I think means it

What can cause intermittent ORA-12519 (TNS: no appropriate handler found) errors

亡梦爱人 提交于 2019-11-28 22:23:17
We are running our Junit 4 test suite against Weblogic 9 in front of an Oracle 10 database (using Hudson as a continuous integration server) and occasionally we will get an ORA-12519 crash during script teardown. However, the error is very intermittent: It usually happens for the same Test class It doesn't always happen for the same test cases (sometimes they pass) It doesn't happen for the same number of test cases (anywhere from 3-9) Sometimes it doesn't happen at all, everything passes While I can't guarantee this doesn't happen locally (when running against the same database, of course), I

What can cause intermittent ORA-12519 (TNS: no appropriate handler found) errors

爷,独闯天下 提交于 2019-11-27 21:05:24
问题 We are running our Junit 4 test suite against Weblogic 9 in front of an Oracle 10 database (using Hudson as a continuous integration server) and occasionally we will get an ORA-12519 crash during script teardown. However, the error is very intermittent: It usually happens for the same Test class It doesn't always happen for the same test cases (sometimes they pass) It doesn't happen for the same number of test cases (anywhere from 3-9) Sometimes it doesn't happen at all, everything passes