Re: orbix-corba problems with Informix
Posted in 1998
Topics: Connectivity: ODBC / JDBC / .NET, Connectivity: ESQL/C, 4GL & Embedded SQL, Platform-Specific Issues, Java & JDBC Development
I think it may be that the thread that creates the connection needs to be the thread that uses the connection. This seems to be the case with the JDBC driver. alobor@my-dejanews.com wrote: : Hi, I'm developing a Corba Server (orbix), that is accessing a Informix : Database (V 7.1). I'm working with the ESQL Precompiler for C. All components : run on SUN Solaris 2.5 . When I access the Database in test programm, : everything works fine. But when I'm trying to access the Informix database : from my Corba-Server, creating a connection works two times, and the third : time the Connect Clause (EXEC SQL connect to DBNAME -> the function behind : ist _iqconnect) stops and the whole Server is blocked. I'm compiling the : Functions that contain the Embedded SQL Code first with the ESQL Precompiler, : then with the C-Compiler, the Server with the C++ Compiler and I'm linking : with the ild in the dynamic mode and using the non-thread safe libraries from : informix (because I'm using the Server in persistent mode). I'm using the : same Compilers to create the test programm, that works. : Does anybody know, if there are known problems with orbix-corba and Informix. : And why does it work a few times and what does it mean, when the _iqconnect : function doesn't return. : Thanks for every answer : :-) Alen : -----== Posted via Deja News, The Leader in Internet Discussion ==----- : http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum -- ***************************************************************** * Wyan H. Jow * * "I remember how, in college I got that part-time job as a * * circus clown and the children would laugh and laugh at me. * * I vowed, then and there, that I would get revenge." * * - Jack Handey * *****************************************************************