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 > DB2 > DB2 import from java application error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-10-04, 07:19
Reist Reist is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
Question DB2 import from java application error

Hi
I have a problem to import russian words to db2 database from java application.
My db2 server is on AIX platform , locale is en_US , database is in UTF-8 codeset. My application uses JDBC driver to access to db2
Wnen i try to submit from Windows workstation some browser fields in russian encoding (ISO-8859-5,all UTF-8 codepages are also supported by OS) an error occurs:
com.ibm.mm.beans.CMBException: [IBM][CLI Driver][DB2/6000] SQL1131N DARI (Stored Procedure) process has been terminated abnormally. SQLSTATE=38503

COM.ibm.db2.jdbc.DB2Exception: [IBM][CLI Driver][DB2/6000] SQL1131N DARI (Stored Procedure) process has been terminated abnormally. SQLSTATE=38503

At the same time i can manualy fill db2 cells with russian words. So it seems that java can't interpret the words.
Can anybody say that does this error mean? Or give me advise how to test a "link" CLIENT BROWSER-APACHE-JAVA-DB2 to localize the encoding problem. May be you have a working test jsp?
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