Wow, I had not expedited a response so quickly form so many. Truly impressed.
Will follow these instructions and report back my progress.
Thank you all.
On Nov 22, 2016, at 09:08 AM, Taher Alkhateeb <[email protected]>
wrote:
We crossed on wire Valery, thank you for helping out :)
On Nov 22, 2016 8:04 PM, "Valery Ngah" <[email protected]> wrote:
Hi Clifford,
1. Database Setup: I was able to setup OFBiz 13.07 to use MySql (MariaDB)
successfully following the documentation. Now that I would like to work
with the latest code 16.11 I followed the Gradle docs which state >the same
process but there is no ${ofbiz install dir}/framework/entity/lib/jdbc
directory. The system works perfectly fine with the derby database but I
cannot find any way to use an alternate database? (Like I said, >confused)
simple add a mysql connector dependency to your build.gradle file and you
are good to go. If you have a custom module add the following to the
build.gradle file
pluginLibsRuntime "mysql:mysql-connector-java:5.1.36"
else just add
runtime "mysql:mysql-connector-java:5.1.36"
to the main build.gradle file.
From: Clifford Williams <[email protected]>
Reply-To: <[email protected]>
Date: Tuesday, November 22, 2016 at 08:27
To: <[email protected]>
Subject: ANT vs Gradle (confused) Database setup and other configurations
First let me say I have not been in this list for a while. My interest in
OFBiz has been renewed.
1. Database Setup: I was able to setup OFBiz 13.07 to use MySql (MariaDB)
successfully following the documentation. Now that I would like to work
with the latest code 16.11 I followed the Gradle docs which state the same
process but there is no ${ofbiz install dir}/framework/entity/lib/jdbc
directory. The system works perfectly fine with the derby database but I
cannot find any way to use an alternate database? (Like I said, confused)
2. IP configurations: I was able to get OFBiz (ant and gradle) to respond
to my hostname properly by modifying ${ofbiz install
dir}/framework/webapp/config/url.properties and set the host name for
8443 and 8080. I see many posts and web articles referencing ${ofbiz
install dir}/framework/base/config/ofbiz-containers.xml to set the IP
address of the system. i.e. to configure OFBiz with NGINX. Editing this
file I see no reference to <property name=“address” value=“0.0.0.0”/> in
this file.
#1 is probably the most pressing for us. As we see this a required for a
production system.