User development,
A new message was posted in the thread "Problem with number of database connections
(Oracle)":
http://community.jboss.org/message/519839#519839
Author : Michal Rorat
Profile :
http://community.jboss.org/people/michal_rorat
Message:
--------------------------------------------------------------
adrian(a)jboss.org wrote:>
43-5=38
5 is the number of connections that get created when you first use the datasource, if you
specify a min-pool-size of 5.
Since that number matches the difference in configuration that suggests to me that there
were none in the pool before the change.
I just tested the application with one MessageDrivenBean removed and started
JBoss created 34 connections. Since I have 5 of them with preety much the same
configuration we can assume that they reserve 20 connections - but still - what reserve
remaining 18 of them?
this is my MDB annotation:
@MessageDriven(name = "abcQueueListener",
activationConfig =
{
@ActivationConfigProperty(propertyName = "ProviderAdapterJNDI",
propertyValue = "OAQJMSProvider"),
@ActivationConfigProperty(propertyName = "UseDLQ", propertyValue =
"false"),
@ActivationConfigProperty(propertyName = "destinationType",
propertyValue = "javax.jms.Queue"),
@ActivationConfigProperty(propertyName = "destination",
propertyValue = "queue/abc"),
@ActivationConfigProperty(propertyName = "acknowledgeMode",
propertyValue = "Auto-acknowledge"),
@ActivationConfigProperty(propertyName = "Durable", propertyValue =
"false"),
@ActivationConfigProperty(propertyName = "SessionTransacted",
propertyValue = "false"),
@ActivationConfigProperty(propertyName = "MessageSelector",
propertyValue = "JMSType='abc_BLOB'"),
@ActivationConfigProperty(propertyName = "maxSession",
propertyValue="3")
})
--------------------------------------------------------------
To reply to this message visit the message page:
http://community.jboss.org/message/519839#519839