jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Menzi <psru...@centrum.cz>
Subject Problem with jboss 5 configuration.
Date Mon, 13 May 2013 14:10:28 GMT
've encountered a problem with jackrabbit pool in jboss 5 and jackrabbit 2.0.

I've a jcr datasource configured like this

    <xa-transaction />
    <config-property name="homeDir"
    <config-property name="configFile"
    <config-property name="bindSessionToTransaction"
    <no-tx-separate-pools />

like this, application works fine, but i'm getting this error really often
(it's thrown every time i'm logging into dms session with this code) 

         Repository repo = (Repository)
        Credentials cred = new SimpleCredentials(userId, new char[] { 'p',
'w', 'd' });
        Session s = repo.login(cred);

Destroying connection that could not be successfully matched:
mc=org.apache.jackrabbit.jca.JCAManagedConnection@6eec369a handles=0
lastUse=1366642930773 permit=false trackByTx=false

when i add to datasource configuration, error mentioned earlier dissapears,
but each connection to jcr creates it's own subpool (which is kinda crazy,
becouse after few hours of application running it creates like 700
subpools). I Tryed searching for possible problems with tag and found out
that it uses ConnectionRequestInfo to authenticate connections but so far
had no success with configuring that.

Any idea what could i try next to get rid of both problems at once?

View this message in context: http://jackrabbit.510166.n4.nabble.com/Problem-with-jboss-5-configuration-tp4658671.html
Sent from the Jackrabbit - Dev mailing list archive at Nabble.com.

View raw message