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

JDBC Driver Failure

Any information you may have on why this error would be occurring would
be greatly appreciated!!

DBD: ERROR:DBD07001:JDBC jar/zip not found in the drivers directory
DBD: ERROR:ERROR: Loading drivers : com.ibm.db2.jcc.DB2Driver
DBD: ERROR:ClassNotFoundException: com.ibm.db2.jcc.DB2Driver

Running DB2 Admin Client 8.1.0.0 on Solaris OS against DB2 Server 8.1
FixPak 9 on Windows. Test and Dev enviroments. The Test Environment
works perfect. The dev environment client gets that error above when
trying to load the driver.

Here is an export of the Solaris client...

$ export
CLASSPATH=/export/home/db2inst3/sqllib/java/db2java.zip:/export/home/db2inst3/sqllib/java/db2jcc.jar:/export/home/db2inst3/sqllib/java/sqlj.zip:/export/home/db2inst3/sqllib/function:.
DB2INSTANCE=db2inst3
HOME=/home/I20880C/
LD_LIBRARY_PATH=:/export/home/db2inst3/sqllib/lib
LOGNAME=I20880C
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/export/home/db2inst3/sqllib/bin:/export/home/db2inst3/sqllib/adm:/export/home/db2inst3/sqllib/misc
PWD=/usr/od-home/OpenDeployNG/etc
SHELL=/bin/ksh
SSH_CLIENT='10.128.221.111 3466 22'
SSH_TTY=/dev/pts/1
TERM=xterm
THREADS_FLAG=native
TZ=US/Central
USER=I20880C
VWSPATH=/export/home/db2inst3/sqllib

Thanks in advance!!

Martin

Dec 2 '05 #1
2 1639
mghale wrote:
Any information you may have on why this error would be occurring would
be greatly appreciated!!


Please check if the classpath in the JVM is the classpath expected.
Maybe the startscript of your application overwrites the classpath
instead of appending the new classpath.

Bernd
Dec 2 '05 #2

Bernd Hohmann wrote:
mghale wrote:
Any information you may have on why this error would be occurring would
be greatly appreciated!!


Please check if the classpath in the JVM is the classpath expected.
Maybe the startscript of your application overwrites the classpath
instead of appending the new classpath.

Bernd


Bernd,

Thanks for the suggestion. I have asked the app team to include an
export of the environment variables prior to attempting to load the
Drivers. We'll see what they come back with. Thanks again.

Martin

Dec 5 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: JShurmatz | last post by:
If anyone can shed some light on this problem I would greatly appreciate it. I am unsuccessfully trying to use a database connnection retrieved from a pool configured using Java System Web...
0
by: Robert Mazur | last post by:
MySQL 5.0 alpha (binary install) on Solaris 9 -or- RedHat 8.0 mysql-connector-java-3.0.8-stable ----------------------- Is there something different going on with JDBC and the alpha version...
2
by: Paul Reddin | last post by:
Hi, (V8.1 Fp2) Our application uses JDBC batch to execute mutiple insert statements and we saw a strange thing this morning. There were 4 SQL Insert statements in the batch, and we know the...
0
by: Bing | last post by:
Hi, I am configuring the same DB2 v8.1 JDBC universal driver (db2jcc.jar and db2jcc_license_cisuz.jar) from DB2 SP5 fix pack under WSAD 5.1.x environment and WebSphere application Server 5.0.2...
5
by: Steffen | last post by:
hi there, i have a problem connecting to a db2 database 7.2.4 on AIX using java when running the javacode on AIX using jdk1.3.1. The classpath is correctly set to java12/... on windows the...
1
by: nielsgron | last post by:
Hi, I am using the DB2 Type 4 JDBC Driver to connect to my DB2 8.2 for Windows server. Everything works perfectly unless I have a password with the pipe character ( "|" ) in it. The server...
2
by: %NAME% | last post by:
(Thanks to Bernd, Ian, Phil last time for their detailed answers last time) Now I try to call JDBC driver without giving the username and password as they suggested. I am using DB2 jdbc on SunOS...
2
by: bevis | last post by:
I'm new to sql server and mysql but this seems like it should be a pretty straight forward jdbc connection. But I have spent almost 2 days just trying to get a jdbc connection. Please help if you...
3
by: Anoop | last post by:
Is it true that there are no type 4 jdbc drivers to connect to a DB2 server v7.1? The DB2 server is hosted on ACF2 (OS/390). We would be connecting from windows and solaris boxes. If it is true,...
0
by: Jim Kennedy | last post by:
ALL DDL does a commit. Hence Drop Table movies; issues a commit. True you don't issue a commit and the driver does not issue a commit, but the server does for all DDL. That is probably where...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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...

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.