Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-9067

Missing oak-segment-remote dependency in oak-run-commons

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.30.0
    • Component/s: oak-run, segment-azure
    • Labels:
      None

      Description

      Due to missing oak-segment-remote dependency in oak-run-commons, we face now ClassNotFoundException when running segment-copy command in oak-run:

      xception in thread "main" java.lang.NoClassDefFoundError: org/apache/jackrabbit/oak/segment/remote/AbstractRemoteSegmentArchiveReader
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at org.apache.jackrabbit.oak.segment.azure.AzureArchiveManager.<clinit>(AzureArchiveManager.java:57)
        at org.apache.jackrabbit.oak.segment.azure.AzurePersistence.createArchiveManager(AzurePersistence.java:87)
        at org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator.migrateArchives(SegmentStoreMigrator.java:153)
        at org.apache.jackrabbit.oak.segment.azure.tool.SegmentStoreMigrator.migrate(SegmentStoreMigrator.java:92)
        at org.apache.jackrabbit.oak.segment.azure.tool.SegmentCopy.run(SegmentCopy.java:222)
        at org.apache.jackrabbit.oak.run.SegmentCopyCommand.execute(SegmentCopyCommand.java:76)
        at org.apache.jackrabbit.oak.run.Main.main(Main.java:49)
      Caused by: java.lang.ClassNotFoundException: org.apache.jackrabbit.oak.segment.remote.AbstractRemoteSegmentArchiveReader
        at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        ... 19 more 

        Attachments

          Activity

            People

            • Assignee:
              adulceanu Andrei Dulceanu
              Reporter:
              adulceanu Andrei Dulceanu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: