File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Pooling DB2 connection Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » JDBC
Reply Bookmark "Pooling DB2 connection" Watch "Pooling DB2 connection" New topic
Author

Pooling DB2 connection

Tom Henricksen
Ranch Hand

Joined: Mar 23, 2004
Posts: 135
I have some code I am trying to pool a connection for DB2



When I run this I get an exception

com.ibm.db2.jcc.a.SqlException: Failure in loading T2 native library db2jcct2

This looks like it is looking for a type 2 JDBC connection with the client. I am using a type 4 (pure java) jar. (db2jcc.jar). Is there a different way to set up a pooled connection without the client? And how do I set the URL of database?
Thanks,
Tom
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Pooling DB2 connection
 
Similar Threads
Need Help Pulling Data From Oracle Table (Newby)
How to connect to mysql database?
DB2 Pool Data
Prepared Statement null pointer exception help
Proper way to close Connection, Statement & ResultSet