473,396 Members | 2,158 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,396 software developers and data experts.

IBM DB2 Universal driver (JCC) not found

Hi ,

I am trying to connect to my database through the development centre.
In the database connection wizard i m using the followin information

Driver : IBM DB2 universal type 2

Database name

location : jdbc:db2:databasename

Driver Class: com.ibm.db2.jcc.DB2Driver


When i try to connect to the database it shows an error message stating that

connection to database failed
IBM DB2 universal driver (JCC) not found.


Please suggest some solution over this.
Have i missed something in the db2 installation ?



Thanks&Regards
Abhijeet
Feb 8 '06 #1
4 11002
I assume you did not set the environment variable correctly.Pls check the "CLASSPATH" variable on Windows and run you java application with -cp variable on Unix.
For example:
java -cp {DB2HOME}/sqllib/java/db2jcc.jar JavaClassName
Try it.
Feb 9 '06 #2
I assume you did not set the environment variable correctly.Pls check the "CLASSPATH" variable on Windows and run you java application with -cp variable on Unix.
For example:
java -cp {DB2HOME}/sqllib/java/db2jcc.jar JavaClassName
Try it.
what should be there in the java class path and class name.
is it the same you have given above or it is system dependent.
Oct 3 '08 #3
hi

i can't understand what is 'Development centre',.... but i'm using eclipse in that i simple include(import) the mentioned file(mentioned in post #2) to my project... after that it won't tell an error message
(before that me too had the same problem in eclipse.)
Oct 4 '08 #4
Ok if you are using eclipse for to excute Jython there are a few things to need to do.

Right click on your project and select properties in the list
Then click on PyDev - PythonPath
in the box for External Source Folders
Add db2jcc.jar and
Add db2cc_license_cr.jar filles
and click ok.
Jun 19 '09 #5

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

Similar topics

6
by: Janick | last post by:
Is there any possibility to override the application name shown using "db2 list applications" in the new Universal Driver. The default "db2jcchttp8443..." is not very meaningful. Regards -...
0
by: aj | last post by:
DB2 v8 FP5 Red Hat AS/EL 2.1 I am specifying properties for a DB2 Universal JDBC Driver connection in my Java/JDBC app by creating a java.util.Properties object and passing it along in my...
0
by: Joe | last post by:
Hi, If I want to connect to a datasource on z/OS using the Universal Driver and use 2PC, do I have to craft the DB2 address url the Type 2 way? Can I use type 4 connectivity? Thx Joe
2
by: klh | last post by:
I am working with my developer group to switch from the type 2 to the type 4 (Universal Driver). Our set up is: Host Data Base - DB2 z/os v7.1 (mainframe). Client - DB2 Admin Client V8 FP8...
1
by: sbanil | last post by:
We have a JAVA application which uses following Database product name : DB2 Database product version : DSN07012 JDBC driver name : IBM DB2 JDBC Universal Driver Architecture JDBC driver version ...
5
by: eholz1 | last post by:
Hello Newsgroup, I have "installed" pdo using "pecl install pdo" (it intalled version 1.0.3), I have added the line "extension=pdo.so" to my php.ini file, but when I try to use the PDO db ...
0
by: sara1231 | last post by:
Hi, Unable to connect to DB2 UDB v7.2 using JDBC Universal driver 4. com.ibm.db2.jcc.b.SqlException: DB2 SQL error: SQLCODE: -805, SQLSTATE: 51002, SQLERRMC: NULLID.SYSSH200 Please help as...
4
by: Kirk Wolf | last post by:
I apologize if this is available in a FAQ somewhere. My question is this: The DB2 Universal Driver jars are shipped with DB2 for z/OS (db2jcc.jar and db2jcc_license_cisuz.jar). If a developer...
0
by: milivoj.fradelic | last post by:
Hi! I have following actions: for each file do begin transaction parse file to temp table insert into table from temp table --insert into main select * from temp commit
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.