File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JBoss and the fly likes Error in DB2 connection Pooling Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » JBoss
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: 8141
    
  52

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: 8141
    
  52

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
Problem oin connecting Oracle database in JBOSS AS 4.2.3
Connection Pooling in JBoss v5.0 with IBM DB2
JBOSS and Mysql
Need help to setup datasource for AS/400
Exception thrown javax.naming.NameNotFoundException: DefaultDS not bound