← Back to team overview

dhis2-devs team mailing list archive

Problem in starting apache TomCat 8 with dhis2.24 war file

 

Hello Dev,

When i am trying to deploy dhis2.24 war file available on www.dhis2.org on
TomCat 8, it comes with following exceptions as given below, can somebody
help me in this context ?

Exception Trace
------------------------

16-Sep-2016 10:39:00.348 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log No Spring
WebApplicationInitializer types detected on classpath
16-Sep-2016 10:39:00.444 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log Initializing Spring root
WebApplicationContext
16-Sep-2016 10:39:06.960 SEVERE [localhost-startStop-1]
org.apache.catalina.core.StandardContext.listenerStart Exception sending
context initialized event to listener instance of class
org.springframework.web.context.ContextLoaderListener
 org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.hisp.dhis.appstore.AppStoreManager': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.hisp.dhis.appmanager.AppManager
org.hisp.dhis.appstore.DefaultAppStoreManager.appManager; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.hisp.dhis.appmanager.AppManager': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.hisp.dhis.setting.SystemSettingManager
org.hisp.dhis.appmanager.DefaultAppManager.appSettingManager; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5189)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(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: Could
not autowire field: private org.hisp.dhis.appmanager.AppManager
org.hisp.dhis.appstore.DefaultAppStoreManager.appManager; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.hisp.dhis.appmanager.AppManager': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.hisp.dhis.setting.SystemSettingManager
org.hisp.dhis.appmanager.DefaultAppManager.appSettingManager; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 26 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.appmanager.AppManager': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.hisp.dhis.setting.SystemSettingManager
org.hisp.dhis.appmanager.DefaultAppManager.appSettingManager; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
... 28 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could
not autowire field: private org.hisp.dhis.setting.SystemSettingManager
org.hisp.dhis.appmanager.DefaultAppManager.appSettingManager; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 39 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
... 41 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could
not autowire field: private
org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 52 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
... 54 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 67 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 77 more
Caused by: org.hibernate.service.spi.ServiceException: Unable to create
requested service [org.hibernate.cache.spi.RegionFactory]
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:244)
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:208)
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:189)
at
org.hibernate.boot.internal.MetadataBuilderImpl$MetadataBuildingOptionsImpl.<init>(MetadataBuilderImpl.java:663)
at
org.hibernate.boot.internal.MetadataBuilderImpl.<init>(MetadataBuilderImpl.java:127)
at
org.hibernate.boot.MetadataSources.getMetadataBuilder(MetadataSources.java:135)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:655)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
at
org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:416)
at
org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:401)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
... 84 more
Caused by: org.hibernate.HibernateException: could not instantiate
RegionFactory [com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory]
at
org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:84)
at
org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:29)
at
org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88)
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:234)
... 95 more
Caused by:
org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable
to resolve name [com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory]
as strategy [org.hibernate.cache.spi.RegionFactory]
at
org.hibernate.boot.registry.selector.internal.StrategySelectorImpl.selectStrategyImplementor(StrategySelectorImpl.java:113)
at
org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:71)
... 98 more

16-Sep-2016 10:39:06.960 SEVERE [localhost-startStop-1]
org.apache.catalina.core.StandardContext.listenerStart Exception sending
context initialized event to listener instance of class
org.hisp.dhis.system.startup.StartupListener
 org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.hisp.dhis.appstore.AppStoreManager': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.hisp.dhis.appmanager.AppManager
