[unixODBC-dev] odbc.ini configuration

Marco Vieira vieira.marco at gmail.com
Thu Oct 16 20:00:56 BST 2008


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-dev/attachments/20081016/1bea7ce7/attachment.html>


More information about the unixODBC-dev mailing list