Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7053

Installer does not run install -dis correctly on Windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 14.0.0
    • Fix Version/s: 14.0.0
    • Component/s: Installation
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Windows 8.1

      Description

      At Step 9/10 I get an exception.

      C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET OPENNMS_HOME=C:/OpenNMS

      C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET DBNAME=opennms

      C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET DBURL=jdbc:postgresql://localhost:5432/

      C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET ETCDIR=C:/OpenNMS/etc

      C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET SERVLETDIR=C:/OpenNMS/webapps/opennms

      C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>"C:\Program Files\Java\jdk1.7.0_10\bin\java" -Xmx512m "-Dopennms.home=C:/OpenNMS" "-Dinstall.dir=C:/OpenNMS" "-Dinstall.database.name=opennms" "-Dinstall.database.url=jdbc:postgresql://localhost:5432/" "-Dinstall.etc.dir=C:/OpenNMS/etc" "-Dinstall.servlet.dir=C:/OpenNMS/webapps/opennms" -classpath "C:/OpenNMS/lib/opennms_bootstrap.jar;C:/OpenNMS/lib/opennms_install.jar" org.opennms.install.Installer -dis -l C:/OpenNMS/lib
      java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser
      at java.lang.Class.getDeclaredMethods0(Native Method)
      at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
      at java.lang.Class.getMethod0(Class.java:2685)
      at java.lang.Class.getMethod(Class.java:1620)
      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.CommandLineParser
      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:423)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
      ... 6 more
      Exception in thread "main"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mvr Markus von Rüden
                Reporter:
                mvr Markus von Rüden
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: