Re: OpenNMS Installation Error.

anji kunchapu <[email protected]>
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
Hi,

before executing this one.please restart postgresql.

On Wed, Apr 20, 2011 at 8:01 PM, chandan singh <[email protected]>wrote:

>
> I am getting below error while starting the opennms .
>
> Please someone check and advise me ..
>
>
> *Executing command: /opt/opennms/bin/runjava -r  --
> -Djava.endorsed.dirs=/opt/opennms/lib/endorsed   -Dopennms.home=/opt/opennms
> -Dcom.sun.management.jmxremote.port=18980
> -Dcom.sun.management.jmxremote.ssl=false
> -Dcom.sun.management.jmxremote.authenticate=false -Xmx8192m
> -Djava.net.preferIPv4Stack=true  -XX:MaxPermSize=128m -jar
> /opt/opennms/lib/opennms_bootstrap.jar  start
> [DEBUG] System property 'opennms.library.jicmp' set to
> '/usr/local/lib/libjicmp.so.  Attempting to load jicmp library from this
> location.
> [INFO] Successfully loaded jicmp library.
> An error occurred while attempting to start the "OpenNMS:Name=Eventd"
> service (class org.opennms.netmgt.eventd.jmx.Eventd).  Shutting down and
> exiting.
> 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:/opt/opennms/lib/opennms-services-1.8.11.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:/opt/opennms/lib/opennms-services-1.8.11.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:/opt/opennms/lib/opennms-services-1.8.11.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:/opt/opennms/lib/opennms-dao-1.8.11.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.BeanDefinitionStoreException: Invalid bean
> definition with name 'pendingForeignSourceRepository' defined in URL
> [jar:file:/opt/opennms/lib/opennms-provision-persistence-1.8.11.jar!/META-INF/opennms/component-dao.xml]:
> Could not resolve placeholder 'importer.requisition.dir'
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrow(DefaultMBeanServerInterceptor.java:856)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.rethrowMaybeMBeanException(DefaultMBeanServerInterceptor.java:869)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:838)
>         at
> com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
>         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:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at org.opennms.bootstrap.Bootstrap$3.run(Bootstrap.java:352)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: 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:/opt/opennms/lib/opennms-services-1.8.11.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:/opt/opennms/lib/opennms-services-1.8.11.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:/opt/opennms/lib/opennms-services-1.8.11.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:/opt/opennms/lib/opennms-dao-1.8.11.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.BeanDefinitionStoreException: Invalid bean
> definition with name 'pendingForeignSourceRepository' defined in URL
> [jar:file:/opt/opennms/lib/opennms-provision-persistence-1.8.11.jar!/META-INF/opennms/component-dao.xml]:
> Could not resolve placeholder 'importer.requisition.dir'
>         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:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         at
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
>         at
> com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
>         at
> com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
>         at
> com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
>         at
> com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
>         at
> com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
>         ... 13 more
>
>
>
> *
>
>
> On Wed, Apr 20, 2011 at 9:12 AM, Benjamin Reed <[email protected]> wrote:
>
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 4/20/11 12:10 AM, Den Arion wrote:
>> > I uninstalled Postgre v1.9 and installed postgres 1.8.4. Uninstalled
>> and removed files from opennms. I cleaned the installation of both
>> program, restart the server and started over.
>>
>> As I said, it's a configuration issue, not a problem with PostgreSQL.
>> Incidentally, Postgres 1 was released in 1995, I think you're talking
>> about PostgreSQL 8.4, or 9.0?  =)
>>
>> > Exception in thread "main" org.exolab.castor.xml.MarshalException: The
>> entity name must immediately follow the '&' in the entity
>> reference.{File: [not available]; line: 20; column: 40}
>>
>> This points to a problem with (most likely) your
>> opennms-datasources.xml, or another configuration file.  Look for
>> poorly-formed XML (an "&" without being properly-escaped).
>>
>> Try running "xmllint" on all of the .xml files in your $OPENNMS_HOME/etc
>> directory.
>>
>> - --
>> Benjamin Reed
>> The OpenNMS Group
>> http://www.opennms.org/
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iD8DBQFNrunnUu+jZtP2Zf4RAl5BAJ4+pDecRuBbMrJudr7o5SbJR4qwsACgmOpW
>> PmRQfN+L/kXKNpExqeobgAQ=
>> =0rLQ
>> -----END PGP SIGNATURE-----
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Benefiting from Server Virtualization: Beyond Initial Workload
>> Consolidation -- Increasing the use of server virtualization is a top
>> priority.Virtualization can reduce costs, simplify management, and improve
>> application availability and disaster protection. Learn more about
>> boosting
>> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
>> _______________________________________________
>> 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
>>
>
>
>
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve
> application availability and disaster protection. Learn more about boosting
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> 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
>



-- 
Regards,
Veeranjaneyulu.k
Mobile no:9000906581

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev

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