I met a challenge when I try to deploy my Dhis2 war package on my laptop, but it’s weird that I cannot access the localhost. I changed the dhis.war to root.war, but it doesn’t work, just 404 status. Had anyone met this problem before, looking for your answers.
Hi Jins,
I confirmed my DHIS_HOME environment and it works well, from this error we can know it cannot set environment variable so that home directory set to /opt/dhis2. In Mac. /opt/dhis2 need permission and its werid that it just contains another dhis2 direcotry (like a Matryoshka
Hi Jins
I checked my configuration and ensure i configure it correctly. But it doesn’t work well. Here is my configuration, from this picture we can see DHIS2_HOME is pointed to the right position.
Hi Jins
This is my catalina.out file screen cut, and I also get the dhis.log which contains error message. I suppose this error means I need to configure my PostgreSQL. I put these errors too.
Hi Jins
i think i am nearly archieved to deploy my own dhis2 instance. I just meet the error of out of the shared memory. Can you give me some advice, i had changed my max_lockers_per_transaction = 1024. Here are my dhis.log and postgresql.conf
Great going, I cannot tell the problem without looking catalina.out but i have a hint for you.
export JAVA_OPTS='-Xmx7500m -Xms4000m'
Change this variable according to your system configuration. If you have around 8GB ram for your machine, perhaps you can make this around for testing purpose and do a restart of tomcat
Hi Jins
REALLY THANK YOU FOR YOUR HELP.
I have finished my deployment and appreciate your help. I will do my research in this system.
Hope we can communicate in the further time.