<div dir="ltr">The $ came from test that I've made. In fact I've tested with and without the $, same result.<br><br>Any more ideas!?<br><br><div class="gmail_quote">2008/10/16 Nick Gorham <span dir="ltr"><<a href="mailto:nick@lurcher.org">nick@lurcher.org</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Marco Vieira wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
Hi all,<br>
<br>
Could some one help me solving this problem.<br>
<br>
in my odbc.ini I'm trying to add the following parameter:<br>
<br>
*DMEnvAttr = SQL_ATTR_UNIXODBC_ENVATTR={CLASSPATH=/path_for_jar/jarFile.jar}*<br>
<br>
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.<br>
<br>
*[ODBC][3855][SQLConnect.c][3576]<br>
Entry:<br>
Connection = 0x8050380<br>
Server Name = [DEMOBRIDGE][length = 12 (SQL_NTS)]<br>
User Name = [NULL]<br>
Authentication = [NULL]<br></div>
ENV ATTR [SQL_ATTR_UNIXODBC_ENVATTR=$CLASSPATH=**/path_for_jar/jarFile.jar**] ret = -1*<br>
<br>
</blockquote>
Hi,<br>
<br>
the -1 indicates that it failed to set the value. So for example:<br>
<br>
DMEnvAttr = SQL_ATTR_UNIXODBC_ENVATTR={ORACLE_HOME=/home/nick/product/9.2.0/}<br>
<br>
Shows in the log file<br>
<br>
ENV ATTR [SQL_ATTR_UNIXODBC_ENVATTR=ORACLE_HOME=/home/nick/product/9.2.0/] ret = 0<br>
<br>
I would check where the $ has come from<br><font color="#888888">
<br>
-- <br>
Nick<br>
_______________________________________________<br>
unixODBC-dev mailing list<br>
<a href="mailto:unixODBC-dev@mailman.unixodbc.org" target="_blank">unixODBC-dev@mailman.unixodbc.org</a><br>
<a href="http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev" target="_blank">http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Melhores Cumprimentos,<br><br>Marco António Vieira<br><br>PS:<br>Não mostre aos outros os endereços electrónicos dos teus amigos, apaga-os e use "Bcc" ou "Cco" (cópia oculta), para os reenvios. <br>
Dificulta a propagação de Vírus, Spams e Banners. É para o bem de todos nós.<br>
</div>