org.hisp.dhis.appstore.DefaultAppStoreManager.appManager; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.hisp.dhis.appmanager.AppManager': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.hisp.dhis.setting.SystemSettingManager
org.hisp.dhis.appmanager.DefaultAppManager.appSettingManager; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:772)
at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:839)
at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:538)
at
org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:444)
at
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:326)
at
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4727)
at
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5189)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734)
at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:952)
at
org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1823)
at java.util.concurrent.Executors$RunnableAdapter.call(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: Could
not autowire field: private org.hisp.dhis.appmanager.AppManager
org.hisp.dhis.appstore.DefaultAppStoreManager.appManager; nested exception
is org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'org.hisp.dhis.appmanager.AppManager': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.hisp.dhis.setting.SystemSettingManager
org.hisp.dhis.appmanager.DefaultAppManager.appSettingManager; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 26 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.appmanager.AppManager': Injection of
autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.hisp.dhis.setting.SystemSettingManager
org.hisp.dhis.appmanager.DefaultAppManager.appSettingManager; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
... 28 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could
not autowire field: private org.hisp.dhis.setting.SystemSettingManager
org.hisp.dhis.appmanager.DefaultAppManager.appSettingManager; nested
exception is org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 39 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'org.hisp.dhis.setting.SystemSettingManager':
Injection of autowired dependencies failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Could not autowire
field: private org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
... 41 more
Caused by: org.springframework.beans.factory.BeanCreationException: Could
not autowire field: private
org.springframework.transaction.support.TransactionTemplate
org.hisp.dhis.setting.DefaultSystemSettingManager.transactionTemplate;
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:573)
at
org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
... 52 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'transactionTemplate' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'transactionManager' while setting bean
property 'transactionManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1116)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014)
at
org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:545)
... 54 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'transactionManager' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Cannot resolve reference to bean 'sessionFactory' while setting bean
property 'sessionFactory'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:108)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1481)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1226)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 67 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'sessionFactory' defined in URL
[jar:file:/D:/sorce/apache-tomcat-8.5.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.24.jar!/META-INF/dhis/beans.xml]:
Invocation of init method failed; nested exception is
org.hibernate.service.spi.ServiceException: Unable to create requested
service [org.hibernate.cache.spi.RegionFactory]
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1578)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:351)
... 77 more
Caused by: org.hibernate.service.spi.ServiceException: Unable to create
requested service [org.hibernate.cache.spi.RegionFactory]
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:244)
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.initializeService(AbstractServiceRegistryImpl.java:208)
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.getService(AbstractServiceRegistryImpl.java:189)
at
org.hibernate.boot.internal.MetadataBuilderImpl$MetadataBuildingOptionsImpl.<init>(MetadataBuilderImpl.java:663)
at
org.hibernate.boot.internal.MetadataBuilderImpl.<init>(MetadataBuilderImpl.java:127)
at
org.hibernate.boot.MetadataSources.getMetadataBuilder(MetadataSources.java:135)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:655)
at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
at
org.springframework.orm.hibernate5.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:416)
at
org.springframework.orm.hibernate5.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:401)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1637)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
... 84 more
Caused by: org.hibernate.HibernateException: could not instantiate
RegionFactory [com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory]
at
org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:84)
at
org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:29)
at
org.hibernate.boot.registry.internal.StandardServiceRegistryImpl.initiateService(StandardServiceRegistryImpl.java:88)
at
org.hibernate.service.internal.AbstractServiceRegistryImpl.createService(AbstractServiceRegistryImpl.java:234)
... 95 more
Caused by:
org.hibernate.boot.registry.selector.spi.StrategySelectionException: Unable
to resolve name [com.hazelcast.hibernate.HazelcastLocalCacheRegionFactory]
as strategy [org.hibernate.cache.spi.RegionFactory]
at
org.hibernate.boot.registry.selector.internal.StrategySelectorImpl.selectStrategyImplementor(StrategySelectorImpl.java:113)
at
org.hibernate.cache.internal.RegionFactoryInitiator.initiateService(RegionFactoryInitiator.java:71)
... 98 more

16-Sep-2016 10:39:06.977 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log Closing Spring root
WebApplicationContext
16-Sep-2016 10:39:07.190 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log ContextListener:
contextInitialized()
16-Sep-2016 10:39:07.190 INFO [localhost-startStop-1]
org.apache.catalina.core.ApplicationContext.log SessionListener:
contextInitialized()

-- 
Thanks and Regards

Brajesh Murari