jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Guggisberg" <stefan.guggisb...@day.com>
Subject Re: JNDI datasource look up in BundleDbPersistenceManager 1.3.4
Date Wed, 28 May 2008 09:26:24 GMT
On Tue, May 27, 2008 at 4:24 PM, NareshGanga <narry.sharma@gmail.com> wrote:
> Hello,
> We are using jackrabbit 1.3.4 and configuring our repository connection via
> JNDI look up in BundleDbPersistenceManager. We were able to successfully
> deploy one war instance (on weblogic 9.2), but a second new war instance
> fails owing to the below exception.
> ERROR ConnectionRecoveryManager - could not setup connection, reason:
> weblogic.common.resourcepool.ResourceLimitException: No resources currently
> available in pool jdbc/magnolia to allocate to applications, please increase
> the size of the pool and retry.., state/code: null/0.
> The max connection in set to 15 in the connection pool. Can any one please
> suggest if this is an issue with jackrabbit as to why too many connections
> are consumed by first instance and not returned to the pool, or do I need to

it's not an 'issue', it's by design. jackrabbit needs complete control over the
jdbc connection and only returns it on shutdown.

> increase the max limit of the connection pool which I don' think is an ideal


> solution. Please provide inputs if there is a work around for this.

yes, don't use JNDI datasources, ...but that's my personal take ;)


> Thanks,
> Naresh
> --
> View this message in context: http://www.nabble.com/JNDI-datasource-look-up-in-BundleDbPersistenceManager-1.3.4-tp17491644p17491644.html
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message