Hi,

I am trying to index a DB (using SOLR) with JDBC:ODBC bridge driver but
getting the below mentioned error

org.apache.solr.handler.dataimport.DataImportHandlerException: Could not
load driver: {MetaMatrix ODBC} Processing Document # 1

Caused by: java.lang.ClassNotFoundException: Unable to load {MetaMatrix
ODBC} or
 org.apache.solr.handler.dataimport.{MetaMatrix ODBC}
        at
org.apache.solr.handler.dataimport.DocBuilder.loadClass(DocBuilder.java:964)
        at
org.apache.solr.handler.dataimport.JdbcDataSource.createConnectionFactory(JdbcDataSource.java:112)
        ... 12 more
Caused by: org.apache.solr.common.SolrException: Error loading class
'{MetaMatrix ODBC}'

The datasource configuration used by me in DIH

 <dataSource driver="{MetaMatrix ODBC}" url="jdbc:odbc:Driver={MetaMatrix
ODBC};Database=MMOdbcServer;PROTOCOL=mm;ADDRESS=;MMPRT=;VDB=AIT;VDBVERSION=1;PORT=1706"/>

Please find below the JDBC:ODBC URL provided by DB vendor

jdbc:odbc:Driver={MetaMatrix
ODBC};Database=MMOdbcServer;PROTOCOL=mm;ADDRESS=sluxtech08;MMPRT=32000;VDB=DesignTimeCatalog;VDBVERSION=1;PORT=1706

Can someone help me out in forming the proper datasource URL / configuring
driver files for using JDBC:ODBC driver with DIH?

Thanks,
Barani

-- 
View this message in context: 
http://n3.nabble.com/DIH-Unable-to-connect-to-a-DB-using-JDBC-ODBC-bridge-tp686781p686781.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to