org.apache.openjpa.persistence.PersistenceException: Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found

openjpa-users | Chris Wolf | 4 years ago
  1. 0

    Running out of JDBC connections with openjpa-2.1.0 + Oracle-11g

    openjpa-users | 4 years ago | Chris Wolf
    org.apache.openjpa.persistence.PersistenceException: Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found
  2. 0

    WebSphere:WebSphere Application Server:Error setting up a Datasource for Oracle 9i in WAS 7.0.0.19 - WebSphere Application Server Forum

    ibm.com | 10 months ago
    java.sql.SQLException: The Network Adapter could not establish the connectionDSRA0010E: SQL State = 61000, Error Code = 20
  3. 0

    jdbc connection refused while configuring in hibernate

    Stack Overflow | 3 years ago | user3199285
    org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Tomcat oracle wallet configuration. How to add oraclepki.jar to classpath

    Stack Overflow | 1 year ago | Lahiru Chandima
    java.sql.SQLException: PKI classes not found. To use 'connect /' functionality, oraclepki.jar must be in the classpath: java.lang.NoClassDefFoundError: oracle/security/crypto/core/RSAPrivateKey
  6. 0

    hibernate_慕课问答

    imooc.com | 1 year ago
    org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect

  1. treefolk 21 times, last 2 months ago
  2. Michael 1 times, last 6 months ago
  3. Jeremy 1 times, last 6 months ago
  4. qavid 2 times, last 7 months ago
  5. Kawada 4 times, last 7 months ago
45 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. oracle.net.ns.NetException

    Listener refused the connection with the following error: ORA-12519, TNS:no appropriate service handler found

    at oracle.net.ns.NSProtocol.connect()
  2. Oracle jdbc
    OracleDriver.connect
    1. oracle.net.ns.NSProtocol.connect(NSProtocol.java:457)
    2. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1625)
    3. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:365)
    4. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:557)
    5. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:233)
    6. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:29)
    7. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:556)
    7 frames
  3. OpenJPA Aggregate Jar
    EntityManagerImpl.commit
    1. org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getSimpleConnection(SimpleDriverDataSource.java:84)
    2. org.apache.openjpa.jdbc.schema.AutoDriverDataSource.getConnection(AutoDriverDataSource.java:39)
    3. org.apache.openjpa.jdbc.schema.SimpleDriverDataSource.getConnection(SimpleDriverDataSource.java:76)
    4. org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:118)
    5. org.apache.openjpa.lib.jdbc.DecoratingDataSource.getConnection(DecoratingDataSource.java:93)
    6. org.apache.openjpa.lib.jdbc.DelegatingDataSource.getConnection(DelegatingDataSource.java:118)
    7. org.apache.openjpa.jdbc.schema.DataSourceFactory$DefaultsDataSource.getConnection(DataSourceFactory.java:304)
    8. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connectInternal(JDBCStoreManager.java:982)
    9. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:967)
    10. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:110)
    11. org.apache.openjpa.jdbc.sql.SQLExceptions.getStore(SQLExceptions.java:62)
    12. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.connect(JDBCStoreManager.java:971)
    13. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.getConnection(JDBCStoreManager.java:240)
    14. org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.getConnection(AbstractJDBCSeq.java:163)
    15. org.apache.openjpa.jdbc.kernel.NativeJDBCSeq.allocateInternal(NativeJDBCSeq.java:217)
    16. org.apache.openjpa.jdbc.kernel.NativeJDBCSeq.nextInternal(NativeJDBCSeq.java:201)
    17. org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:60)
    18. org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:160)
    19. org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:144)
    20. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:778)
    21. org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:493)
    22. org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:469)
    23. org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:762)
    24. org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:135)
    25. org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:600)
    26. org.apache.openjpa.kernel.SingleFieldManager.preFlushPC(SingleFieldManager.java:803)
    27. org.apache.openjpa.kernel.SingleFieldManager.preFlushPCs(SingleFieldManager.java:762)
    28. org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:664)
    29. org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:589)
    30. org.apache.openjpa.kernel.SingleFieldManager.preFlush(SingleFieldManager.java:505)
    31. org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:3028)
    32. org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:44)
    33. org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:1042)
    34. org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:2114)
    35. org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:2074)
    36. org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1992)
    37. org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:81)
    38. org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1516)
    39. org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:933)
    40. org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:570)
    40 frames