ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Taher Alkhateeb <slidingfilame...@gmail.com>
Subject Re: ANT vs Gradle (confused) Database setup and other configurations
Date Tue, 22 Nov 2016 17:02:15 GMT
Hi Clifford,

For the database part, the only thing you need to do is add a dependency to
the mysql/postgres/whatever database driver in build.gradle and off you go.
Search in Jcenter for the database driver suitable for the database
installed on your production system.

For example, under the dependencies section you can add something like this
for mysql:

runtime 'mysql:mysql-connector-java:5.1.36'

Of course you need to make sure the connector is compatible with _your_
version of the database installed


Taher Alkhateeb

On Nov 22, 2016 7:27 PM, "Clifford Williams" <cliffwilliams44@icloud.com>

> 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=“”/> in
> this file.
> #1 is probably the most pressing for us. As we see this a required for a
> production system.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message