javax.jdo.JDOFatalDataStoreException: No valid java.sql.Connection instances could be obtained from the DataSource It is happening sort of unpredictably. (I will try and get a better stack trace and repost.) We are using Oracle (8i) and I have tried artificially forcing kodo to not be able to obtain a connection in two ways: 1) by setting javax.jdo.option.MaxPool=1 javax.jdo.option.MsWait=0 but this just results in a different exception: A connection could not be obtained in the specified login time of 0 seconds.

Oracle Community | 3004 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    no valid connection instance

    Oracle Community | 1 decade ago | 3004
    javax.jdo.JDOFatalDataStoreException: No valid java.sql.Connection instances could be obtained from the DataSource It is happening sort of unpredictably. (I will try and get a better stack trace and repost.) We are using Oracle (8i) and I have tried artificially forcing kodo to not be able to obtain a connection in two ways: 1) by setting javax.jdo.option.MaxPool=1 javax.jdo.option.MsWait=0 but this just results in a different exception: A connection could not be obtained in the specified login time of 0 seconds.

    Root Cause Analysis

    1. javax.jdo.JDOFatalDataStoreException

      No valid java.sql.Connection instances could be obtained from the DataSource It is happening sort of unpredictably. (I will try and get a better stack trace and repost.) We are using Oracle (8i) and I have tried artificially forcing kodo to not be able to obtain a connection in two ways: 1) by setting javax.jdo.option.MaxPool=1 javax.jdo.option.MsWait=0 but this just results in a different exception: A connection could not be obtained in the specified login time of 0 seconds.

      at com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore()
    2. com.solarmetric.kodo
      SQLExceptions.throwDataStore
      1. com.solarmetric.kodo.impl.jdbc.runtime.SQLExceptions.throwDataStore(SQLExceptions.java:64)
      1 frame