Configuration Problem with oracle database

Taher Alzahrani6 years ago
<entry key='database.driverFile'>C:\Program Files\Traccar\lib\ojdbc7.jar</entry>
<entry key='database.driver'>oracle.jdbc.OracleDriver</entry>
<entry key='database.url'>jdbc:oracle:thin:trcaa/trcaa@localhost:1521:trc</entry>
<entry key='database.user'>trcaa</entry>
<entry key='database.password'>trcaa</entry>
ssLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader - ClassCastException (DataManager:106 < *:90 < Context:382 < Main:110 < ...)
2018-10-31 10:24:58 ERROR: Main method error - java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader - ClassCastException (DataManager:106 < *:90 < Context:382 < Main:110 < ...)
2018-10-31 10:32:26 ERROR: Main method error - java.base/jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to java.base/java.net.URLClassLoader - ClassCastException (DataManager:106 < *:90 < Context:382 < Main:110 < ...)

We tried to configure traccar with oracle database using all this jar files :
ojdbc5 – ojdbc6 - ojdbc7 – ojdbc14
but there same problem in log file

database version: oracle 11g r2 enterprise edition
database working without any problems and the connection is correct

log file and configuration file attached

we need support to solve this issue by sending configuration file with oracle database

thanks a lot

Taher Alzahrani6 years ago
Anton Tananaev6 years ago

There is no need to duplicate your questions. Continue discussion on GitHub. In future please don't create two threads.

ANJUM SOHAIL5 years ago

I have the same issue. Plz help no solution

Nitish Khadaria5 years ago