You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Marc Speck <ma...@gmail.com> on 2010/01/25 20:53:12 UTC

NoClassDefFoundError in start-up log

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

Re: NoClassDefFoundError in start-up log

Posted by Felix Meschberger <fm...@gmail.com>.
Hi Marc,

On 26.01.2010 18:59, Marc Speck wrote:
> 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...

Yes, the one with the "UUID-like" suffix is the right one ;-)

> 
> All fine now, thanks for the hint,

Excellent.

Regards
Felix

> 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 <fmeschbe@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 <fmeschbe@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
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>
> 

Re: NoClassDefFoundError in start-up log

Posted by Marc Speck <ma...@gmail.com>.
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 <fmeschbe@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 <fmeschbe@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
> >>>>>
> >>>>
> >>>
> >>
> >
>

Re: NoClassDefFoundError in start-up log

Posted by Felix Meschberger <fm...@gmail.com>.
Hi Marc,


On 26.01.2010 15:45, Marc Speck wrote:
> Hi Felix,
> 
> I've updated to 903202 and NoClassDefFoundError is gone, thanks a lot for
> fixing so quickly!

Glad it helped.

> 
> Now I run into an other issue with closed sessions which sounds like [1]
> [2]. It happens randomly when our integration tests run but seldom in the
> same classes. Maybe the traces below help resolving the Jira issues.


Have you tried setting the "Maximum Idle Sessions" (pool.maxIdle)
property of the repository configuration to 0 (zero) to disable session
pooling ?

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 <fm...@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 <fmeschbe@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
>>>>>
>>>>
>>>
>>
> 

Re: NoClassDefFoundError in start-up log

Posted by Marc Speck <ma...@gmail.com>.
Hi Felix,

I've updated to 903202 and NoClassDefFoundError is gone, thanks a lot for
fixing so quickly!

Now I run into an other issue with closed sessions which sounds like [1]
[2]. It happens randomly when our integration tests run but seldom in the
same classes. Maybe the traces below help resolving the Jira issues.

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 <fm...@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 <fmeschbe@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
> >>>
> >>
> >
>

Re: NoClassDefFoundError in start-up log

Posted by Felix Meschberger <fm...@gmail.com>.
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 <fm...@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
>>>
>>
> 

Re: NoClassDefFoundError in start-up log

Posted by Marc Speck <ma...@gmail.com>.
https://issues.apache.org/jira/browse/SLING-1327


On Tue, Jan 26, 2010 at 9:14 AM, Felix Meschberger <fm...@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
> >
>

Re: NoClassDefFoundError in start-up log

Posted by Felix Meschberger <fm...@gmail.com>.
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.

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
>