Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DC542200BC5 for ; Tue, 22 Nov 2016 18:02:43 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DAE60160B0C; Tue, 22 Nov 2016 17:02:43 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 314D9160AF1 for ; Tue, 22 Nov 2016 18:02:43 +0100 (CET) Received: (qmail 86272 invoked by uid 500); 22 Nov 2016 17:02:42 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 86252 invoked by uid 99); 22 Nov 2016 17:02:41 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Nov 2016 17:02:41 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 3C9D1CA18D for ; Tue, 22 Nov 2016 17:02:41 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.68 X-Spam-Level: * X-Spam-Status: No, score=1.68 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id AwJW1CPIsFrg for ; Tue, 22 Nov 2016 17:02:39 +0000 (UTC) Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com [209.85.216.176]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2CE165FC7E for ; Tue, 22 Nov 2016 17:02:39 +0000 (UTC) Received: by mail-qt0-f176.google.com with SMTP id w33so15996218qtc.3 for ; Tue, 22 Nov 2016 09:02:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=t8pGQ9aZSTmQ9ZbfAha0rl4RN6syfduudtj/XvMPswc=; b=oo7GidierlH5MOJQDtPd6vqgZsFLFWzGi5xMk/C1GaJZ7PcPAV0vu1mNOKGSDRhjKA 6luVwB0MatovNO+gWFI86LqYnDpTyfVwloZadVFGMfkEPuKSlLdeStw9x8NVJp2fZo2o BhHptz/dgBvc7DeGDAzV4DGm9Fh01sbtFV10dleEnHTK9kq68/jx9s0Vr+gj3A5/0OU5 sH/msc64VKJTiLr0JJcn7IikqnUtFifY4SalKhMr8cwh1iGihlLcU+nGzbKi3KNDWec3 TG/bLJHF47kyz9TSvHHy94J7nOH5k9mfmKT7hrkTTMFU5FlJ6vBFlnva1F+EbkpeBgxw NpRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=t8pGQ9aZSTmQ9ZbfAha0rl4RN6syfduudtj/XvMPswc=; b=FoGpXTIk1QpAjDBZ8YId/LWbxkF+bWKJqTTDoDE118wlSHv39JoF7XwiD/EUQcZNqs pxlTL+Ds6b4j1yfEVUso4rf3ziMM+HBflY6bdCj/MG+G4Ha+HiKN+zM/ittLLOpNxGOe 4LqqmR6/gAwiiiSUfEp00ajX7gMpLcD5IcH4wmBfAeygja6YKcsuvzvPx706+96YXtJH g7ihAr1SWDPE20Y0JE69jLTexy91SF9PFrAy+UfW4dbA/SrS9SJOW9v3JMx7FQiYf9Uj EE6fwnuBG+OuxL5vMdJBZmvP5sXchUZFV+phM1hIdiAM/EjZIHBAtV962JfA3eayMM2j kP7g== X-Gm-Message-State: AKaTC01J3zMB2LDfVgwl9sDI71fL409UzekmC6IBIHmNOIr3XqKRwTGd7Vs1lhzn6XEqFOWdMdvzzv+30TH25Q== X-Received: by 10.237.60.51 with SMTP id t48mr12479071qte.24.1479834135814; Tue, 22 Nov 2016 09:02:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.55.186.3 with HTTP; Tue, 22 Nov 2016 09:02:15 -0800 (PST) In-Reply-To: References: From: Taher Alkhateeb Date: Tue, 22 Nov 2016 20:02:15 +0300 Message-ID: Subject: Re: ANT vs Gradle (confused) Database setup and other configurations To: user@ofbiz.apache.org Content-Type: multipart/alternative; boundary=94eb2c0e60fefe10420541e6bb1d archived-at: Tue, 22 Nov 2016 17:02:44 -0000 --94eb2c0e60fefe10420541e6bb1d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 Cheers, Taher Alkhateeb On Nov 22, 2016 7:27 PM, "Clifford Williams" wrote: > 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 sam= e > 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 in > this file. > > #1 is probably the most pressing for us. As we see this a required for a > production system. > > > --94eb2c0e60fefe10420541e6bb1d--