I've been trying to get DomSQL to work without success. The demo page fails and this goes into the trace log..
CLFAD0271W: Could not create an instance of com.ibm.domino.domsql.DomSQLDriverProvider, contributed to the extension point com.ibm.commons.Extension with type com.ibm.common.jdbcprovider. org.eclipse.core.runtime.CoreException: Plug-in com.ibm.domino.domsql.driver was unable to load class com.ibm.domino.domsql.DomSQLDriverProvider. at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180) at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:162) at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:867) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51) at com.ibm.commons.extension.ExtensionManager$EclipseProvider.findInitializer(ExtensionManager.java:326) at com.ibm.commons.extension.ExtensionManager.loadServices(ExtensionManager.java:243) at com.ibm.commons.extension.ExtensionManager.findServices(ExtensionManager.java:177) at com.ibm.commons.extension.ExtensionManager.findServices(ExtensionManager.java:211) at com.ibm.commons.jdbc.drivers.EclipsePlatformService.getJDBCProviders(EclipsePlatformService.java:77)
If I import the source code directly into the nsf the class DomSQLDriverProvider
won't compile because if can't find the interface com.ibm.commons.jdbc.drivers.JDBCProvider
which I guess is the root problem.
So the question is where should the JDBCProvider
interface be coming from?
- Default server install?
- OpenNTF version of Extlib?
- ExtLib X
- Another plugin?
I'm running Domino 9.01 with latest version of Extlib from openntf
Am assuming this interface is fundamental with any kind of jdbc use with xpages so must be somewhere
NB: I've also done a search in the src of the ExtLib and can't find it in there either.
Is it a legacy 8.5.3 thing for jdbc which is now done differently in 9.01? DomSQL is a project originally created when 8.5.3 was current
Cheers!
com.ibm.commons.jdbc_VERSION
in the domino osgi folder for the server and in the framework folder for Notes. – Serdar Basegmez