Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-78

knox agent installation fails reporting class not found: ParseException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.4.0
    • None
    • None

    Description

      knox agent installation fails reporting class not found: ParseException

      Full stack trace
      Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/ParseException
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
      at java.lang.Class.getMethod0(Class.java:2813)
      at java.lang.Class.getMethod(Class.java:1663)
      at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
      at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.ParseException
      at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
      at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      ... 6 more
      ERROR: Unable to make changes to config. file:
      /usr/hdp/current/knox/conf/xasecure-audit.xml, exiting ....

      Attachments

        1. ARGUS-78.patch
          1.0 kB
          Dilli Arumugam

        Issue Links

          Activity

            People

              darumugam Dilli Arumugam
              darumugam Dilli Arumugam
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: