Re: odbc.ini configuration

Nick Gorham <[email protected]>
Newsgroups gmane.comp.db.unixodbc.devel
Message-ID <[email protected]>
Marco Vieira wrote:

>Yes.
>
>[ODBC][4511][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_to_jarFile.jar] ret = -1
>  
>

Just tried exactly what you have and it seems to work fine,

All I can suggest is try 2.2.13pre, as there may be a change I have 
forgotton in there, and if that still fails, then edit 
DriverManager/__attribute.c abd add some debug in __set_local_attribute 
after the putenv to displat errno and see just why its failing.

-- 
Nick
_______________________________________________
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.