Hi Stimits,
Just to be sure, have you add the postgres driver info in the build.gradle
file?
Something like the following before running the gradlew:
runtime 'postgresql:postgresql:9.0-801.jdbc4'
Regards,
James Yong
stimits wrote
> Hi,
>
> I'm just trying to evaluate ofbiz for some simple POS needs (which is of
> course not really simple). I see there is a lot of ofbiz development
> activity, and thus a lot of documents which are actually out of date.
> Sometimes for example the instructions use "ant" directly and do not know
> of the gradlew command. In entityengine.xml information I sometimes see
> PostgreSQL info which refers to "org.ofbiz", but this is out of date and
> is actually "org.apache.ofbiz". The little things like that are derailing
> me.
>
> To make a long story short, I have PostgreSQL running on Fedora, and
> apache-ofbiz-16.11.01 working with Derby, but need to change to PostgreSQL
> (and PostgreSQL is up and running with both my regular user and with
> "ofbiz/ofbiz" name/pass), and getting connection refused (I can manually
> run commands such as createdb and dropdb without issue). Basically there
> is some small detail I'm missing and am wondering if there is current
> documentation on setting up ofbiz with PostgreSQL which I'm missing?
>
> I really like this documentation...but unfortunately it is wrong (out of
> date):
> https://cwiki.apache.org/confluence/display/OFBIZ/Apache+OFBiz+Technical+Production+Setup+Guide
>
> This in turn points out a lot of facts through here:
> https://cwiki.apache.org/confluence/display/OFBIZ/Entity+Engine+Configuration+Guide
>
> ...but I'm more interested in getting it working and that information
> appears to only be for people who already understand ofbiz setup (there
> are a lot of facts there and no example which works with 16.11.01). I was
> under the impression that if PostgreSQL were set up and the ofbiz
> name/pass is able to create tables then the "gradlew loadDefault" would be
> able to load sample data into PostgreSQL without manually creating each
> table. Am I incorrect on this? Do I need to manually create tables? I can
> attach my entityengine.xml edits, but wanted to know first if there are
> explicit instructions somewhere for the current 16.11.01 (I am not
> interested in customization and developing new apps, I just want to see
> the minimal sample data using PostgreSQL).
>
> Thanks!
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/Current-PostgreSQL-Instructions-tp4703200p4703202.html
Sent from the OFBiz - User mailing list archive at Nabble.com.