Exception while loading DB2 driver Class.forName("com.ibm.db2.jcc.DB2Driver") | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

Exception while loading DB2 driver Class.forName("com.ibm.db2.jcc.DB2Driver")

UNIX for Dummies Questions & Answers


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 06-16-2008
Sujatha Gowda Sujatha Gowda is offline
Registered User
 
Join Date: Jun 2008
Last Activity: 16 September 2008, 1:10 AM EDT
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Exception while loading DB2 driver Class.forName("com.ibm.db2.jcc.DB2Driver")

Hi...

I m working on UNIX z/OS. Actually i have to pass the parameters from the JCL to java-db2 program thru PARM. I am able to pass the arguments but the problem occured is, it is throwing an exception while loading the db2 driver as 'Javaclassnotfound:com.ibm.db2.jcc.DB2Driver' eventhough the CLASSPATH has been included in the HFS (stdin) file. Well it is working well if the parameters r not passed wherein i can connect to DB2 successfully.

Do i need to put any import statements specially related to PARM and DB2 connection??

Plz help me in this regard.... It's urgent..
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Loading ".cfg" file from different directory Sekullos Shell Programming and Scripting 4 08-13-2011 07:16 PM
awk command to replace ";" with "|" and ""|" at diferent places in line of file shis100 Shell Programming and Scripting 7 03-16-2011 08:59 AM
Handling "command not found" exception nsharath Linux 5 12-18-2008 02:29 AM
HP Tape Driver "Unknown Density" stufftiger HP-UX 2 07-27-2008 12:29 PM



All times are GMT -4. The time now is 05:31 PM.