2019-06-10 14:07:19 Commons Daemon procrun stdout initialized * INFO 2019-06-10 14:07:32,695 System property dhis2.home not set (DefaultLocationManager.java [localhost-startStop-1]) * INFO 2019-06-10 14:07:32,698 Environment variable DHIS2_HOME not set (DefaultLocationManager.java [localhost-startStop-1]) * INFO 2019-06-10 14:07:32,698 Home directory set to /opt/dhis2 (DefaultLocationManager.java [localhost-startStop-1]) * INFO 2019-06-10 14:07:32,700 File C:\opt\dhis2\dhis.conf does not exist (DefaultLocationManager.java [localhost-startStop-1]) * WARN 2019-06-10 14:07:32,703 Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appstore.AppStoreManager': Unsatisfied dependency expressed through field 'appManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appmanager.AppManager': Unsatisfied dependency expressed through field 'appSettingManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tripleDesStringEncryptor' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'encryptionPassword' while setting bean property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded (AbstractApplicationContext.java [localhost-startStop-1]) * ERROR 2019-06-10 14:07:32,707 Context initialization failed (ContextLoader.java [localhost-startStop-1]) org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appstore.AppStoreManager': Unsatisfied dependency expressed through field 'appManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appmanager.AppManager': Unsatisfied dependency expressed through field 'appSettingManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tripleDesStringEncryptor' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'encryptionPassword' while setting bean property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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:761) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:744) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1851) 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.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appmanager.AppManager': Unsatisfied dependency expressed through field 'appSettingManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tripleDesStringEncryptor' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'encryptionPassword' while setting bean property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585) ... 28 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tripleDesStringEncryptor' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'encryptionPassword' while setting bean property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585) ... 41 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tripleDesStringEncryptor' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'encryptionPassword' while setting bean property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded 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:1531) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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:202) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:522) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:496) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:627) at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318) ... 52 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded 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:1531) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded 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:1531) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/dhis/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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) ... 87 more Caused by: java.lang.IllegalStateException: Properties could not be loaded at org.hisp.dhis.external.conf.DefaultDhisConfigurationProvider.loadDhisConf(DefaultDhisConfigurationProvider.java:332) at org.hisp.dhis.external.conf.DefaultDhisConfigurationProvider.init(DefaultDhisConfigurationProvider.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1758) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1695) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624) ... 94 more Caused by: org.hisp.dhis.external.location.LocationManagerException: File C:\opt\dhis2\dhis.conf cannot be read at org.hisp.dhis.external.location.DefaultLocationManager.getFileForReading(DefaultLocationManager.java:177) at org.hisp.dhis.external.location.DefaultLocationManager.getInputStream(DefaultLocationManager.java:142) at org.hisp.dhis.external.location.DefaultLocationManager.getInputStream(DefaultLocationManager.java:135) at org.hisp.dhis.external.conf.DefaultDhisConfigurationProvider.loadDhisConf(DefaultDhisConfigurationProvider.java:321) ... 102 more * INFO 2019-06-10 14:08:41,850 System property dhis2.home not set (DefaultLocationManager.java [localhost-startStop-2]) * INFO 2019-06-10 14:08:41,852 Environment variable DHIS2_HOME not set (DefaultLocationManager.java [localhost-startStop-2]) * INFO 2019-06-10 14:08:41,852 Home directory set to /opt/dhis2 (DefaultLocationManager.java [localhost-startStop-2]) * INFO 2019-06-10 14:08:41,854 File C:\opt\dhis2\dhis.conf does not exist (DefaultLocationManager.java [localhost-startStop-2]) * WARN 2019-06-10 14:08:41,856 Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appstore.AppStoreManager': Unsatisfied dependency expressed through field 'appManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appmanager.AppManager': Unsatisfied dependency expressed through field 'appSettingManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tripleDesStringEncryptor' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'encryptionPassword' while setting bean property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded (AbstractApplicationContext.java [localhost-startStop-2]) * ERROR 2019-06-10 14:08:41,858 Context initialization failed (ContextLoader.java [localhost-startStop-2]) org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appstore.AppStoreManager': Unsatisfied dependency expressed through field 'appManager'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appmanager.AppManager': Unsatisfied dependency expressed through field 'appSettingManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tripleDesStringEncryptor' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'encryptionPassword' while setting bean property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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:761) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:543) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:443) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:325) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4770) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5236) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:744) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:980) at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1851) 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.UnsatisfiedDependencyException: Error creating bean with name 'org.hisp.dhis.appmanager.AppManager': Unsatisfied dependency expressed through field 'appSettingManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tripleDesStringEncryptor' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'encryptionPassword' while setting bean property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:588) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:366) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585) ... 28 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.hisp.dhis.setting.SystemSettingManager': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tripleDesStringEncryptor' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'encryptionPassword' while setting bean property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:321) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1264) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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:202) at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1066) at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:585) ... 41 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tripleDesStringEncryptor' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'encryptionPassword' while setting bean property 'password'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded 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:1531) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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:202) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.autowireResource(CommonAnnotationBeanPostProcessor.java:522) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.getResource(CommonAnnotationBeanPostProcessor.java:496) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor$ResourceElement.getResourceToInject(CommonAnnotationBeanPostProcessor.java:627) at org.springframework.beans.factory.annotation.InjectionMetadata$InjectedElement.inject(InjectionMetadata.java:169) at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:318) ... 52 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encryptionPassword' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'hibernateConfigurationProvider' while setting bean property 'hibernateConfigurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded 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:1531) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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 'hibernateConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-hibernate-2.29.jar!/META-INF/dhis/beans.xml]: Cannot resolve reference to bean 'dhisConfigurationProvider' while setting bean property 'configurationProvider'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded 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:1531) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dhisConfigurationProvider' defined in URL [jar:file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%208.5/webapps/ROOT/WEB-INF/lib/dhis-support-external-2.29.jar!/META-INF/dhis/beans.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: Properties could not be loaded at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1628) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483) 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) ... 87 more Caused by: java.lang.IllegalStateException: Properties could not be loaded at org.hisp.dhis.external.conf.DefaultDhisConfigurationProvider.loadDhisConf(DefaultDhisConfigurationProvider.java:332) at org.hisp.dhis.external.conf.DefaultDhisConfigurationProvider.init(DefaultDhisConfigurationProvider.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1758) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1695) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624) ... 94 more Caused by: org.hisp.dhis.external.location.LocationManagerException: File C:\opt\dhis2\dhis.conf cannot be read at org.hisp.dhis.external.location.DefaultLocationManager.getFileForReading(DefaultLocationManager.java:177) at org.hisp.dhis.external.location.DefaultLocationManager.getInputStream(DefaultLocationManager.java:142) at org.hisp.dhis.external.location.DefaultLocationManager.getInputStream(DefaultLocationManager.java:135) at org.hisp.dhis.external.conf.DefaultDhisConfigurationProvider.loadDhisConf(DefaultDhisConfigurationProvider.java:321) ... 102 more