wood burning stoves 2.0*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 9953
    
161

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: 9953
    
161

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in DB2 connection Pooling
 
Similar Threads
Connection Pooling in JBoss v5.0 with IBM DB2
JBOSS and Mysql
Problem oin connecting Oracle database in JBOSS AS 4.2.3
Exception thrown javax.naming.NameNotFoundException: DefaultDS not bound
Need help to setup datasource for AS/400