We had the opposite problem here, we needed to enlarge the number
of concurrent beans and found the following solution.
This might help you if you set the value to one.
For myself I would be interested how to change this value for special
messagebean only and not for the whole jboss.
How To enlarge Maximum Number of Messages in standardjboss.xml :
Change 15 to a higher value.
We are trying to create multiple instances of the MDB for the requests in the Oracle Request Queue.We are using Jboss4.0 with Oracle AQ.As suggested above ,when we set the STdJMSPool MaximumSize under the <invoker-proxy-binding> attribute to 100 (from 1) we get the following error
oracle.jms.AQjmsException JMS-106 Cannot have more than one open Session on a JMSConnection
Is this an issue with Oracle AQ or should we configure the concurrent beans setting elsewhere?
Please treat this as urgent.Thank you
If you use a newer version of JBoss, it has a singleton conf. built in. Refer to FAQ and Wiki