aspose file tools*
The moose likes JBoss/WildFly and the fly likes Error in DB2 connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Reply locked New topic
Author

Error in DB2 connection Pooling

damodaran puliyassery
Greenhorn

Joined: Dec 17, 2009
Posts: 13
I modify the db2-ds.xml file and put it in server/default/deploy folder.The file is

then i write J2EE code as

then
i got an error in eclipse as



I have to do any more changes?Why this error??Somebody please help......

thanks in advance....
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10213
    
166

Caused by: java.lang.ClassNotFoundException: COM.ibm.db2.jdbc.app.DB2Driver


This says it all. Have you placed the DB2 JDBC driver jar file in JBOSS_HOME/server/<servername>/lib folder?

[My Blog] [JavaRanch Journal]
damodaran puliyassery
Greenhorn

Joined: Dec 17, 2009
Posts: 13
Sir i am not copied that file.
Where that file is located??
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10213
    
166

Damodaran,

Please do not create more than one topic for the same question. I'm closing this one. Please continue the discussion in your other thread here http://www.coderanch.com/t/476484/JBoss/java-lang-ClassNotFoundException-COM-ibm
 
Consider Paul's rocket mass heater.
 
subject: Error in DB2 connection Pooling