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

OpenNMS 1.11.91 requires a JDK to be installed for Jetty to display the login page

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reopened (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.11.90
    • Fix Version/s: Backlog, 24.0.0
    • Component/s: Web UI - General
    • Security Level: Default (Default Security Scheme)
    • Labels:
    • Environment:
      Ubuntu 12.04.2 LTS 64-bit, Java 7

      Description

      If using (only) Java runtime packages ("openjdk-7-jre" or "openjdk-7-jre-headless"), OpenNMS 1.11.90 and 11.11.91-0.20130422.3 (the current snapshot) will not display the web login page when going to /opennms.

      daemon/uncategorized.log seems to have the reason:

      2013-04-22 23:07:59,472 WARN [qtp1991606348-386] /opennms: Something went horribly awry.
      org.apache.jasper.JasperException: java.err.nojdk
      at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:89)
      at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:375)
      ...

      This message at the jetty-users mailing list says "The issue is that we updated the version of jasper (jsp engine from Glassfish) that we use in 7.5.0 and it insists on using the in-jvm compiler if you're using jdk1.6 or above. Therefore, you need to have a full jdk installed (until we can get a patch into a release, stay tuned for that)."

      http://dev.eclipse.org/mhonarc/lists/jetty-users/msg01629.html

      This appears to be the case with OpenNMS 1.11.9x. After installing a Java compiler package ("openjdk-7-jdk"), the login screen appeared.

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              timmillerdyck Tim Miller Dyck
            • Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated: