activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chu_man_fu <...@bytron.com>
Subject Re: Using Oracle for persistence - DB sessions not dying
Date Fri, 03 Jul 2009 11:30:36 GMT

None of the options which I can see tell the connections to die after usage.
When the server starts up I have 20 sessions open. Within 1 hour this is
risen to 26.


Gary Tully wrote:
> 
>   <property name="maxActive" value="200"/> maps to setMaxActive in the
> BasicDataSource, so just add the properties that you need.
> 
> 2009/7/3 chu_man_fu <cem@bytron.com>
> 
>>
>> How can I configure this class via the XML config?
>> That link is the API for the Java class. I have no control over how this
>> is
>> used, the persistance is done internal to ActiveMQ...isn't it?
>>
>>
>> Gary Tully wrote:
>> >
>> > You got to configure the jdbc connection pool to close idle connections
>> if
>> > you want this behavior. Check out the api reference
>> >
>> http://commons.apache.org/dbcp/apidocs/org/apache/commons/dbcp/BasicDataSource.html
>> >
>> > -
>> > http://blog.garytully.com
>> >
>> > Open Source Integration
>> > http://fusesource.com
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Using-Oracle-for-persistence---DB-sessions-not-dying-tp24306601p24319799.html
>> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>>
>>
> 
> 
> -- 
> http://blog.garytully.com
> 
> Open Source Integration
> http://fusesource.com
> 
> 

-- 
View this message in context: http://www.nabble.com/Using-Oracle-for-persistence---DB-sessions-not-dying-tp24306601p24321691.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message