Using LOGGING_CONFIG: -Djava.util.logging.config.file=/../../forgerock/openidm/conf/logging.properties
[15] Jan 17, 2020 9:53:37.157 PM org.forgerock.openidm.config.logging.LogServiceTracker logEntry
SEVERE: Bundle: org.forgerock.openidm.repo-jdbc [8] FrameworkEvent ERROR
org.apache.felix.log.LogException: org.osgi.framework.BundleException: Activator start error in bundle org.forgerock.openidm.repo-jdbc [8].
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2290)
at org.apache.felix.framework.Felix.startBundle(Felix.java:2146)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1373)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.felix.log.LogException: java.lang.RuntimeException: Failed to load class of driverClassName com.mysql.jdbc.Driver
at com.zaxxer.hikari.HikariConfig.setDriverClassName(HikariConfig.java:323)
at org.forgerock.openidm.datasource.jdbc.impl.HikariCPDataSourceFactory.newInstance(HikariCPDataSourceFactory.java:33)
at org.forgerock.openidm.datasource.jdbc.impl.JDBCDataSourceService.initDataSourceService(JDBCDataSourceService.java:133)
at org.forgerock.openidm.datasource.jdbc.impl.JDBCDataSourceService.newInstance(JDBCDataSourceService.java:124)
at org.forgerock.openidm.datasource.jdbc.JDBCDataSourceServiceFactory.newInstance(JDBCDataSourceServiceFactory.java:128)
at org.forgerock.openidm.repo.jdbc.impl.Activator.start(Activator.java:68)
at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
at org.apache.felix.framework.Felix.activateBundle(Felix.java:2240)
... 4 more
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver not found by org.forgerock.openidm.datasource [6]
at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1639)
at org.apache.felix.framework.BundleWiringImpl.access$200(BundleWiringImpl.java:80)
at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2053)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.zaxxer.hikari.HikariConfig.setDriverClassName(HikariConfig.java:318)
... 11 more
Cause:
you forgot to copy mysql .jar files under openidm/bundle
copying will fix this error
No comments:
Post a Comment