This discussion is archived
0 Replies Latest reply: Nov 2, 2012 2:01 AM by 859967 RSS

DB connection in MDB

859967 Newbie
Currently Being Moderated

I have a Message Driven Bean. And this MDB 'onMessage' will be invoked very frequently since there is a producer who produces traffic to it.

In the MDB, i need to update to database traffic table whenever there is a message arrived. But i got "maximum DB connection" , perhaps because there are many stateless bean instances created and it requires a connection to database to do this update.

Increase maximum connection cannot ensure the bug fixed. Could you help me how to solve this issue?


Edited by: CardM on Nov 2, 2012 2:01 AM


  • Correct Answers - 10 points
  • Helpful Answers - 5 points