2012-03-19 13:22:29,293 INFO [main] org.opennms.poller.remote.Main: org.opennms.netmgt.icmp.pingerClass not set; using JnaPinger by default 2012-03-19 13:22:29,304 INFO [main] org.opennms.poller.remote.Main: user.home.url = file:/root 2012-03-19 13:22:29,305 INFO [main] org.opennms.poller.remote.Main: opennms.poller.server.url = http://opennms.rf.ad/opennms-remoting 2012-03-19 13:22:29,305 INFO [main] org.opennms.poller.remote.Main: location name = REMOTESITE 2012-03-19 13:22:29,339 INFO [main] org.springframework.context.support.ClassPathXmlApplicationContext: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@5328f6ee: startup date [Mon Mar 19 13:22:29 EDT 2012]; root of context hierarchy 2012-03-19 13:22:29,376 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [META-INF/opennms/applicationContext-remotePollerBackEnd-http.xml] 2012-03-19 13:22:29,675 INFO [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [META-INF/opennms/applicationContext-pollerFrontEnd.xml] 2012-03-19 13:22:29,780 INFO [main] org.springframework.beans.factory.support.DefaultListableBeanFactory: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@595e2ccd: defining beans [frontEndConfigurer,pollerBackEnd,timeAdjustment,pollService,pollerSettings,pollerFrontEnd,checkConfigJobDetail,configCheckTrigger,scheduler,poller]; root of factory hierarchy 2012-03-19 13:22:29,901 INFO [main] org.quartz.core.SchedulerSignalerImpl: Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 2012-03-19 13:22:29,901 INFO [main] org.quartz.core.QuartzScheduler: Quartz Scheduler v.1.6.5 created. 2012-03-19 13:22:29,903 INFO [main] org.quartz.simpl.RAMJobStore: RAMJobStore initialized. 2012-03-19 13:22:29,903 INFO [main] org.quartz.impl.StdSchedulerFactory: Quartz scheduler 'PollerFrontEnd' initialized from an externally provided properties instance. 2012-03-19 13:22:29,903 INFO [main] org.quartz.impl.StdSchedulerFactory: Quartz scheduler version: 1.6.5 2012-03-19 13:22:29,904 INFO [main] org.quartz.core.QuartzScheduler: JobFactory set to: org.springframework.scheduling.quartz.AdaptableJobFactory@1fbbdd48 2012-03-19 13:22:29,910 INFO [main] org.springframework.context.support.DefaultLifecycleProcessor: Starting beans in phase 2147483647 2012-03-19 13:22:29,910 INFO [main] org.springframework.scheduling.quartz.SchedulerFactoryBean: Starting Quartz Scheduler now 2012-03-19 13:22:29,911 INFO [main] org.quartz.core.QuartzScheduler: Scheduler PollerFrontEnd_$_NON_CLUSTERED started. 2012-03-19 13:22:30,103 WARN [main] org.opennms.netmgt.poller.remote.support.DefaultPollerFrontEnd$Registering: Unable to register. org.springframework.remoting.RemoteAccessException: Unexpected Exception Occurred on the server.; nested exception is org.springframework.orm.ObjectRetrievalFailureException: Location monitor definition with the id 'REMOTESITE' not found at org.opennms.netmgt.poller.remote.support.ExceptionProtectedPollerBackEnd.registerLocationMonitor(ExceptionProtectedPollerBackEnd.java:169) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.remoting.support.RemoteInvocationTraceInterceptor.invoke(RemoteInvocationTraceInterceptor.java:77) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy67.registerLocationMonitor(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.remoting.support.RemoteInvocation.invoke(RemoteInvocation.java:205) at org.springframework.remoting.support.DefaultRemoteInvocationExecutor.invoke(DefaultRemoteInvocationExecutor.java:38) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invoke(RemoteInvocationBasedExporter.java:78) at org.springframework.remoting.support.RemoteInvocationBasedExporter.invokeAndCreateResult(RemoteInvocationBasedExporter.java:114) at org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter.handleRequest(HttpInvokerServiceExporter.java:73) at org.springframework.web.context.support.HttpRequestHandlerServlet.service(HttpRequestHandlerServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:547) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1355) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:399) at org.opennms.web.springframework.security.AuthFilterEnabler.doFilterHttp(AuthFilterEnabler.java:100) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:109) at org.springframework.security.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:83) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.ui.SessionFixationProtectionFilter.doFilterHttp(SessionFixationProtectionFilter.java:52) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.ui.ExceptionTranslationFilter.doFilterHttp(ExceptionTranslationFilter.java:101) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.providers.anonymous.AnonymousProcessingFilter.doFilterHttp(AnonymousProcessingFilter.java:105) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.wrapper.SecurityContextHolderAwareRequestFilter.doFilterHttp(SecurityContextHolderAwareRequestFilter.java:91) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.ui.basicauth.BasicProcessingFilter.doFilterHttp(BasicProcessingFilter.java:174) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.context.HttpSessionContextIntegrationFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235) at org.springframework.security.ui.SpringSecurityFilter.doFilter(SpringSecurityFilter.java:53) at org.springframework.security.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:411) at org.springframework.security.util.FilterChainProxy.doFilter(FilterChainProxy.java:188) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1326) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:520) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:940) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:409) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:874) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:110) at org.eclipse.jetty.server.Server.handle(Server.java:349) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:441) at org.eclipse.jetty.server.HttpConnection$RequestHandler.content(HttpConnection.java:921) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:784) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:223) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:46) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:545) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:43) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:598) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:533) at java.lang.Thread.run(Thread.java:619) at org.springframework.remoting.support.RemoteInvocationUtils.fillInClientStackTraceIfPossible(RemoteInvocationUtils.java:47) at org.springframework.remoting.support.RemoteInvocationResult.recreate(RemoteInvocationResult.java:115) at org.springframework.remoting.support.RemoteInvocationBasedAccessor.recreateRemoteInvocationResult(RemoteInvocationBasedAccessor.java:85) at org.springframework.remoting.httpinvoker.HttpInvokerClientInterceptor.invoke(HttpInvokerClientInterceptor.java:148) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy0.registerLocationMonitor(Unknown Source) at org.opennms.netmgt.poller.remote.support.ServerUnreachableAdaptor.registerLocationMonitor(ServerUnreachableAdaptor.java:152) at org.opennms.netmgt.poller.remote.support.DefaultPollerFrontEnd.doRegister(DefaultPollerFrontEnd.java:510) at org.opennms.netmgt.poller.remote.support.DefaultPollerFrontEnd$Registering.register(DefaultPollerFrontEnd.java:172) at org.opennms.netmgt.poller.remote.support.DefaultPollerFrontEnd.register(DefaultPollerFrontEnd.java:635) at org.opennms.poller.remote.Main.run(Main.java:152) at org.opennms.poller.remote.Main.main(Main.java:313) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.simontuffs.onejar.Boot.run(Boot.java:306) at com.simontuffs.onejar.Boot.main(Boot.java:159) Caused by: org.springframework.orm.ObjectRetrievalFailureException: Location monitor definition with the id 'REMOTESITE' not found at org.opennms.netmgt.poller.remote.support.DefaultPollerBackEnd.registerLocationMonitor(DefaultPollerBackEnd.java:421) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:309) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at $Proxy66.registerLocationMonitor(Unknown Source) at org.opennms.netmgt.poller.remote.support.ExceptionProtectedPollerBackEnd.registerLocationMonitor(ExceptionProtectedPollerBackEnd.java:166) ... 94 more 2012-03-19 13:22:30,107 INFO [main] org.opennms.poller.remote.Main$2: shouldExit: received property change event: started;oldvalue:false;newvalue:true 2012-03-19 13:22:30,107 INFO [main] org.opennms.poller.remote.Main$2: shouldExit: not exiting 2012-03-19 13:22:30,107 INFO [main] org.opennms.poller.remote.Main$2: shouldExit: received property change event: registered;oldvalue:false;newvalue:true 2012-03-19 13:22:30,108 INFO [main] org.opennms.poller.remote.Main$2: shouldExit: not exiting 2012-03-19 13:22:30,108 INFO [main] org.opennms.poller.remote.Main$2: shouldExit: received property change event: disconnected;oldvalue:false;newvalue:true 2012-03-19 13:22:30,108 INFO [main] org.opennms.poller.remote.Main$2: shouldExit: not exiting 2012-03-19 13:22:59,856 ERROR [PollerFrontEnd_Worker-2] org.opennms.netmgt.poller.remote.support.DefaultPollerFrontEnd$Disconnected: Unexpected exception occurred while checking in. java.lang.NullPointerException at org.opennms.netmgt.poller.remote.support.DefaultPollerFrontEnd.doCheckIn(DefaultPollerFrontEnd.java:447) at org.opennms.netmgt.poller.remote.support.DefaultPollerFrontEnd$RunningState.checkIn(DefaultPollerFrontEnd.java:190) at org.opennms.netmgt.poller.remote.support.DefaultPollerFrontEnd.checkConfig(DefaultPollerFrontEnd.java:429) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:273) at org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean$MethodInvokingJob.executeInternal(MethodInvokingJobDetailFactoryBean.java:264) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525) 2012-03-19 13:22:59,858 INFO [PollerFrontEnd_Worker-2] org.opennms.poller.remote.Main$2: shouldExit: received property change event: exitNecessary;oldvalue:false;newvalue:true 2012-03-19 13:22:59,858 INFO [PollerFrontEnd_Worker-2] org.opennms.poller.remote.Main$2: shouldExit: Exiting because exitNecessary is TRUE 2012-03-19 13:22:59,860 INFO [Thread-1] org.springframework.context.support.ClassPathXmlApplicationContext: Closing org.springframework.context.support.ClassPathXmlApplicationContext@5328f6ee: startup date [Mon Mar 19 13:22:29 EDT 2012]; root of context hierarchy 2012-03-19 13:22:59,860 INFO [Thread-1] org.springframework.context.support.DefaultLifecycleProcessor: Stopping beans in phase 2147483647 2012-03-19 13:22:59,861 INFO [Thread-1] org.quartz.core.QuartzScheduler: Scheduler PollerFrontEnd_$_NON_CLUSTERED paused. 2012-03-19 13:22:59,862 INFO [Thread-1] org.springframework.beans.factory.support.DefaultListableBeanFactory: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@595e2ccd: defining beans [frontEndConfigurer,pollerBackEnd,timeAdjustment,pollService,pollerSettings,pollerFrontEnd,checkConfigJobDetail,configCheckTrigger,scheduler,poller]; root of factory hierarchy 2012-03-19 13:22:59,863 INFO [Thread-1] org.springframework.scheduling.quartz.SchedulerFactoryBean: Shutting down Quartz Scheduler 2012-03-19 13:22:59,863 INFO [Thread-1] org.quartz.core.QuartzScheduler: Scheduler PollerFrontEnd_$_NON_CLUSTERED shutting down. 2012-03-19 13:22:59,863 INFO [Thread-1] org.quartz.core.QuartzScheduler: Scheduler PollerFrontEnd_$_NON_CLUSTERED paused. 2012-03-19 13:22:59,863 INFO [Thread-1] org.quartz.core.QuartzScheduler: Scheduler PollerFrontEnd_$_NON_CLUSTERED shutdown complete.