Not able to installed openNMS on window XP
Ashok P <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <CAMpQCa9i3MJDkSoX8QVSsK36+3L3xW1hSe5S=WapqC6UkCeoMg@mail.gmail.com> |
Dear Team,
i have downloaded openNMS (standalone-opennms-installer-1.10.8-1) from the
download link.
using setup32.exe i am trying to installed the openNMS into my machine but
at step 3 (JDK path).
i have select the valid JDK path but still i am facing the same issue.
for more details please find the attached screenshot.
Please help me out to resolve this issue.
==================
i have download the source code and trying to run on local machine using
eclipse tomcat server 7.
while bring up the server the below exception thrown.
i have configure "configuration.properties" and only web apps files
(remaing files are in lib folder (jar files))
*opennms.home=D:/Projects/workspace/openNMS*
Please also help me on this issue.
SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.access.BootstrapException: Unable to
return specified BeanFactory instance: factory key [daoContext], from group
with resource name [classpath*:beanRefContext.xml]; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'daoContext' defined in URL
[jar:file:/D:/AshokWork/Ashok/Projects/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/openNMS/WEB-INF/lib/opennms-dao-1.8.5.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.BeanInitializationException: Could not
load properties; nested exception is *java.io.FileNotFoundException:
${opennms.home}\etc\model-importer.properties *(The system cannot find the
path specified)
at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:409)
at
org.springframework.web.context.ContextLoader.loadParentContext(ContextLoader.java:358)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:193)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4797)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5291)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
at
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'daoContext' defined in URL
[jar:file:/D:/AshokWork/Ashok/Projects/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/openNMS/WEB-INF/lib/opennms-dao-1.8.5.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.BeanInitializationException: Could not
load properties; nested exception is java.io.FileNotFoundException:
${opennms.home}\etc\model-importer.properties (The system cannot find the
path specified)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:285)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:194)
at
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1049)
at
org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
... 13 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not
instantiate bean class
[org.springframework.context.support.ClassPathXmlApplicationContext]:
Constructor threw exception; nested exception is
org.springframework.beans.factory.BeanInitializationException: Could not
load properties; nested exception is java.io.FileNotFoundException:
${opennms.home}\etc\model-importer.properties (The system cannot find the
path specified)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
at
org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:107)
at
org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:277)
... 23 more
Caused by: org.springframework.beans.factory.BeanInitializationException:
Could not load properties; nested exception is
java.io.FileNotFoundException:
${opennms.home}\etc\model-importer.properties (The system cannot find the
path specified)
at
org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78)
at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:640)
at
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:615)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:405)
at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
at
org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at
org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)
... 25 more
Caused by: java.io.FileNotFoundException:
${opennms.home}\etc\model-importer.properties (The system cannot find the
path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown
Source)
at
org.springframework.core.io.UrlResource.getInputStream(UrlResource.java:124)
at
org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:181)
at
org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161)
at
org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:69)
... 35 more
Thanks in advance
Ashok Parmar
issue.bmp
(image/bmp, 732.5 KB) - not displayed