473,413 Members | 1,700 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

Not able to connect to db2 from java

Hi All,

I am not able to connect to DB2 database from java, no matter what driver I use.

I either get
"No suitable driver found" for Class.forName("com.ibm.db2.jcc.DB2Driver");

OR

For Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");

"Exception in thread "main" com.ibm.db2.jcc.am.yn: [jcc][t4][2030][11211][3.57.82] A communication error occurred during operations on the connection's underlying socket, socket input stream,
or socket output stream. Error location: Reply.fill(). Message: Insufficient data. ERRORCODE=-4499, SQLSTATE=08001"

Thank you for your help in Advance.
Oct 25 '11 #1
0 1837

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: ebrahimbandookwala | last post by:
Hi , I am trying to connect to MS Sql server 2000 from Java (1.4.2 / 1.5 ). I installed my Sql Server(8.00.382) from the one supplied with VS.NET 2001. When I installed it on my laptop it did not...
4
by: 'Lil Laurry | last post by:
I have a problem that you may be able with java and since there is no java catergory I have to post it here, when I try to compile java source with the goto function, I try to compile it with...
0
by: sivasankarmathuraju | last post by:
Hi! I am using: Java 2 SDK 1.4.0 Standard Edition on Windows XP I have one java client application and one gateway that is in C language runing on the same machine. The server creates a...
8
by: menmysql | last post by:
i am not bale to solve this problem since two weeks i am trying to access records from mysql database using jsp. inside this jsp program i wrote all my JDBC code. it is working very nicely and...
2
by: arulkumara | last post by:
Hi i want to connect java application to oracle i'm using unix environment plz explain all details i'm beginner to unix environment
3
by: rahana | last post by:
My java programme is unable to connect to the database.. my code is this import java.sql.*; public class Stmt { public...
3
by: jcblueblade | last post by:
Hello there......? Can please help me with this problem. how to connect java to database? can give me some codes example? please.... I am new in java.....is their anyone could help out there? ...
8
by: shalinisherlin | last post by:
how to connect java with database?
1
by: devgupta01 | last post by:
prerequisite: 1. OS as XP 2. postgresql should be installed 3. postgresql-8.2-506.jdbc3.jar I followed these steps: 1. create java pragram 2. open command promt and change directory where i...
5
by: TayBill | last post by:
I have C# based webservice that is hosted in a NT service. Programmatic access to the web service is of the form: soap.tcp://localhost:11141/ProcessorWebService (The more traditional way to...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.