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

Configure Discovery throws FileNotFoundException

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 14.0.0
    • Component/s: Web UI - Admin
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Ubuntu Linux 14.04, Chrome 38.0.2125.104 (64 bit)

      Description

      When navigating to "Admin" -> "Configure Discovery" and then click on any on the provided links:

      • "Add New" in Specifics
      • "Add New" in Include URLs
      • "Add New" in Include Ranges
      • "Add New" in Exclude Ranges

      a FileNotFoundException is thrown.

      The given stacktrace is

      2014-10-16 09:33:40,883 INFO [qtp1075795568-540 - /opennms/admin/discovery/modifyDiscoveryConfig] o.o.w.a.d.ModifyDiscoveryConfigurationServlet: Loading Discovery configuration.
      2014-10-16 09:33:40,995 INFO [qtp1075795568-536 - /opennms/admin/discovery/edit-config.jsp] o.o.w.s.s.SecurityAuthenticationEventOnmsEventBuilder: /opennms/admin/discovery/edit-config.jsp requested from 127.0.0.1 by user admin
      2014-10-16 09:33:42,623 WARN [qtp1075795568-536 - /favicon.ico] o.e.j.s.ServletHandler: /favicon.ico
      java.io.FileNotFoundException: /includes/header.jsp
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:451) ~[org.apache.jasper.glassfish-2.1.0.v201110031002.jar:?]
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:366) ~[org.apache.jasper.glassfish-2.1.0.v201110031002.jar:?]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[javax.servlet-2.5.0.v201103041518.jar:?]
      at org.eclipse.jetty.servlet.JspPropertyGroupServlet.service(JspPropertyGroupServlet.java:132) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:574) ~[jetty-security-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.Dispatcher.include(Dispatcher.java:200) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:1010) ~[org.apache.jasper.glassfish-2.1.0.v201110031002.jar:?]
      at org.apache.jsp.pagenotfound_jsp._jspService(pagenotfound_jsp.java:51) ~[?:?]
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:109) ~[org.apache.jasper.glassfish-2.1.0.v201110031002.jar:?]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[javax.servlet-2.5.0.v201103041518.jar:?]
      at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:403) ~[org.apache.jasper.glassfish-2.1.0.v201110031002.jar:?]
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:476) ~[org.apache.jasper.glassfish-2.1.0.v201110031002.jar:?]
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:366) ~[org.apache.jasper.glassfish-2.1.0.v201110031002.jar:?]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[javax.servlet-2.5.0.v201103041518.jar:?]
      at org.eclipse.jetty.servlet.JspPropertyGroupServlet.service(JspPropertyGroupServlet.java:132) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:574) ~[jetty-security-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:293) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.Dispatcher.error(Dispatcher.java:129) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.servlet.ErrorPageErrorHandler.handle(ErrorPageErrorHandler.java:143) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.Response.sendError(Response.java:347) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.Response.sendError(Response.java:415) ~[jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.servlet.DefaultServlet.doGet(DefaultServlet.java:492) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) ~[javax.servlet-2.5.0.v201103041518.jar:?]
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) ~[javax.servlet-2.5.0.v201103041518.jar:?]
      at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652) ~[jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) [jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556) [jetty-security-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) [jetty-servlet-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:255) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.Server.handle(Server.java:365) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:933) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:995) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:644) [jetty-http-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) [jetty-http-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667) [jetty-io-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-7.6.15.v20140411.jar:7.6.15.v20140411]
      at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-7.6.15.v20140411.jar:7.6.15.v20140411]
      at java.lang.Thread.run(Thread.java:724) [?:1.7.0_25]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brozow Matt Brozowski
                Reporter:
                mvr Markus von Rüden
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: