dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #03080
Re: DHIS2_HOME in ubuntu
Hi,
which Ubuntu user are you logged in with when you're starting tomcat?
Olav
> Den 1. okt. 2013 kl. 23:24 skrev Seid Hussein <seid.hisp@xxxxxxxxx>:
>
> Hi all,
>
> After setting setenv.sh and pointing both JAVA_HOME and DHIS2_HOME to their appropriate places, and setting appropriate JAVA_OPTS, but still I cannot still get DHIS to use the postgresql database rather than H2 database.
>
> When I check catalina.out, it says that DHIS2_HOME points to the correct place but in the next line it says Directory /home/dhis/config is not writeable
>
>
> to give you an idea,
>
> hibernate.properties file is located in /home/dhis/config
>
> and here's the content of setenv.sh which is located in /usr/share/tomcat7/bin
>
> export JAVA_HOME='/usr/lib/jvm/java-7-oracle'
> export JAVA_OPTS='-Xmx2048m -Xms1024m -XX:MaxPermSize=500m -XX:PermSize=300m'
> export DHIS2_HOME='/home/dhis/config'
>
> does anyone have any idea what i'm doing wrong?
>
> For reference I've attached catalina.out
> <catalina.out>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help : https://help.launchpad.net/ListHelp
References