I am using KNIME since 3 years. I use also the database Connection to Oracle database without Problem. Now I get this error message:
ERROR Database Reader 0:496:330 Execute failed: Maximum number of retries to get a valid connection reached
Configuration did not Change, database Routing is ok. My KNIME Installation is up to date! I Need urgently your advice!!!
Well I figured also this out. I am not sure, if I reset completely to an older Version, I may get Troubles with other nodes. Maybe I have to do for the meantime a Workaround and separate the data acquisition and data Analysis. Anyway I am looking Forward to get Feeback from the developers if this is a programming bug or not and how to deal with that, and when is this going to be fixed. Working Database Connections are vital for analytical Platforms!
Can you send us the relevant part from your knime.log, please? Especially when it comes to databases there are so many things that can go wrong and the log file contains more information than just the message.
However, I can confirm that there was a change in 3.5.3 in that direction that solved a problem with another database. It’s possible that it had some undesired side-effect on Oracle, though.
if it turns out to be a fault with 3.5.3, will it be possible to re install 3.5.2? I have reinstalled 3.4, which is missing some functionality that I like.
Can you do a fresh restart, then only execute the Database Reader and post the contents of the log file since the restart? At the beginning there is more information about how the nodes determine whether the connection is still alive, for example.
Hi together, I have been always updating KNIME whenever I started the Platform, and never let updates pending. The release 3.5.3 is dated 4th April. My last working Oracle query was in 5th March, then after being out of Office restarted yesterday - of Course with update - then Oracle queries didn’t work.
I’m on 3.5.3 and not having any issue with oracle connection.
The issue is most likely your driver file. i’m using ojdbc6.jar and this also works with connection to oracle 10. ojdbc14 tells by the version number it was made for JDK 1.4 (or 4 by new versioning) so it’s very outdated and probably causes this issue due to Java / JVM incompatibility. Update the driver and it will almost certainly work again.
Hey, it works! GREAT JOB! THANX alot! Very important - although I think already known - after configuring the ojdbc6.jar Driver into the preferences the platform must be restarted for the Change to take place. Maybe this is helpful that KNIME Team may place/publish such Information.
This also explain why we didn’t see any problems in our test. We are also using the ojdbc6.jar driver and that indeed works without problems.
The problems seems to be that the old driver doesn’t understand “SELECT 1” which we use to check whether the connection is still valid.