On Mon, Jul 20, 2009 at 4:19 PM, go canal<[email protected]> wrote: > or does spring configuration creates a session : > > <bean id="jcrSessionFactory" > class="org.springmodules.jcr.jackrabbit.JackrabbitSessionFactory" > destroy-method="destroy"> > .... > </bean>
>From looking at the stacktrace, it seems this method creates the session: org.springmodules.jcr.jackrabbit.ocm.JcrSessionFactory2.registerNamespaces(JcrSessionFactory2.java:181) (it calls its own getSession(), which in turn creates the real Session by asking Jackrabbit). This method should be fixed to call logout() after registering the namespaces (if it does what it says ;-)) => Springmodules JCR Regards, Alex -- Alexander Klimetschek [email protected]
