This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DB2 Connection Pooling working

Stephen Haberman
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've been trying for the last few days to connect to a DB2 database from WebSphere 3.5 (on Redhat) using the extended JDBC 2.0 API. Finally I got an answer from someone on a newsgroup, but I thought I'd also post it here because it looks like a lot of people run in to this.
I was getting a ClassNotFoundException: (or also if JTA is turned on) when trying to use the connectiong pooling via JNDI.
Besides doing usejdbc2 and having all the environment variables setup correctly, you also need to edit the $WAS_HOME/bin/admin.config file and add the /java12/ file to the admin's classpath. For me this made everything magically start working.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic