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

Poller: start: Failed to schedule existing interfaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 15.0.0
    • Fix Version/s: 15.0.1
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      Debian stable
      Java Version: 1.7.0_76 (Oracle Corporation)
      Operating System: Linux 3.2.0-4-amd64 (amd64)
      Database: PostgreSQL 9.1.14

      Description

      Only few interfaces/services are polled.

      There is only one error, no warnings:

      2015-02-03 18:12:50,952 ERROR [Main] o.o.n.p.Poller: start: Failed to schedule existing interfaces
      org.springframework.orm.hibernate3.HibernateQueryException: could not resolve property: monitoredService of: org.opennms.netmgt.model.OnmsMonitoredService; n
      ested exception is org.hibernate.QueryException: could not resolve property: monitoredService of: org.opennms.netmgt.model.OnmsMonitoredService
      at org.springframework.orm.hibernate3.SessionFactoryUtils.convertHibernateAccessException(SessionFactoryUtils.java:656) ~[org.apache.servicemix.bundl
      es.spring-orm-3.2.9.RELEASE_1.jar:?]
      at org.springframework.orm.hibernate3.HibernateAccessor.convertHibernateAccessException(HibernateAccessor.java:412) ~[org.apache.servicemix.bundles.s
      pring-orm-3.2.9.RELEASE_1.jar:?]
      at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:412) ~[org.apache.servicemix.bundles.spring-orm-3.2.9.RELEAS
      E_1.jar:?]
      at org.springframework.orm.hibernate3.HibernateTemplate.executeFind(HibernateTemplate.java:344) ~[org.apache.servicemix.bundles.spring-orm-3.2.9.RELE
      ASE_1.jar:?]
      at org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate.findMatching(AbstractDaoHibernate.java:294) ~[opennms-dao-15.0.0.jar:?]
      at org.opennms.netmgt.poller.QueryManagerDaoImpl.updateServiceStatus(QueryManagerDaoImpl.java:326) ~[opennms-services-15.0.0.jar:?]
      at org.opennms.netmgt.poller.Poller.scheduleService(Poller.java:538) ~[opennms-services-15.0.0.jar:?]
      at org.opennms.netmgt.poller.Poller.access$100(Poller.java:79) ~[opennms-services-15.0.0.jar:?]
      at org.opennms.netmgt.poller.Poller$2.processRow(Poller.java:509) ~[opennms-services-15.0.0.jar:?]
      at org.opennms.core.utils.Querier.executeStmt(Querier.java:91) ~[opennms-util-15.0.0.jar:?]
      at org.opennms.core.utils.JDBCTemplate.doExecute(JDBCTemplate.java:94) ~[opennms-util-15.0.0.jar:?]
      at org.opennms.core.utils.JDBCTemplate.execute(JDBCTemplate.java:66) ~[opennms-util-15.0.0.jar:?]
      at org.opennms.netmgt.poller.Poller.scheduleMatchingServices(Poller.java:516) ~[opennms-services-15.0.0.jar:?]
      at org.opennms.netmgt.poller.Poller.scheduleExistingServices(Poller.java:402) ~[opennms-services-15.0.0.jar:?]
      at org.opennms.netmgt.poller.Poller.onInit(Poller.java:299) [opennms-services-15.0.0.jar:?]
      at org.opennms.netmgt.daemon.AbstractServiceDaemon$1.run(AbstractServiceDaemon.java:226) [org.opennms.core.daemon-15.0.0.jar:?]
      at org.opennms.core.logging.Logging.withPrefix(Logging.java:66) [org.opennms.core.logging-15.0.0.jar:?]
      at org.opennms.netmgt.daemon.AbstractServiceDaemon.init(AbstractServiceDaemon.java:220) [org.opennms.core.daemon-15.0.0.jar:?]
      at org.opennms.netmgt.daemon.AbstractServiceDaemon.afterPropertiesSet(AbstractServiceDaemon.java:52) [org.opennms.core.daemon-15.0.0.jar:?]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1571) [org.
      apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1509) [org.apa
      che.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:521) [org.apache
      .servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [org.apache.s
      ervicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) [org.apache.servicemix.bundles.spring-bean
      s-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) [org.apache.servicemix.
      bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) [org.apache.servicemix.bundles.spring-beans-
      3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194) [org.apache.servicemix.bundles.spring-beans-3.
      2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:633) [org.apache.ser
      vicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:932) [org.apache.se
      rvicemix.bundles.spring-context-3.2.9.RELEASE_1.jar:?]
      at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479) [org.apache.servicemix.bundles.spring-
      context-3.2.9.RELEASE_1.jar:?]
      at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139) [org.apache.servicemix.bundles.
      spring-context-3.2.9.RELEASE_1.jar:?]
      at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105) [org.apache.servicemix.bundles.
      spring-context-3.2.9.RELEASE_1.jar:?]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.7.0_76]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) [?:1.7.0_76]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [?:1.7.0_76]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:526) [?:1.7.0_76]
      at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:277) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1075) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:979) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:487) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:458) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:296) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:293) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:198) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1121) [org.apache.servicemix.bundles.spring-context-3.2.9.RELEASE_1.jar:?]
      at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:394) [org.apache.servicemix.bundles.spring-beans-3.2.9.RELEASE_1.jar:?]
      at org.opennms.core.spring.BeanUtils.getBeanFactory(BeanUtils.java:62) [org.opennms.core.spring-15.0.0.jar:?]
      at org.opennms.core.spring.BeanUtils.getFactory(BeanUtils.java:104) [org.opennms.core.spring-15.0.0.jar:?]
      at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon$1.run(AbstractSpringContextJmxServiceDaemon.java:103) [org.opennms.core.daemon-15.0.0.jar:?]
      at org.opennms.core.logging.Logging.withPrefix(Logging.java:66) [org.opennms.core.logging-15.0.0.jar:?]
      at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(AbstractSpringContextJmxServiceDaemon.java:96) [org.opennms.core.daemon-15.0.0.jar:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_76]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_76]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_76]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_76]
      at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:75) [?:1.7.0_76]
      at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) ~[?:?]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_76]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_76]
      at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:279) [?:1.7.0_76]
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:112) [?:1.7.0_76]
      at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:46) [?:1.7.0_76]
      at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:237) [?:1.7.0_76]
      at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138) [?:1.7.0_76]
      at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:252) [?:1.7.0_76]
      at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819) [?:1.7.0_76]
      at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801) [?:1.7.0_76]
      at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:278) [org.opennms.core.daemon-15.0.0.jar:?]
      at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:207) [org.opennms.core.daemon-15.0.0.jar:?]
      at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:248) [org.opennms.core.daemon-15.0.0.jar:?]
      at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:107) [org.opennms.core.daemon-15.0.0.jar:?]
      at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:183) [org.opennms.core.daemon-15.0.0.jar:?]
      at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:162) [org.opennms.core.daemon-15.0.0.jar:?]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_76]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_76]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_76]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_76]
      at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:366) [opennms_bootstrap.jar:?]
      at java.lang.Thread.run(Thread.java:745) [?:1.7.0_76]
      Caused by: org.hibernate.QueryException: could not resolve property: monitoredService of: org.opennms.netmgt.model.OnmsMonitoredService
      at org.hibernate.persister.entity.AbstractPropertyMapping.propertyException(AbstractPropertyMapping.java:81) ~[hibernate-core-3.6.10.Final.jar:3.6.10
      .Final]
      at org.hibernate.persister.entity.AbstractPropertyMapping.toType(AbstractPropertyMapping.java:75) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final]
      at org.hibernate.persister.entity.AbstractEntityPersister.toType(AbstractEntityPersister.java:1465) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final]
      at org.hibernate.loader.criteria.CriteriaQueryTranslator.getPathEntityName(CriteriaQueryTranslator.java:235) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final]
      at org.hibernate.loader.criteria.CriteriaQueryTranslator.createCriteriaEntityNameMap(CriteriaQueryTranslator.java:222) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final]
      at org.hibernate.loader.criteria.CriteriaQueryTranslator.<init>(CriteriaQueryTranslator.java:108) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final]
      at org.hibernate.loader.criteria.CriteriaLoader.<init>(CriteriaLoader.java:83) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final]
      at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1697) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.7.0_76]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[?:1.7.0_76]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.7.0_76]
      at java.lang.reflect.Method.invoke(Method.java:606) ~[?:1.7.0_76]
      at org.springframework.orm.hibernate3.HibernateTemplate$CloseSuppressingInvocationHandler.invoke(HibernateTemplate.java:1283) ~[org.apache.servicemix.bundles.spring-orm-3.2.9.RELEASE_1.jar:?]
      at com.sun.proxy.$Proxy101.list(Unknown Source) ~[?:?]
      at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:347) ~[hibernate-core-3.6.10.Final.jar:3.6.10.Final]
      at org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate$5.doInHibernate(AbstractDaoHibernate.java:291) ~[opennms-dao-15.0.0.jar:?]
      at org.opennms.netmgt.dao.hibernate.AbstractDaoHibernate$5.doInHibernate(AbstractDaoHibernate.java:286) ~[opennms-dao-15.0.0.jar:?]
      at org.springframework.orm.hibernate3.HibernateTemplate.doExecute(HibernateTemplate.java:407) ~[org.apache.servicemix.bundles.spring-orm-3.2.9.RELEASE_1.jar:?]
      ... 79 more

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              sergio.raspaolo Sergio Raspaolo
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: