OpenNMS 1.7.8 on Windows XP fail to startup, missing endpoint-configuration.xml under ./etc
2010-01-17 07:00:36 GMT
My env:
JDK: 1.6.0_18
OpenNMS: Latest Development release, 1.7.8 (standalone-opennms-installer-1.7.8.jar)
PostgreSQL: 8.4.2
After installaion completed, I just run 'cmd' and go to OpenNMS home dir, then type 'opennms.bat -v start',
but nothing happend, the server failed to startup.
By looking into the logs output, seems there is one conf file required, which is 'endpoint-configuration.xml',
and after put the file manually into ./etc directory, then restart opennms by 'opennms.bat -v start', the server starts up now.
related log info:
logs\daemon\eventd.log
---------------------------------
2010-01-17 11:02:18,468 DEBUG [Main] DefaultEndPointConfigurationDao: Loading End Point Type Configuration configuration from URL [file:C:/PROGRA~1/OpenNMS/etc/endpoint-configuration.xml]
2010-01-17 11:02:18,484 INFO [Main] DataSourceFactoryBean: Closing DataSourceFactory!!!
2010-01-17 11:02:18,484 INFO [Main] C3P0ConnectionFactory: Closing c3p0 pool
logs\daemon\manager.log
-------------------------------------
2010-01-17 11:02:18,515 ERROR [Main] Invoker: An error occurred invoking operation init on MBean OpenNMS:Name=Eventd: javax.management.RuntimeMBeanException: org.springframework.beans.factory.access.BootstrapException: Unable to return specified BeanFactory instance: factory key [eventDaemonContext], from group with resource name [classpath*:beanRefContext.xml]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'eventDaemonContext' defined in URL [jar:file:/C:/PROGRA~1/OpenNMS/lib/opennms-services-1.7.8.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'commonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'commonContext' defined in URL [jar:file:/C:/PROGRA~1/OpenNMS/lib/opennms-services-1.7.8.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daemonContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daemonContext' defined in URL [jar:file:/C:/PROGRA~1/OpenNMS/lib/opennms-services-1.7.8.jar!/beanRefContext.xml]: Cannot resolve reference to bean 'daoContext' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'daoContext' defined in URL [jar:file:/C:/PROGRA~1/OpenNMS/lib/opennms-dao-1.7.8.jar!/beanRefContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.support.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'endPointConfigDao' defined in URL [jar:file:/C:/PROGRA~1/OpenNMS/lib/opennms-link-provisioning-adapter-1.7.8.jar!/META-INF/opennms/component-dao.xml]: Invocation of init method failed; nested exception is org.opennms.netmgt.dao.JAXBDataAccessFailureException: Unable to unmarshal the endpoint configuration.; nested exception is java.io.FileNotFoundException: C:\PROGRA~1\OpenNMS\etc\endpoint-configuration.xml
2010-01-17 11:02:18,515 FATAL [Main] Starter: An error occurred while attempting to start the "OpenNMS:Name=Eventd" service (class org.opennms.netmgt.eventd.jmx.Eventd). Shutting down and exiting.
------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-install mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-install
RSS Feed