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

Web UI doesn't start on system with no internet connection

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 16.0.0
    • Fix Version/s: 16.0.2
    • Component/s: Web UI - General
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Finalize 16.0.1

      Description

      There's been a report from the opennms-discuss list that the web UI will not start properly on a system with no internet connection. The user says that this is a regression between 15.0.2 and 16.0.0. They see this message in their jetty-server.log:

      2015-05-20 08:09:33,221 INFO  [Main] o.s.c.s.ClassPathXmlApplicationContext: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@2ad8832a: startup date [Wed May 20 08:09:33 CEST 2015]; root of context hierarchy
      2015-05-20 08:09:33,223 INFO  [Main] o.s.b.f.x.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [META-INF/opennms/applicationContext-jettyServer.xml]
      2015-05-20 08:09:39,731 INFO  [Main] o.s.w.c.ContextLoader: Root WebApplicationContext: initialization started
      2015-05-20 08:09:39,750 INFO  [Main] o.s.w.c.s.XmlWebApplicationContext: Refreshing Root WebApplicationContext: startup date [Wed May 20 08:09:39 CEST 2015]; parent: ApplicationContext 'pollerBackEndContext'
      2015-05-20 08:09:39,752 INFO  [Main] o.s.b.f.x.XmlBeanDefinitionReader: Loading XML bean definitions from ServletContext resource [/WEB-INF/applicationContext-common.xml]
      2015-05-20 08:09:39,803 ERROR [Main] o.s.w.c.ContextLoader: Context initialization failed
      org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/applicationContext-common.xml]; nested exception is java.net.UnknownHostException: www.springframework.org
      

      We need to check this out the "UnknownHostException: www.springframework.org" to see what sort of problem this is.

        Attachments

          Activity

            People

            • Assignee:
              seth Seth Leger
              Reporter:
              seth Seth Leger
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: