When i am trying to open the dhis2 software in web browser. It shows the following error. How to rectify it?
: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
···
Thanks & Regards
Chandrasekar Ravi Scientist - C, Data Manager
GHSA MAHA CDC Project
National Institute of Epidemiology, ICMR
127, Second Main Road, TNHB
Ayapakkam, Ambattur, Chennai – 77
do you have the environment variable DHIS2_HOME pointing to the directory containing either hibernate.properties or dhis.conf configuration files? Below is a link to a sample configuration file and you can just limit to the section ‘Database connection for PostgreSQL’
When i am trying to open the dhis2 software in web browser. It shows the following error. How to rectify it?
: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
Thanks & Regards
Scientist - C, Data Manager
GHSA MAHA CDC Project
National Institute of Epidemiology, ICMR
127, Second Main Road, TNHB
Ayapakkam, Ambattur, Chennai – 77
do you have the environment variable DHIS2_HOME pointing to the directory containing either hibernate.properties or dhis.conf configuration files? Below is a link to a sample configuration file and you can just limit to the section ‘Database connection for PostgreSQL’
When i am trying to open the dhis2 software in web browser. It shows the following error. How to rectify it?
: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
Thanks & Regards
Scientist - C, Data Manager
GHSA MAHA CDC Project
National Institute of Epidemiology, ICMR
127, Second Main Road, TNHB
Ayapakkam, Ambattur, Chennai – 77
most likely this is caused by wrong database credentials. Please double check that your database name, username and password are correct. You can try to log into your database using psql from the command line to verify.
do you have the environment variable DHIS2_HOME pointing to the directory containing either hibernate.properties or dhis.conf configuration files? Below is a link to a sample configuration file and you can just limit to the section ‘Database connection for PostgreSQL’
When i am trying to open the dhis2 software in web browser. It shows the following error. How to rectify it?
: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is org.hibernate.exception.GenericJDBCException: Unable to acquire JDBC Connection
Thanks & Regards
Scientist - C, Data Manager
GHSA MAHA CDC Project
National Institute of Epidemiology, ICMR
127, Second Main Road, TNHB
Ayapakkam, Ambattur, Chennai – 77