This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Bob Janson question: WebSphere and DB connections

 
Seth Dustin
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All my customers are always wanting to have Websphere manage the database connection instead of letting our application do it. Well, a lot of times, that connection goes away and then the customer asks me to troubleshoot the reason the web app isn't working. I tell them to talk to their websphere expert to figure out why the DB connection isn't being maintained.

First- Why are these folks always wanting WebSphere to manage the connection?
Second- How can they figure out why the DB connection keeps getting dropped?

thanks!!!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 33694
316
Eclipse IDE Java VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd want WebSPhere to manage the connections too. The container is good at that.

Dropped connections are using a connection pooling setting that is incorrect. For example, maybe the min # connections is too high and there are stale connections.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic