If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > JDBC and Informix 7.12

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-03-03, 02:26
frodo123 frodo123 is offline
Registered User
 
Join Date: Oct 2003
Location: Köln, Germany
Posts: 6
Unhappy JDBC and Informix 7.12

Hello!

I can't connect to a Informix DB V7.12 over JDBC from a IBM AIX, but it works from a WinNT-PC and a linux-maschine.
On every maschine is the same JDBC-driver, but on aix i get following error:

SQLException: Server does not support GLS variables DB_LOCALE, CLIENT_LOCALE or GL_DATE.
SQLState: IX000
Message: Server does not support GLS variables DB_LOCALE, CLIENT_LOCALE or GL_DATE.
Vendor: -79789

but no one of these variables are set!

can everybody help me?

BR
Uwe Terborg
Reply With Quote
  #2 (permalink)  
Old 11-04-03, 07:30
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Re: JDBC and Informix 7.12

Quote:
Originally posted by frodo123
Hello!

I can't connect to a Informix DB V7.12 over JDBC from a IBM AIX, but it works from a WinNT-PC and a linux-maschine.
On every maschine is the same JDBC-driver, but on aix i get following error:

SQLException: Server does not support GLS variables DB_LOCALE, CLIENT_LOCALE or GL_DATE.
SQLState: IX000
Message: Server does not support GLS variables DB_LOCALE, CLIENT_LOCALE or GL_DATE.
Vendor: -79789

but no one of these variables are set!

can everybody help me?

BR
Uwe Terborg
Hi,

Test on NT, run setnet32 and look the variables CLIENT_LOCAL and DB_LOCAL.
In the database server, test the environment variable or user variables.
By default the language of database is "en_US.819", run "SELECT * from systables where tabid = 90"
And test the lenguage of operating system with command "locale".


Gustavo.
Reply With Quote
  #3 (permalink)  
Old 11-05-03, 02:03
frodo123 frodo123 is offline
Registered User
 
Join Date: Oct 2003
Location: Köln, Germany
Posts: 6
Hello!

In tne db there is no table with the tabid=90.
On my NT-PC there is no setnet32, because i installed only the jdbc-driver.

BR
Uwe Terborg
Reply With Quote
  #4 (permalink)  
Old 11-05-03, 07:08
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Quote:
Originally posted by frodo123
Hello!

In tne db there is no table with the tabid=90.
On my NT-PC there is no setnet32, because i installed only the jdbc-driver.

BR
Uwe Terborg
Hi,

OK, You need Informix Client-SDK, version 2.80 or 2.81 or JDBC provided by Informix.

Gustavo.
Reply With Quote
  #5 (permalink)  
Old 11-05-03, 08:16
frodo123 frodo123 is offline
Registered User
 
Join Date: Oct 2003
Location: Köln, Germany
Posts: 6
Talking

Hi!

i resolved the problem! the solution is to set following variables:

LANG + LC_CTYPE.

Now it works!

Thanks!

BR
Uwe Terborg
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On