Re: odbc.ini configuration

"Marco Vieira" <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
The $ came from test that I've made. In fact I've tested with and without
the $, same result.

Any more ideas!?

2008/10/16 Nick Gorham <[email protected]>

> Marco Vieira wrote:
>
>  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*
>>
>>  Hi,
>
> the -1 indicates that it failed to set the value. So for example:
>
>       DMEnvAttr       =
> SQL_ATTR_UNIXODBC_ENVATTR={ORACLE_HOME=/home/nick/product/9.2.0/}
>
> Shows in the log file
>
>       ENV ATTR
> [SQL_ATTR_UNIXODBC_ENVATTR=ORACLE_HOME=/home/nick/product/9.2.0/] ret = 0
>
> I would check where the $ has come from
>
> --
> Nick
> _______________________________________________
> unixODBC-dev mailing list
> [email protected]
> http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
>



-- 
Melhores Cumprimentos,

Marco António Vieira

PS:
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.
Dificulta a propagação de Vírus, Spams e Banners. É para o bem de todos nós.

_______________________________________________
unixODBC-dev mailing list
[email protected]
http://mailman.unixodbc.org/mailman/listinfo/unixodbc-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.