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 > I need Help for Connect To DB2 with JDBC

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-09-06, 11:06
mmmike6 mmmike6 is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
I need Help for Connect To DB2 with JDBC

I'd like to know why I Have this problem.

The DB2 v 5.10 is in a IBM OS/390

I know the IP, PORt, DBNAME and I'd like to connect to DB2 with my windows XP using JDCB from IBM.

I use JDBC Universal for DB2 type 4.

Class.forName("com.ibm.db2.jcc.DB2Driver");
Url = "jdbc:db2://IP:PORT/BDNAME";

DriverManager.getConnection.... (url, user, pass)..

If I execute this, I have next problem

SQL state = null
Error code = -4499
There is no available conversion for the source code page, 1208, to the target code page, "". DB2ConnectionCorrelator: null

Why is this?

Finally, the web application will running in a AIX IBM with machine, It could be that this machine (aix) can connect with the IBM OS/390 with JDBC for iBM?

Thankss!!!
Reply With Quote
  #2 (permalink)  
Old 03-09-06, 11:47
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Use IBM JVM
Reply With Quote
  #3 (permalink)  
Old 03-10-06, 04:06
mmmike6 mmmike6 is offline
Registered User
 
Join Date: Mar 2006
Posts: 3
It happens equal

Quote:
Originally Posted by n_i
Use IBM JVM
I using IBM JVM with eclipse on my windows XP and the error is equal
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