odbc.ini configuration
"Marco Vieira" <[email protected]>
| Newsgroups | gmane.comp.db.unixodbc.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi all,
Could some one help me solving this problem.
in my odbc.ini I'm trying to add the following parameter:
*DMEnvAttr = SQL_ATTR_UNIXODBC_ENVATTR={CLASSPATH=/path_for_jar/jarFile.jar}
*
When i use "*isql DEMOBRIDGE*" to test my driver on the trace file a get
this msg that says that is missing a class from the jarFile.jar.
*[ODBC][3855][SQLConnect.c][3576]
Entry:
Connection = 0x8050380
Server Name = [DEMOBRIDGE][length = 12 (SQL_NTS)]
User Name = [NULL]
Authentication = [NULL]
ENV ATTR [SQL_ATTR_UNIXODBC_ENVATTR=$CLASSPATH=**
/path_for_jar/jarFile.jar**] ret = -1*
I've also put jarFile.jar in the jvm that is defined in odbcinst.ini
(JvmPath), located in:
a) /path_to_jre/lib
b) /path_to_jre/lib/ext
When testing my driver with isql got the same error in my driver log:
*Root exception is java.lang.ClassNotFoundException:......*
Thanks in advance for your time.
Best Regards
_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev