• Post Reply Bookmark Topic Watch Topic
  • New Topic

Pooling DB2 connection

 
Tom Henricksen
Author
Ranch Hand
Posts: 144
5
Eclipse IDE jQuery Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!