Hi Felix,

> Have you tried setting the "Maximum Idle Sessions" (pool.maxIdle)
> property of the repository configuration to 0 (zero) to disable session
> pooling ?
>
> oh my, I set maxIdle=0 but nothing changed. After poking around for half an
hour I remembered that the console is full of traps... I changed the setting
in the first Repository entry but I should have changed the running
instance...

All fine now, thanks for the hint,
Marc





> Regards
> Felix
>
>
> >
> > Cheers,
> > Marc
> >
> >
> >
> > 1. https://issues.apache.org/jira/browse/SLING-1272
> > 2. https://issues.apache.org/jira/browse/SLING-1283
> >
> >
> >
> > javax.jcr.RepositoryException: this session has been closed
> >         at
> > org.apache.jackrabbit.core.SessionImpl.sanityCheck(SessionImpl.java:375)
> >         at
> >
> org.apache.jackrabbit.core.SessionImpl.hasPendingChanges(SessionImpl.java:869)
> >         at
> >
> org.apache.sling.jcr.base.internal.PooledSession.hasPendingChanges(PooledSession.java:213)
> >
> > javax.jcr.RepositoryException: this session has been closed
> >         at
> > org.apache.jackrabbit.core.SessionImpl.sanityCheck(SessionImpl.java:375)
> >         at
> > org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:137)
> >         at
> org.apache.jackrabbit.core.NodeImpl.addMixin(NodeImpl.java:997)
> >         at
> org.apache.jackrabbit.core.NodeImpl.addMixin(NodeImpl.java:2779)
> >
> > javax.jcr.RepositoryException: this session has been closed
> >         at
> > org.apache.jackrabbit.core.SessionImpl.sanityCheck(SessionImpl.java:375)
> >         at
> > org.apache.jackrabbit.core.ItemImpl.sanityCheck(ItemImpl.java:137)
> >         at
> org.apache.jackrabbit.core.ItemImpl.getPath(ItemImpl.java:1272)
> >
> > On Tue, Jan 26, 2010 at 10:20 AM, Felix Meschberger <fmesc...@gmail.com
> >wrote:
> >
> >> Hi,
> >>
> >> On 26.01.2010 09:56, Marc Speck wrote:
> >>> https://issues.apache.org/jira/browse/SLING-1327
> >>
> >> Thanks.
> >>
> >> Regards
> >> Felix
> >>
> >>>
> >>>
> >>> On Tue, Jan 26, 2010 at 9:14 AM, Felix Meschberger <fmesc...@gmail.com
> >>> wrote:
> >>>
> >>>> Hi Marc,
> >>>>
> >>>> This looks like the RMI registry support cannot be started in the new
> >>>> Jackrabbit 1.6 binding. Unless you need the RMI binding, this has no
> >>>> influence on the functionality.
> >>>>
> >>>> Yep, I found it when I wanted to debug something in the repository
> with
> >> the
> >>> Eclipse plugin...
> >>>
> >>> Cheers,
> >>> Marc
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>> Would you mind reporting an issue ? Thanks alot.
> >>>>
> >>>> Regards
> >>>> Felix
> >>>>
> >>>> On 25.01.2010 20:53, Marc Speck wrote:
> >>>>> I've just checked-out and compiled Sling from the repository and got
> >> the
> >>>>> error log below. Is this a known bug or is anything wrong on my side?
> >>>>> Marc
> >>>>>
> >>>>>
> >>>>>
> >>>>> 25.01.2010 20:43:23.727 *ERROR* [SCR Component Actor]
> >>>> org.apache.felix.scr
> >>>>> Unexpected problem executing task Enable Component:
> >>>>> org.apache.sling.jcr.jackrabbit.server.RmiRegistrationSupport (5)
> >>>>> (java.lang.NoClassDefFoundError:
> >>>>> org/apache/jackrabbit/rmi/server/RemoteAdapterFactory)
> >>>>> java.lang.NoClassDefFoundError:
> >>>>> org/apache/jackrabbit/rmi/server/RemoteAdapterFactory
> >>>>>     at java.lang.Class.getDeclaredConstructors0(Native Method)
> >>>>>     at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
> >>>>>     at java.lang.Class.getConstructor0(Unknown Source)
> >>>>>     at java.lang.Class.newInstance0(Unknown Source)
> >>>>>     at java.lang.Class.newInstance(Unknown Source)
> >>>>>     at
> >>>>>
> >>>>
> >>
> org.apache.felix.scr.impl.manager.ImmediateComponentManager.createImplementationObject(ImmediateComponentManager.java:183)
> >>>>>     at
> >>>>>
> >>>>
> >>
> org.apache.felix.scr.impl.manager.ImmediateComponentManager.createComponent(ImmediateComponentManager.java:118)
> >>>>>     at
> >>>>>
> >>>>
> >>
> org.apache.felix.scr.impl.manager.AbstractComponentManager$Unsatisfied.activate(AbstractComponentManager.java:991)
> >>>>>     at
> >>>>>
> >>>>
> >>
> org.apache.felix.scr.impl.manager.AbstractComponentManager.activateInternal(AbstractComponentManager.java:298)
> >>>>>     at
> >>>>>
> >>>>
> >>
> org.apache.felix.scr.impl.manager.AbstractComponentManager$1.doRun(AbstractComponentManager.java:138)
> >>>>>     at
> >>>>>
> >>>>
> >>
> org.apache.felix.scr.impl.ComponentActivatorTask.run(ComponentActivatorTask.java:67)
> >>>>>     at
> >>>>>
> >>>>
> >>
> org.apache.felix.scr.impl.ComponentActorThread.run(ComponentActorThread.java:96)
> >>>>>     at java.lang.Thread.run(Unknown Source)
> >>>>> Caused by: java.lang.ClassNotFoundException:
> >>>>> org.apache.jackrabbit.rmi.server.RemoteAdapterFactory
> >>>>>     at
> >>>>>
> >>>>
> >>
> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:744)
> >>>>>     at
> >>>> org.apache.felix.framework.ModuleImpl.access$100(ModuleImpl.java:61)
> >>>>>     at
> >>>>>
> >>>>
> >>
> org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1656)
> >>>>>     at java.lang.ClassLoader.loadClass(Unknown Source)
> >>>>>     at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >>>>>     ... 13 mor
> >>>>>
> >>>>
> >>>
> >>
> >
>

Reply via email to