Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1327

NoClassDefFoundError for RmiRegistrationSupport in log

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Jackrabbit Server 2.0.4
    • None
    • None

    Description

      When starting a plain vanilla Sling, RMI services are not started and the following error is logged:

      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

      Attachments

        Activity

          People

            fmeschbe Felix Meschberger
            marcfaindu Marc
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: