Installation

Narender Singh <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <CA+3+vp9hyM4otSMQ8C0bRzzbkVV6pDTN9a13VawpvQWdA1Bi6A@mail.gmail.com>
Gives error on First run after installation.

C:\Program Files\OpenNMS\bin>opennms.bat start

C:\Program Files\OpenNMS\bin>"C:\Program Files\Java\jdk1.7.0\bin\java" -Xmx256m
-XX:MaxPermSize=128m -Dopennms.home="C:/Program Files/OpenNMS" -jar "C:/Program
Files/OpenNMS/lib/opennms_bootstrap.jar" start
[DEBUG] System property 'opennms.library.jicmp' set to 'C:/Program Files/OpenNMS
/lib\jicmp.dll.  Attempting to load jicmp library from this location.
[INFO] Successfully loaded jicmp library.

An error occurred while attempting to start the "OpenNMS:Name=Capsd" service
(class org.opennms.netmgt.capsd.jmx.Capsd).  Shutting down and exiting.
javax.management.RuntimeMBeanException: org.springframework.beans.factory.access
.BootstrapException: Unable to return specified BeanFactory instance: factory
key [capsdContext], from group with resource name
[classpath*:beanRefContext.xml];
 nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'capsdContext' defined in URL
[jar:file:/C:/Program%
20Files/OpenNMS/lib/opennms-services-1.8.13.jar!/beanRefContext.xml]: Instantiat
ion of bean failed; nested exception is org.springframework.beans.BeanInstantiat
ionException: Could not instantiate bean class [org.springframework.context.supp
ort.ClassPathXmlApplicationContext]: Constructor threw exception; nested excepti
on is org.springframework.beans.factory.BeanCreationException: Error creating be
an with name 'xmlRpcNotifier' defined in class path resource [META-INF/opennms/a
pplicationContext-capsd.xml]: Cannot create inner bean 'util:property-path#19b18
e4' of type [org.springframework.beans.factory.config.PropertyPathFactoryBean] w
hile setting bean property 'xmlRpcEnabled'; nested exception is org.springframew
ork.beans.factory.BeanCreationException: Error creating bean with name 'util:pro
perty-path#19b18e4': Initialization of bean failed; nested exception is java.lan
g.IllegalArgumentException: error at ::0 can't find referenced pointcut capsdEve
ntHandler
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(Default
MBeanServerInterceptor.java:839)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBe
anException(DefaultMBeanServerInterceptor.java:852)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:821)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791
)
        at org.opennms.netmgt.vmmgr.Invoker.invoke(Invoker.java:338)
        at org.opennms.netmgt.vmmgr.Invoker.invokeMethods(Invoker.java:261)
        at org.opennms.netmgt.vmmgr.Starter.start(Starter.java:266)
        at org.opennms.netmgt.vmmgr.Starter.startDaemon(Starter.java:137)
        at org.opennms.netmgt.vmmgr.Controller.start(Controller.java:202)
        at org.opennms.netmgt.vmmgr.Controller.main(Controller.java:174)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:352)
        at java.lang.Thread.run(Thread.java:722)
Caused by: org.springframework.beans.factory.access.BootstrapException: Unable t
o return specified BeanFactory instance: factory key [capsdContext], from group
with resource name [classpath*:beanRefContext.xml]; nested exception is org.spri
ngframework.beans.factory.BeanCreationException: Error creating bean with name '
capsdContext' defined in URL [jar:file:/C:/Program%20Files/OpenNMS/lib/opennms-s
ervices-1.8.13.jar!/beanRefContext.xml]: Instantiation of bean failed; nested ex
ception is org.springframework.beans.BeanInstantiationException: Could not insta
ntiate bean class [org.springframework.context.support.ClassPathXmlApplicationCo
ntext]: Constructor threw exception; nested exception is org.springframework.bea
ns.factory.BeanCreationException: Error creating bean with name 'xmlRpcNotifier'
 defined in class path resource [META-INF/opennms/applicationContext-capsd.xml]:
 Cannot create inner bean 'util:property-path#19b18e4' of type [org.springframew
ork.beans.factory.config.PropertyPathFactoryBean] while setting bean property 'x
mlRpcEnabled'; nested exception is org.springframework.beans.factory.BeanCreatio
nException: Error creating bean with name 'util:property-path#19b18e4': Initiali
zation of bean failed; nested exception is java.lang.IllegalArgumentException: e
rror at ::0 can't find referenced pointcut capsdEventHandler
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.
useBeanFactory(SingletonBeanFactoryLocator.java:409)
        at org.opennms.core.utils.BeanUtils.getBeanFactory(BeanUtils.java:59)
        at org.opennms.core.utils.BeanUtils.getFactory(BeanUtils.java:101)
        at org.opennms.netmgt.daemon.AbstractSpringContextJmxServiceDaemon.init(
AbstractSpringContextJmxServiceDaemon.java:109)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMB
eanIntrospector.java:111)
        at com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMB
eanIntrospector.java:45)
        at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.j
ava:235)
        at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
        at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:250)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultM
