Author |
Message
|
brgmo |
Posted: Fri May 11, 2007 7:41 am Post subject: Is there a limitation on MDB no on jBoss |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
Hi All,
Is there a limitation on the number of MDB's created using jBoss. I want to use 12 MDB's for 12 different queues but the jBoss application server throws an exception after the 5th MDB is created.I am creating 15 threads of MDB per instance. My heap is set to 512 mb. Can someone please help me how to get rid of this problem.
Regards
brgmo. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri May 11, 2007 7:54 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
What's the exception that gets thrown?
Are you, perhaps, running out of free connections on the qmgr? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
fjb_saper |
Posted: Fri May 11, 2007 12:35 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Search the forum and redbooks for "JMS Topology" or just my old posts for topology.
There is a redbook somewhere that describes very well what you need to take into consideration for the number of connections in a J2EE environment...
Enjoy  _________________ MQ & Broker admin |
|
Back to top |
|
 |
brgmo |
Posted: Sun May 13, 2007 5:15 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
It throws an exception that can not queue manager for the 6th mdb.Any idea why this happens.
Regards
brgmo. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun May 13, 2007 5:30 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
jefflowrey wrote: |
Are you, perhaps, running out of free connections on the qmgr? |
_________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
brgmo |
Posted: Sun May 13, 2007 6:08 am Post subject: |
|
|
Master
Joined: 03 Jun 2002 Posts: 227
|
no,we have 256 open connection handles at the qmgr.we have defined 20 threads per mdb and we have 5 such mdb's.but when the 6th mdb is instantiated,it throws the exception that can not create the queue manager. |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun May 13, 2007 7:46 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
So you're saying that you have actually looked at the queue manager error logs, and seen that it is not throwing any errors about too many connections being opened?
What is the reason code in the linked exception to the exception that gets thrown? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
BenR |
Posted: Sun May 13, 2007 11:08 pm Post subject: |
|
|
Acolyte
Joined: 31 Jan 2006 Posts: 60 Location: Hursley, UK
|
How are you using WMQ in JBoss? |
|
Back to top |
|
 |
|