nv-l

RE: [nv-l] TDW Daemon failed to open a connection to the database

2006-05-23 11:30:50
Subject: RE: [nv-l] TDW Daemon failed to open a connection to the database
From: Palkovics László <lpalkovics AT pcs DOT hu>
To: <nv-l AT lists.us.ibm DOT com>
Date: Tue, 23 May 2006 17:28:12 +0200
I have the db2java.zip file in C:\Program Files\IBM\SQLLIB\java folder. 
NetView is running on a Windows 2003 Server Standard SP1. CLASSPATH environment 
variable was set by 
the DB2 Client installer and looks like:
 
.;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar
;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc_license_cu.jar;C:\PROGRA~1\IBM\SQLLIB\bin;C:
\PROGRA~1\IBM\SQLLIB\tools\db2XTrigger.jar;C:\PROGRA~1\IBM\SQLLIB\java\common.jar

________________________________

Feladó: owner-nv-l AT lists.us.ibm DOT com meghatalmazó: Gareth Holl
Küldve: 2006. 05. 23., K 17:10
Címzett: nv-l AT lists.us.ibm DOT com
Tárgy: Re: [nv-l] TDW Daemon failed to open a connection to the database



Looks like a driver problem....tdwdaemon cannot find the db2java.zip file. 

Did you include the Java component when you installed the DB2 Client ?  Look 
for a file called db2java.zip. 

Make sure the  db2java..zip file shows up in your CLASSPATH. And make sure the 
CLASSPATH is apart of your NetView environment, in other words the daemons are 
started from a shell where the CLASSPATH is correctly set. 


Gareth 





"Usman Taokeer" <usman.taokeer AT gmail DOT com> 
Sent by: owner-nv-l AT lists.us.ibm DOT com 

05/23/2006 10:27 AM 
Please respond to
nv-l


To
nv-l AT lists.us.ibm DOT com 
cc
Subject
Re: [nv-l] TDW Daemon failed to open a connection to the database       

                




Have u catalouged the Database??

On 5/23/06, Palkovics László <lpalkovics AT pcs DOT hu <mailto:lpalkovics AT 
pcs DOT hu> > wrote: 
I would like to use NetView 7.1.4 with a Remote DB2 8.2 FP10. I installed 
DB2 client 8.2 on the NeView server. I made a DB2 connection test with 
Configuration Assistant and it was successfull . Nvconfiguredb2.bat is able 
to create the remote NETVIEW database. After the creation, tdwdaemon is 
not running. Do you have any idea? 
The error message in tdwdaemon.log: 
  
[main] INFO  com.tivoli.netview.tdw.TDW_Daemon  - TDW Daemon is initializing...
[main] DEBUG com.tivoli.netview.tdw.DbHelper  - initializeDatabaseConnections 
Method Entry.
[main] ERROR com.tivoli.netview.tdw.DbHelper  - TDW Daemon failed to open a 
connection to the database. java.sql.SQLException: No suitable driver
java.sql.SQLException: No suitable driver
at java.sql.DriverManager.getConnection (DriverManager.java:559)
at java.sql.DriverManager.getConnection(DriverManager.java:189)
at com.tivoli.netview.tdw.DbHelper.initializeDatabaseConnections(Unknown Source)
at com.tivoli.netview.tdw.DbHelper.<init>(Unknown Source) 
at com.tivoli.netview.tdw.TDW_Daemon.main(Unknown Source) 


<<winmail.dat>>