When trying to run a query in jRDC2 I am getting an error on line 36 in RDCConnector (Return pool.GetConnection). I've changed my test client code according to the documentation and setup the jdbc driver in the Additional directory. Unfortunately I can't see what's causing this.
Sample of error:
INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 20000, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 2sa4lq9snp641n12w8fwa|574caa3f, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.ibm.jtopenlite.database.jdbc.JDBCDriver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 2sa4lq9snp641n12w8fwa|574caa3f, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:jtopenlite://10.110.25.146, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1800, maxIdleTime...
Error occurred on line: 36 (RDCConnector)
java.lang.ClassCastException: java.lang.StackOverflowError cannot be cast to java.lang.Exception
at anywheresoftware.b4a.BA.setLastException(BA.java:359)
etc.
Also, on the client side I get this error:
Error: java.net.SocketTimeoutException
Sample of error:
INFO: Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 20000, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, contextClassLoaderSource -> caller, dataSourceName -> 2sa4lq9snp641n12w8fwa|574caa3f, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.ibm.jtopenlite.database.jdbc.JDBCDriver, extensions -> {}, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, forceSynchronousCheckins -> false, forceUseNamedDriverClass -> false, identityToken -> 2sa4lq9snp641n12w8fwa|574caa3f, idleConnectionTestPeriod -> 600, initialPoolSize -> 3, jdbcUrl -> jdbc:jtopenlite://10.110.25.146, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 1800, maxIdleTime...
Error occurred on line: 36 (RDCConnector)
java.lang.ClassCastException: java.lang.StackOverflowError cannot be cast to java.lang.Exception
at anywheresoftware.b4a.BA.setLastException(BA.java:359)
etc.
Also, on the client side I get this error:
Error: java.net.SocketTimeoutException
Last edited: