jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torgeir Veimo <torg...@netenviron.com>
Subject Re: jcr session creation takes 2 seconds
Date Thu, 22 Oct 2009 12:47:25 GMT
2009/10/22 Jukka Zitting <jukka.zitting@gmail.com>:

> Are you using the TransientRepository class? Then it could be that the
> entire repository gets started up when you run login(). You can avoid
> that by either keeping one long-lived session open, [...]

Wouldn't the finalizer in Session call the close() method internally
at some point, if the session is not referenced elsewhere?


View raw message