Guest

Preview Tool

Cisco Bug: CSCun81504 - Sometimes jdbc.properties is empty and it causes xmpstartup failed.

Last Modified

Feb 20, 2018

Products (1)

  • Cisco Prime Infrastructure

Known Affected Releases

2.2(0.0.69)

Description (partial)

Symptom:
Sometimes /opt/CSCOlumos/conf/jdbc.properties is becomes empty or corrupt and it causes xmpstartup failed.

ERROR :

Starting XMP
xmpHome: /opt/CSCOlumos
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:286)
        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:1079)
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
        ... 3 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.suppor
t.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is java.lang.NullPointerException
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:105)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278)
        ... 13 more
Caused by: java.lang.NullPointerException
        at com.cisco.xmp.datasource.spring.DataSourceConfigurer.convertProperties(DataSourceConfigurer.java:3

Conditions:
Sometimes /opt/CSCOlumos/conf/jdbc.properties is becomes empty or corrupt and it causes xmpstartup failed.

ERROR :

Starting XMP
xmpHome: /opt/CSCOlumos
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:286)
        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:1079)
        at org.springframework.beans.factory.access.SingletonBeanFactoryLocator.useBeanFactory(SingletonBeanFactoryLocator.java:397)
        ... 3 more
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.context.suppor
t.ClassPathXmlApplicationContext]: Constructor threw exception; nested exception is java.lang.NullPointerException
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:141)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:105)
        at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:278)
        ... 13 more
Caused by: java.lang.NullPointerException
        at com.cisco.xmp.datasource.spring.DataSourceConfigurer.convertProperties(DataSourceConfigurer.java:3

Related Community Discussions

PI pi212_20141118_01.ubf install fails
Hello I have a PI 2.1.1 server where I try to install the new update. The upload to the appliance worked, but it gave a weird java-script error message while uploading the file. In any case the file is now in my list and "Pending Restart" is yes. The thing is, I've already restarted the appliance 3 times by now, without success or an error message. I've also logged in onto the console and switched to Root mode. There I've found the update file and verified the md5sum, which is correct (I suspected ...
Latest activity: Mar 06, 2015
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.