Tao Zhou | 17 Jan 08:00 2010
Picon

OpenNMS 1.7.8 on Windows XP fail to startup, missing endpoint-configuration.xml under ./etc

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
jps.sgtrock | 22 Jan 20:13 2010
Picon

Can a packaging expert take a look at bug #3503?

I opened this bug about 2 1/2 weeks ago.  I had initially mis-assigned
the component.  I think as webUI-Maps?  Anyhow, the guy who got it
marked it as WONTFIX for two reasons.  First, he didn't know what to
do with a Debian packaging error.  Second, he couldn't see a real
problem anyhow since he thought all I needed was the .jar file.
There's more detail in the bug description.

I re-opened the bug, changed the component to Build/Packaging, and
attempted to reassign the bug to the default assignee for the selected
component about a week ago.  Unfortunately, there's been no activity.
I'm concerned that the correct people don't even know the bug exists.

Please let me know what else I can do to help troubleshoot the problem.

TIA

------------------------------------------------------------------------------
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


Gmane