Wow, this Ȋ̝̊̅§ so much of an eye opener for me. Thanks so much all.
Jason, please where can Ȋ̝̊̅ find or place the setenv.bat for windows t̶̲̥̅̊ợ̣̣̇̇̇ connect the dhis t̶̲̥̅̊ợ̣̣̇̇̇ the hibernate properties?
Thank you.
Sent from my BlackBerry® smartphone from Etisalat. Enjoy high speed mobile broadband on our easyblaze and plans for BlackBerry. Visit www.etisalat.com.ng for details.
DHIS2 folder e.g. C:\DHIS2 add this path as DHIS2_HOME on your environment variables. Place a hibernate.properties file here. The contents of the file are accessible here http://dhis2.org/development
Create a JAVA_HOME path variable as well and point it to the path of your JAVA library e.g. C:\Program Files\Java\jre7\
Also create a CATALINA_HOME variable and point to the path of your apache tomcat bin folder i.e. C:\apache-tomcat-7.0.39 in case you are using tomcat 7.0 and you have not installed it as a service.
To deploy just place the .war file in the webapps folder or use the tomcat manager to do the deployment.
What config does one need to do if dhis.war is deployed on windows using apache tomcat. I mean the hibernate.properties connection to be able to use postgres and the system&user environment variables.
I will advice not to put java, tomcat and mysql in the drive where windows is installed. This will improve the performance and the data will be safe if OS crash.
What config does one need to do if dhis.war is deployed on windows using apache tomcat. I mean the hibernate.properties connection to be able to use postgres and the system&user environment variables.