[midPoint] Message Configuration error: JDBC Driver is not found on classpath

Sven Lukrafka sven.lukrafka at daasi.de
Wed Mar 24 14:30:57 CET 2021


Hello Keith,

you might want to use "oracle.jdbc.driver.OracleDriver" instead of 
"oracle.jdbc.OracleDriver".


Best regards,

Sven


Am 24.03.21 um 14:23 schrieb Keith LeValley via midPoint:
> I am having trouble trying to connect to an Oracle database using the 
> Database table connector v1.4.4.0
>
> I have already downloaded the ojdbc8.jar file and have placed it in 
> the locations below:
>
> [root at midPointDemo var]# find / -name ojdbc8.jar
> /opt/midpoint-4.2/var/lib/ojdbc8.jar
> /opt/midpoint-4.2/var/ojdbc8.jar
> /opt/midpoint-4.2/lib/ojdbc8.jar
>
> -----------------------------------------------------------------------------
> Below is my service file that I use to run midpoint:
>
> [Unit]
> Description=MidPoint Standalone Service
> [Service]
> User=midpoint
> WorkingDirectory=/opt/midpoint-4.2
> ExecStart=/usr/bin/java -Xmx2048m 
> -Dmidpoint.home=/opt/midpoint-4.2/var -jar 
> /opt/midpoint-4.2/lib/midpoint.war
> SuccessExitStatus=143
> [Install]
> WantedBy=multi-user.target
>
> ---------------------------------------------------------------------------------
> This is the config I am using for the class path
>
> <gen699:jdbcDriver>oracle.jdbc.OracleDriver</gen699:jdbcDriver>
>
> I have also tried oracle.jdbc,driver.OracleDriver and neither are 
> working.  The error I am getting is:
>
> Operation
>     ICF schema
> Message
>     Configuration error: JDBC Driver is not found on classpath.
>
> Context
>     connector 	[class
>     org.identityconnectors.framework.impl.api.local.LocalConnectorFacadeImpl]
>
>
> Error
>     Configuration error: JDBC Driver is not found on classpath.
>     show
>     com.evolveum.midpoint.util.exception.ConfigurationException:
>     Configuration error: JDBC Driver is not found on classpath.
>
>
>
> Not really sure where to troubleshoot from here.  My assumption is the 
> ojdbc8.jar file isn't getting picked up by midpoint but I have tried 
> placing it every location I can think off where midpoint might look, 
> any suggestions or help would be appreciated.
>
> PS- I did cat the jar and it is in fact a binary file, I have 
> restarted both the service and the server itself multiple times, and I 
> changed the ownership of the jar to the midpoint service account just 
> to ensure it wasn't a strange permissions issue.
>
> -- 
> Keith LeValley
> Identity Services Architect, Davenport University
> phone:  (616) 732-1102
> klevalley2 at davenport.edu
> <mailto:klevalley2 at davenport.edu>
>
> _______________________________________________
> midPoint mailing list
> midPoint at lists.evolveum.com
> https://lists.evolveum.com/mailman/listinfo/midpoint
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20210324/12c4ed1d/attachment.htm>


More information about the midPoint mailing list