BeanServerInterceptor.java:819)
        ... 13 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'capsdContext' defined in URL [jar:file:/C:/Program%20Files/Op
enNMS/lib/opennms-services-1.8.13.jar!/beanRefContext.xml]: Instantiation of bea
n failed; nested exception is org.springframework.beans.BeanInstantiationExcepti
on: Could not instantiate bean class [org.springframework.context.support.ClassP
athXmlApplicationContext]: Constructor threw exception; nested exception is org.
springframework.beans.factory.BeanCreationException: Error creating bean with na
me 'xmlRpcNotifier' defined in class path resource [META-INF/opennms/application
Context-capsd.xml]: Cannot create inner bean 'util:property-path#19b18e4' of typ
e [org.springframework.beans.factory.config.PropertyPathFactoryBean] while setti
ng bean property 'xmlRpcEnabled'; nested exception is org.springframework.beans.
factory.BeanCreationException: Error creating bean with name 'util:property-path
#19b18e4': Initialization of bean failed; nested exception is java.lang.IllegalA
rgumentException: error at ::0 can't find referenced pointcut capsdEventHandler
        at org.springframework.beans.factory.support.ConstructorResolver.autowir
eConstructor(ConstructorResolver.java:285)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:993)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:897)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:194)
        at org.springframework.context.support.AbstractApplicationContext.getBea
n(AbstractApplicationContext.java:1049)
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.
useBeanFactory(SingletonBeanFactoryLocator.java:397)
        ... 26 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not insta
ntiate bean class [org.springframework.context.support.ClassPathXmlApplicationCo
ntext]: Constructor threw exception; nested exception is org.springframework.bea
ns.factory.BeanCreationException: Error creating bean with name 'xmlRpcNotifier'
 defined in class path resource [META-INF/opennms/applicationContext-capsd.xml]:
 Cannot create inner bean 'util:property-path#19b18e4' of type [org.springframew
ork.beans.factory.config.PropertyPathFactoryBean] while setting bean property 'x
mlRpcEnabled'; nested exception is org.springframework.beans.factory.BeanCreatio
nException: Error creating bean with name 'util:property-path#19b18e4': Initiali
zation of bean failed; nested exception is java.lang.IllegalArgumentException: e
rror at ::0 can't find referenced pointcut capsdEventHandler
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
41)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy
.instantiate(SimpleInstantiationStrategy.java:107)
        at org.springframework.beans.factory.support.ConstructorResolver.autowir
eConstructor(ConstructorResolver.java:277)
        ... 36 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'xmlRpcNotifier' defined in class path resource [META-INF/open
nms/applicationContext-capsd.xml]: Cannot create inner bean 'util:property-path#
19b18e4' of type [org.springframework.beans.factory.config.PropertyPathFactoryBe
an] while setting bean property 'xmlRpcEnabled'; nested exception is org.springf
ramework.beans.factory.BeanCreationException: Error creating bean with name 'uti
l:property-path#19b18e4': Initialization of bean failed; nested exception is jav
a.lang.IllegalArgumentException: error at ::0 can't find referenced pointcut cap
sdEventHandler
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveInnerBean(BeanDefinitionValueResolver.java:281)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:288)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:190)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:563)
        at org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:872)
        at org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:423)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:139)
        at org.springframework.context.support.ClassPathXmlApplicationContext.<i
nit>(ClassPathXmlApplicationContext.java:105)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstruct
orAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingC
onstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:1
26)
        ... 38 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creati
ng bean with name 'util:property-path#19b18e4': Initialization of bean failed; n
ested exception is java.lang.IllegalArgumentException: error at ::0 can't find r
eferenced pointcut capsdEventHandler
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.BeanDefinitionValueResolver
.resolveInnerBean(BeanDefinitionValueResolver.java:270)
        ... 57 more
Caused by: java.lang.IllegalArgumentException: error at ::0 can't find reference
d pointcut capsdEventHandler
        at org.aspectj.weaver.tools.PointcutParser.parsePointcutExpression(Point
cutParser.java:317)
        at org.springframework.aop.aspectj.AspectJExpressionPointcut.buildPointc
utExpression(AspectJExpressionPointcut.java:204)
        at org.springframework.aop.aspectj.AspectJExpressionPointcut.checkReadyT
oMatch(AspectJExpressionPointcut.java:191)
        at org.springframework.aop.aspectj.AspectJExpressionPointcut.getClassFil
ter(AspectJExpressionPointcut.java:172)
        at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:200)
        at org.springframework.aop.support.AopUtils.canApply(AopUtils.java:254)
        at org.springframework.aop.support.AopUtils.findAdvisorsThatCanApply(Aop
Utils.java:286)
        at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyC
reator.findAdvisorsThatCanApply(AbstractAdvisorAutoProxyCreator.java:117)
        at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyC
reator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:87)
        at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyC
reator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:68)
        at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.
wrapIfNecessary(AbstractAutoProxyCreator.java:359)
        at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.
postProcessAfterInitialization(AbstractAutoProxyCreator.java:322)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFa
ctory.java:407)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1418)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
        ... 59 more

C:\Program Files\OpenNMS\bin>

------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.