SAP Knowledge Base Article - Preview

2278994 - "Content not found" exception on logging into a cloned system

Symptom

The user cannot login and gets "content not found" exception during Netweaver server startup on an instance that was cloned,

In the logs, we get the following exception: 

[EXCEPTION] 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AuditDao' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.camilion.pa.bobject.audit.dao.jdbc.AuditDaoImpl]: Constructor threw exception; nested exception is com.camilion.base.CsiRuntimeException: An error has occurred trying to connect to the database to determine its type. 
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883) 
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) 
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) 
at java.security.AccessController.doPrivileged(Native Method) 
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) 
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264) 
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) 
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261) 
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) 
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164) 
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429) 
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728) 
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380) 
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255) 
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199) 
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45) 
at com.sap.engine.services.servlets_jsp.server.application.WebEvents.contextInitialized(WebEvents.java:120) 
at com.sap.engine.services.servlets_jsp.server.deploy.ApplicationThreadInitializer.run(ApplicationThreadInitializer.java:265) 
at com.sap.engine.services.deploy.server.utils.concurrent.impl.CleanRunnable.run(CleanRunnable.java:54) 
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) 
at java.security.AccessController.doPrivileged(Native Method) 
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185) 
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302) 
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.camilion.pa.bobject.audit.dao.jdbc.AuditDaoImpl]: Constructor threw exception; nested exception is com.camilion.base.CsiRuntimeException: An error has occurred trying to connect to the database to determine its type. 
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115) 
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:61) 
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:877) 
... 23 more 
Caused by: com.camilion.base.CsiRuntimeException: An error has occurred trying to connect to the database to determine its type. 
at com.camilion.util.JDBCUtil.initializeRdbmsName(JDBCUtil.java:1081) 
at com.camilion.util.JDBCUtil.getRdbmsName(JDBCUtil.java:1044) 
at com.camilion.pa.bobject.audit.dao.jdbc.resource.AuditDataDisplaySQL.<init>(AuditDataDisplaySQL.java:17) 
at com.camilion.pa.bobject.audit.dao.jdbc.AuditDaoImpl.<init>(AuditDaoImpl.java:46) 
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) 
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) 
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) 
at java.lang.reflect.Constructor.newInstance(Constructor.java:513) 
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100) 
... 25 more 


Read more...

Environment

  • Camilion ProductAuthority
  • SAP Underwriting for Insurance
  • Camilion Authority Suite
  • SAP Product and Quotation Management for Insurance

Product

Camilion Product Lifecycle all versions ; SAP Product Lifecycle Management for Insurance all versions ; SAP Product and Quotation Management for Insurance all versions ; SAP Underwriting for Insurance all versions

Keywords

contextInitialized,exception,AuditDao,database,connection,SQL,JDBC,csiroot,HTTP,request,servlet,restart,start server , KBA , FS-PRO , Product Management Insurance , FS-QUO , Quotation Management Insurance , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.