Re: Installation trouble

2020-01-26 Thread Jacques Le Roux

Le 26/01/2020 à 04:02, L a écrit :

Java version, that was it!

I installed jdk-1.8.0 and as soon as I defined JAVA_HOME it works.

I am able to list the tasks and run the app.  It works beautifully so far 
albeit a little complicated for a very small operation.

The "Demo and Test Setup Guide" could use some updating as it's pretty inaccurate and differs alot from the README. (I should know better adn to 
thoroughly read the README's)

I read the Release notes and was surprised no mention of the README updates.

    i.e. website says:  Download and install Java 1.8 or higher JDK/J2SDK
    README says:  Java Development Kit (JDK) version 8 (specifically)

    website says: run  ./gradlew loadAll
    README says ./gradlew loadDefault

etc., etc.

Thank you all for your help, suggestions, and putting up with all my newbie questions.  I'm just a sysadmin, not much of a developer so I don't know 
the ins & outs

of development environments all that well.

I realize the differences in JDK 11 from JDK 8 are HUGE and it will take significant effort to support the new java versions, especially since the 
new barriers Oracle put in place on the

official JDK's.

Regards,
Larry R

And yes, my email handle is 20 years old and predates DJ Trump. It refers to 
Euchre the card game.


Hi Larry,

Happy you finally got through, and thanks for the feedback. I'll have a look and will get 
back to you if necessary (notably about the "etc., etc." ;) )

Jacques



Re: Installation trouble

2020-01-25 Thread L

Java version, that was it!

I installed jdk-1.8.0 and as soon as I defined JAVA_HOME it works.

I am able to list the tasks and run the app.  It works beautifully so far 
albeit a little complicated for a very small operation.

The "Demo and Test Setup Guide" could use some updating as it's pretty 
inaccurate and differs alot from the README. (I should know better adn to thoroughly read 
the README's)
I read the Release notes and was surprised no mention of the README updates.

    i.e. website says:  Download and install Java 1.8 or higher JDK/J2SDK
    README says:  Java Development Kit (JDK) version 8 (specifically)

    website says: run  ./gradlew loadAll
README says ./gradlew loadDefault

etc., etc.

Thank you all for your help, suggestions, and putting up with all my newbie 
questions.  I'm just a sysadmin, not much of a developer so I don't know the ins 
& outs
of development environments all that well.

I realize the differences in JDK 11 from JDK 8 are HUGE and it will take 
significant effort to support the new java versions, especially since the new 
barriers Oracle put in place on the
official JDK's.

Regards,
Larry R

And yes, my email handle is 20 years old and predates DJ Trump. It refers to 
Euchre the card game.



Re: Installation trouble

2020-01-23 Thread Pierre Smits
I would be happy to tackle that one, but I am still waiting on somebody
willing to help me get some other contributions in.

Op do 23 jan. 2020 13:08 schreef Michael Brohl :

> Feel free to improve them if you see room for optimization, Pierre.
>
> Thanks,
>
> Michael Brohl
>
> ecomify GmbH - www.ecomify.de
>
>
> Am 23.01.20 um 13:00 schrieb Pierre Smits:
> > Perhaps the instructions are not as clesr as they could be...
> >
> > Op do 23 jan. 2020 12:38 schreef L :
> >
> >> ./gradlew loadAll doesn't do anything and supplies no output.  It just
> >> returns to the CLI instantly:
> >>
> >> [root@localhost ofbiz]# ./gradlew loadAll
> >> [root@localhost ofbiz]#
> >>
> >> On 1/22/20 9:08 AM, Parminder S. Lehal wrote:
> >>> The problem lies with the download files. Some of the zip files *even
> >>> the latest 16.11 zip) does not have gradlew file included in them. It
> >>> is pathetic that the final package file served  from the mirrors is
> >>> incomplete(May be someone will pay some attention to this decline
> >>> in quality). I also found this after wasting some time.  Easier
> >>> solution may be to use svn for downloading whatever version you are
> >>> looking for.
> >>> On Wed, 2020-01-22 at 10:32 +0100, Gil Portenseigne wrote:
>  On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote:
> > Hello,
> >
>  Typo :And you should be able to : $ ./gradlew loadAll
> >>
> >>
>
>


Re: Installation trouble

2020-01-23 Thread Daniel Watford
L,

As Nicolas said, only JDK8 is supported at the moment.

There is an improvement ticket regarding JDK11 here:
https://issues.apache.org/jira/browse/OFBIZ-10757

Please give JDK8 a try and see how you get on.

Thanks,

Dan.

On Thu, 23 Jan 2020 at 12:45, Nicolas Malin 
wrote:

> I found the problem :)
>
>  $ grep JDK README.md
>  The first requirement to run OFBiz is to have the Java Development
> Kit (JDK)
>  version 8 installed on your system (not just the JRE, but the full
> JDK) which
>  [JDK download](https://adoptopenjdk.net/)
>
> On your case, it's java 11.0.6 that unsupport by gradle 2.13
>
> Nicolas
>
> On 23/01/2020 13:35, Daniel Watford wrote:
> > I can reproduce the behaviour L is seeing in a docker container - see
> steps
> > below.
> >
> > I don't have a solution yet though, sorry.
> >
> >
> >
> > Repro Steps:
> >
> > docker run -t -i openjdk:11 /bin/bash
> >
> > root@b1d80d7d85ab:/# javac -version
> > javac 11.0.6
> > root@b1d80d7d85ab:/# echo $JAVA_HOME
> > /usr/local/openjdk-11root@b1d80d7d85ab:/# cd /usr/local
> > root@b1d80d7d85ab:/usr/local# wget
> > http://apache.mirror.anlx.net/ofbiz/apache-ofbiz-16.11.06.zip
> > --2020-01-23 12:25:08--
> > http://apache.mirror.anlx.net/ofbiz/apache-ofbiz-16.11.06.zip
> > Resolving apache.mirror.anlx.net (apache.mirror.anlx.net)...
> 81.91.108.244,
> > 81.91.108.244
> > Connecting to apache.mirror.anlx.net
> > (apache.mirror.anlx.net)|81.91.108.244|:80...
> > connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 31289456 (30M) [application/zip]
> > Saving to: ‘apache-ofbiz-16.11.06.zip’
> >
> > apache-ofbiz-16.11.06.zip
> >
> 100%[===>]
> > 29.84M 3.19MB/s in 9.4s
> >
> > 2020-01-23 12:25:17 (3.16 MB/s) - ‘apache-ofbiz-16.11.06.zip’ saved
> > [31289456/31289456]
> >
> > root@b1d80d7d85ab:/usr/local# unzip -q apache-ofbiz-16.11.06.zip
> > root@b1d80d7d85ab:/usr/local# mv apache-ofbiz-16.11.06 ofbiz
> > root@b1d80d7d85ab:/usr/local# cd ofbiz/
> > root@b1d80d7d85ab:/usr/local/ofbiz# ls -l
> > total 180
> > -rw-r--r-- 1 root staff 7136 Jul 11 2016 APACHE2_HEADER
> > -rw-r--r-- 1 root staff 13794 Oct 5 2016 LICENSE
> > -rw-r--r-- 1 root staff 166 Jun 19 2019 NOTICE
> > -rw-r--r-- 1 root staff 1747 Sep 23 2016 OPTIONAL_LIBRARIES
> > -rw-r--r-- 1 root staff 20560 Aug 23 08:12 README.md
> > -rw-r--r-- 1 root staff 26396 Aug 23 08:12 README.md.html
> > drwxr-sr-x 14 root staff 4096 Aug 27 09:30 applications
> > -rw-r--r-- 1 root staff 42437 Aug 9 13:02 build.gradle
> > -rw-r--r-- 1 root staff 1929 Sep 22 2016 common.gradle
> > drwxr-sr-x 19 root staff 4096 Aug 27 09:30 framework
> > drwxr-sr-x 3 root staff 4096 Aug 27 09:31 gradle
> > drwxr-sr-x 2 root staff 4096 Aug 27 09:30 hot-deploy
> > -rwxr-xr-x 1 root staff 1180 Aug 18 15:06 init-gradle-wrapper.bat
> > drwxr-sr-x 2 root staff 4096 Aug 27 09:30 lib
> > -rw-r--r-- 1 root staff 7 Aug 27 09:31 revision.txt
> > drwxr-sr-x 10 root staff 4096 Aug 27 09:30 runtime
> > -rw-r--r-- 1 root staff 1150 Jul 30 2016 settings.gradle
> > drwxr-sr-x 20 root staff 4096 Aug 27 09:31 specialpurpose
> > drwxr-sr-x 7 root staff 4096 Aug 27 09:30 themes
> > drwxr-sr-x 5 root staff 4096 Aug 27 09:30 tools
> >
> >
> > root@b1d80d7d85ab:/usr/local/ofbiz# ./gradle/init-gradle-wrapper.sh
> > === Prepare operation ===
> > /usr/local/ofbiz/gradle/wrapper/gradle-wrapper.jar not found, we
> download it
> > === Download gradle-wrapper.jar ===
> > === Download gradle-wrapper.properties ===
> > === Download script wrapper ===
> > === Control downloaded files ===
> > gradle/wrapper/gradle-wrapper.jar: OK
> > gradle/wrapper/gradle-wrapper.properties: OK
> > gradlew: OK
> > root@b1d80d7d85ab:/usr/local/ofbiz# ls -l
> > total 188
> > -rw-r--r-- 1 root staff 7136 Jul 11 2016 APACHE2_HEADER
> > -rw-r--r-- 1 root staff 13794 Oct 5 2016 LICENSE
> > -rw-r--r-- 1 root staff 166 Jun 19 2019 NOTICE
> > -rw-r--r-- 1 root staff 1747 Sep 23 2016 OPTIONAL_LIBRARIES
> > -rw-r--r-- 1 root staff 20560 Aug 23 08:12 README.md
> > -rw-r--r-- 1 root staff 26396 Aug 23 08:12 README.md.html
> > drwxr-sr-x 14 root staff 4096 Aug 27 09:30 applications
> > -rw-r--r-- 1 root staff 42437 Aug 9 13:02 build.gradle
> > -rw-r--r-- 1 root staff 1929 Sep 22 2016 common.gradle
> > drwxr-sr-x 19 root staff 4096 Aug 27 09:30 framework
> > drwxr-sr-x 3 root staff 4096 Aug 27 09:31 gradle
> > -rwxr--r-- 1 root staff 5875 Jan 23 12:26 gradlew
> > drwxr-sr-x 2 root staff 4096 Aug 27 09:30 hot-deploy
> > -rwxr-xr-x 1 root staff 1180 Aug 18 15:06 init-gradle-wrapper.bat
> > drwxr-sr-x 2 root staff 4096 Aug 27 09:30 lib
> > -rw-r--r-- 1 root staff 7 Aug 27 09:31 revision.txt
> > drwxr-sr-x 10 root staff 4096 Aug 27 09:30 runtime
> > -rw-r--r-- 1 root staff 1150 Jul 30 2016 settings.gradle
> > drwxr-sr-x 20 root staff 4096 Aug 27 09:31 specialpurpose
> > drwxr-sr-x 7 root staff 4096 Aug 27 09:30 themes
> > drwxr-sr-x 5 root staff 4096 

Re: Installation trouble

2020-01-23 Thread Nicolas Malin
I found the problem :)

 $ grep JDK README.md
 The first requirement to run OFBiz is to have the Java Development
Kit (JDK)
 version 8 installed on your system (not just the JRE, but the full
JDK) which
 [JDK download](https://adoptopenjdk.net/)

On your case, it's java 11.0.6 that unsupport by gradle 2.13

Nicolas

On 23/01/2020 13:35, Daniel Watford wrote:
> I can reproduce the behaviour L is seeing in a docker container - see steps
> below.
>
> I don't have a solution yet though, sorry.
>
>
>
> Repro Steps:
>
> docker run -t -i openjdk:11 /bin/bash
>
> root@b1d80d7d85ab:/# javac -version
> javac 11.0.6
> root@b1d80d7d85ab:/# echo $JAVA_HOME
> /usr/local/openjdk-11root@b1d80d7d85ab:/# cd /usr/local
> root@b1d80d7d85ab:/usr/local# wget
> http://apache.mirror.anlx.net/ofbiz/apache-ofbiz-16.11.06.zip
> --2020-01-23 12:25:08--
> http://apache.mirror.anlx.net/ofbiz/apache-ofbiz-16.11.06.zip
> Resolving apache.mirror.anlx.net (apache.mirror.anlx.net)... 81.91.108.244,
> 81.91.108.244
> Connecting to apache.mirror.anlx.net
> (apache.mirror.anlx.net)|81.91.108.244|:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 31289456 (30M) [application/zip]
> Saving to: ‘apache-ofbiz-16.11.06.zip’
>
> apache-ofbiz-16.11.06.zip
> 100%[===>]
> 29.84M 3.19MB/s in 9.4s
>
> 2020-01-23 12:25:17 (3.16 MB/s) - ‘apache-ofbiz-16.11.06.zip’ saved
> [31289456/31289456]
>
> root@b1d80d7d85ab:/usr/local# unzip -q apache-ofbiz-16.11.06.zip
> root@b1d80d7d85ab:/usr/local# mv apache-ofbiz-16.11.06 ofbiz
> root@b1d80d7d85ab:/usr/local# cd ofbiz/
> root@b1d80d7d85ab:/usr/local/ofbiz# ls -l
> total 180
> -rw-r--r-- 1 root staff 7136 Jul 11 2016 APACHE2_HEADER
> -rw-r--r-- 1 root staff 13794 Oct 5 2016 LICENSE
> -rw-r--r-- 1 root staff 166 Jun 19 2019 NOTICE
> -rw-r--r-- 1 root staff 1747 Sep 23 2016 OPTIONAL_LIBRARIES
> -rw-r--r-- 1 root staff 20560 Aug 23 08:12 README.md
> -rw-r--r-- 1 root staff 26396 Aug 23 08:12 README.md.html
> drwxr-sr-x 14 root staff 4096 Aug 27 09:30 applications
> -rw-r--r-- 1 root staff 42437 Aug 9 13:02 build.gradle
> -rw-r--r-- 1 root staff 1929 Sep 22 2016 common.gradle
> drwxr-sr-x 19 root staff 4096 Aug 27 09:30 framework
> drwxr-sr-x 3 root staff 4096 Aug 27 09:31 gradle
> drwxr-sr-x 2 root staff 4096 Aug 27 09:30 hot-deploy
> -rwxr-xr-x 1 root staff 1180 Aug 18 15:06 init-gradle-wrapper.bat
> drwxr-sr-x 2 root staff 4096 Aug 27 09:30 lib
> -rw-r--r-- 1 root staff 7 Aug 27 09:31 revision.txt
> drwxr-sr-x 10 root staff 4096 Aug 27 09:30 runtime
> -rw-r--r-- 1 root staff 1150 Jul 30 2016 settings.gradle
> drwxr-sr-x 20 root staff 4096 Aug 27 09:31 specialpurpose
> drwxr-sr-x 7 root staff 4096 Aug 27 09:30 themes
> drwxr-sr-x 5 root staff 4096 Aug 27 09:30 tools
>
>
> root@b1d80d7d85ab:/usr/local/ofbiz# ./gradle/init-gradle-wrapper.sh
> === Prepare operation ===
> /usr/local/ofbiz/gradle/wrapper/gradle-wrapper.jar not found, we download it
> === Download gradle-wrapper.jar ===
> === Download gradle-wrapper.properties ===
> === Download script wrapper ===
> === Control downloaded files ===
> gradle/wrapper/gradle-wrapper.jar: OK
> gradle/wrapper/gradle-wrapper.properties: OK
> gradlew: OK
> root@b1d80d7d85ab:/usr/local/ofbiz# ls -l
> total 188
> -rw-r--r-- 1 root staff 7136 Jul 11 2016 APACHE2_HEADER
> -rw-r--r-- 1 root staff 13794 Oct 5 2016 LICENSE
> -rw-r--r-- 1 root staff 166 Jun 19 2019 NOTICE
> -rw-r--r-- 1 root staff 1747 Sep 23 2016 OPTIONAL_LIBRARIES
> -rw-r--r-- 1 root staff 20560 Aug 23 08:12 README.md
> -rw-r--r-- 1 root staff 26396 Aug 23 08:12 README.md.html
> drwxr-sr-x 14 root staff 4096 Aug 27 09:30 applications
> -rw-r--r-- 1 root staff 42437 Aug 9 13:02 build.gradle
> -rw-r--r-- 1 root staff 1929 Sep 22 2016 common.gradle
> drwxr-sr-x 19 root staff 4096 Aug 27 09:30 framework
> drwxr-sr-x 3 root staff 4096 Aug 27 09:31 gradle
> -rwxr--r-- 1 root staff 5875 Jan 23 12:26 gradlew
> drwxr-sr-x 2 root staff 4096 Aug 27 09:30 hot-deploy
> -rwxr-xr-x 1 root staff 1180 Aug 18 15:06 init-gradle-wrapper.bat
> drwxr-sr-x 2 root staff 4096 Aug 27 09:30 lib
> -rw-r--r-- 1 root staff 7 Aug 27 09:31 revision.txt
> drwxr-sr-x 10 root staff 4096 Aug 27 09:30 runtime
> -rw-r--r-- 1 root staff 1150 Jul 30 2016 settings.gradle
> drwxr-sr-x 20 root staff 4096 Aug 27 09:31 specialpurpose
> drwxr-sr-x 7 root staff 4096 Aug 27 09:30 themes
> drwxr-sr-x 5 root staff 4096 Aug 27 09:30 tools
>
>
> Windows Terminal
> root@b1d80d7d85ab:/usr/local/ofbiz# ./gradlew cleanAll loadDefault
> Downloading https://services.gradle.org/distributions/gradle-2.13-bin.zip
> .
> 

Re: Installation trouble

2020-01-23 Thread Daniel Watford
If I use open-jdk-8 rather than 11 then the gradlew command works fine for
me.

Try building under:
docker run -t -i openjdk:8 /bin/bash
to check.

On Thu, 23 Jan 2020 at 12:35, Daniel Watford  wrote:

> I can reproduce the behaviour L is seeing in a docker container - see
> steps below.
>
> I don't have a solution yet though, sorry.
>
>
>
> Repro Steps:
>
> docker run -t -i openjdk:11 /bin/bash
>
> root@b1d80d7d85ab:/# javac -version
> javac 11.0.6
> root@b1d80d7d85ab:/# echo $JAVA_HOME
> /usr/local/openjdk-11root@b1d80d7d85ab:/# cd /usr/local
> root@b1d80d7d85ab:/usr/local# wget
> http://apache.mirror.anlx.net/ofbiz/apache-ofbiz-16.11.06.zip
> --2020-01-23 12:25:08--
> http://apache.mirror.anlx.net/ofbiz/apache-ofbiz-16.11.06.zip
> Resolving apache.mirror.anlx.net (apache.mirror.anlx.net)...
> 81.91.108.244, 81.91.108.244
> Connecting to apache.mirror.anlx.net 
> (apache.mirror.anlx.net)|81.91.108.244|:80...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 31289456 (30M) [application/zip]
> Saving to: ‘apache-ofbiz-16.11.06.zip’
>
> apache-ofbiz-16.11.06.zip
> 100%[===>]
> 29.84M 3.19MB/s in 9.4s
>
> 2020-01-23 12:25:17 (3.16 MB/s) - ‘apache-ofbiz-16.11.06.zip’ saved
> [31289456/31289456]
>
> root@b1d80d7d85ab:/usr/local# unzip -q apache-ofbiz-16.11.06.zip
> root@b1d80d7d85ab:/usr/local# mv apache-ofbiz-16.11.06 ofbiz
> root@b1d80d7d85ab:/usr/local# cd ofbiz/
> root@b1d80d7d85ab:/usr/local/ofbiz# ls -l
> total 180
> -rw-r--r-- 1 root staff 7136 Jul 11 2016 APACHE2_HEADER
> -rw-r--r-- 1 root staff 13794 Oct 5 2016 LICENSE
> -rw-r--r-- 1 root staff 166 Jun 19 2019 NOTICE
> -rw-r--r-- 1 root staff 1747 Sep 23 2016 OPTIONAL_LIBRARIES
> -rw-r--r-- 1 root staff 20560 Aug 23 08:12 README.md
> -rw-r--r-- 1 root staff 26396 Aug 23 08:12 README.md.html
> drwxr-sr-x 14 root staff 4096 Aug 27 09:30 applications
> -rw-r--r-- 1 root staff 42437 Aug 9 13:02 build.gradle
> -rw-r--r-- 1 root staff 1929 Sep 22 2016 common.gradle
> drwxr-sr-x 19 root staff 4096 Aug 27 09:30 framework
> drwxr-sr-x 3 root staff 4096 Aug 27 09:31 gradle
> drwxr-sr-x 2 root staff 4096 Aug 27 09:30 hot-deploy
> -rwxr-xr-x 1 root staff 1180 Aug 18 15:06 init-gradle-wrapper.bat
> drwxr-sr-x 2 root staff 4096 Aug 27 09:30 lib
> -rw-r--r-- 1 root staff 7 Aug 27 09:31 revision.txt
> drwxr-sr-x 10 root staff 4096 Aug 27 09:30 runtime
> -rw-r--r-- 1 root staff 1150 Jul 30 2016 settings.gradle
> drwxr-sr-x 20 root staff 4096 Aug 27 09:31 specialpurpose
> drwxr-sr-x 7 root staff 4096 Aug 27 09:30 themes
> drwxr-sr-x 5 root staff 4096 Aug 27 09:30 tools
>
>
> root@b1d80d7d85ab:/usr/local/ofbiz# ./gradle/init-gradle-wrapper.sh
> === Prepare operation ===
> /usr/local/ofbiz/gradle/wrapper/gradle-wrapper.jar not found, we download
> it
> === Download gradle-wrapper.jar ===
> === Download gradle-wrapper.properties ===
> === Download script wrapper ===
> === Control downloaded files ===
> gradle/wrapper/gradle-wrapper.jar: OK
> gradle/wrapper/gradle-wrapper.properties: OK
> gradlew: OK
> root@b1d80d7d85ab:/usr/local/ofbiz# ls -l
> total 188
> -rw-r--r-- 1 root staff 7136 Jul 11 2016 APACHE2_HEADER
> -rw-r--r-- 1 root staff 13794 Oct 5 2016 LICENSE
> -rw-r--r-- 1 root staff 166 Jun 19 2019 NOTICE
> -rw-r--r-- 1 root staff 1747 Sep 23 2016 OPTIONAL_LIBRARIES
> -rw-r--r-- 1 root staff 20560 Aug 23 08:12 README.md
> -rw-r--r-- 1 root staff 26396 Aug 23 08:12 README.md.html
> drwxr-sr-x 14 root staff 4096 Aug 27 09:30 applications
> -rw-r--r-- 1 root staff 42437 Aug 9 13:02 build.gradle
> -rw-r--r-- 1 root staff 1929 Sep 22 2016 common.gradle
> drwxr-sr-x 19 root staff 4096 Aug 27 09:30 framework
> drwxr-sr-x 3 root staff 4096 Aug 27 09:31 gradle
> -rwxr--r-- 1 root staff 5875 Jan 23 12:26 gradlew
> drwxr-sr-x 2 root staff 4096 Aug 27 09:30 hot-deploy
> -rwxr-xr-x 1 root staff 1180 Aug 18 15:06 init-gradle-wrapper.bat
> drwxr-sr-x 2 root staff 4096 Aug 27 09:30 lib
> -rw-r--r-- 1 root staff 7 Aug 27 09:31 revision.txt
> drwxr-sr-x 10 root staff 4096 Aug 27 09:30 runtime
> -rw-r--r-- 1 root staff 1150 Jul 30 2016 settings.gradle
> drwxr-sr-x 20 root staff 4096 Aug 27 09:31 specialpurpose
> drwxr-sr-x 7 root staff 4096 Aug 27 09:30 themes
> drwxr-sr-x 5 root staff 4096 Aug 27 09:30 tools
>
>
> Windows Terminal
> root@b1d80d7d85ab:/usr/local/ofbiz# ./gradlew cleanAll loadDefault
> Downloading https://services.gradle.org/distributions/gradle-2.13-bin.zip
>
> .
>
> .
>
> 

Re: Installation trouble

2020-01-23 Thread Nicolas Malin
do you analyse the gradlew script present ?

    $ file gradlew
    gradlew: a /usr/bin/env sh script, ASCII text executable   

    $ ls -l gradlew
    -rwxrwxr-x 1 mnicolas mnicolas 6128 - gradlew

From my part I run form fresh download the process and all work fine.
Just I never run it as root.

I can also try to find the problem with :

$ ./gradlew --debug

Nicolas

On 22/01/2020 17:15, L wrote:
> ./gradlew loadAll doesn't do anything and supplies no output.  It just
> returns to the CLI instantly:
>
> [root@localhost ofbiz]# ./gradlew loadAll
> [root@localhost ofbiz]#
>
> On 1/22/20 9:08 AM, Parminder S. Lehal wrote:
>> The problem lies with the download files. Some of the zip files *even
>> the latest 16.11 zip) does not have gradlew file included in them. It
>> is pathetic that the final package file served  from the mirrors is
>> incomplete(May be someone will pay some attention to this decline
>> in quality). I also found this after wasting some time.  Easier
>> solution may be to use svn for downloading whatever version you are
>> looking for.
>> On Wed, 2020-01-22 at 10:32 +0100, Gil Portenseigne wrote:
>>> On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote:
 Hello,

>>> Typo :And you should be able to : $ ./gradlew loadAll
>
>
>


pEpkey.asc
Description: application/pgp-keys


Re: Installation trouble

2020-01-23 Thread Daniel Watford
I can reproduce the behaviour L is seeing in a docker container - see steps
below.

I don't have a solution yet though, sorry.



Repro Steps:

docker run -t -i openjdk:11 /bin/bash

root@b1d80d7d85ab:/# javac -version
javac 11.0.6
root@b1d80d7d85ab:/# echo $JAVA_HOME
/usr/local/openjdk-11root@b1d80d7d85ab:/# cd /usr/local
root@b1d80d7d85ab:/usr/local# wget
http://apache.mirror.anlx.net/ofbiz/apache-ofbiz-16.11.06.zip
--2020-01-23 12:25:08--
http://apache.mirror.anlx.net/ofbiz/apache-ofbiz-16.11.06.zip
Resolving apache.mirror.anlx.net (apache.mirror.anlx.net)... 81.91.108.244,
81.91.108.244
Connecting to apache.mirror.anlx.net
(apache.mirror.anlx.net)|81.91.108.244|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 31289456 (30M) [application/zip]
Saving to: ‘apache-ofbiz-16.11.06.zip’

apache-ofbiz-16.11.06.zip
100%[===>]
29.84M 3.19MB/s in 9.4s

2020-01-23 12:25:17 (3.16 MB/s) - ‘apache-ofbiz-16.11.06.zip’ saved
[31289456/31289456]

root@b1d80d7d85ab:/usr/local# unzip -q apache-ofbiz-16.11.06.zip
root@b1d80d7d85ab:/usr/local# mv apache-ofbiz-16.11.06 ofbiz
root@b1d80d7d85ab:/usr/local# cd ofbiz/
root@b1d80d7d85ab:/usr/local/ofbiz# ls -l
total 180
-rw-r--r-- 1 root staff 7136 Jul 11 2016 APACHE2_HEADER
-rw-r--r-- 1 root staff 13794 Oct 5 2016 LICENSE
-rw-r--r-- 1 root staff 166 Jun 19 2019 NOTICE
-rw-r--r-- 1 root staff 1747 Sep 23 2016 OPTIONAL_LIBRARIES
-rw-r--r-- 1 root staff 20560 Aug 23 08:12 README.md
-rw-r--r-- 1 root staff 26396 Aug 23 08:12 README.md.html
drwxr-sr-x 14 root staff 4096 Aug 27 09:30 applications
-rw-r--r-- 1 root staff 42437 Aug 9 13:02 build.gradle
-rw-r--r-- 1 root staff 1929 Sep 22 2016 common.gradle
drwxr-sr-x 19 root staff 4096 Aug 27 09:30 framework
drwxr-sr-x 3 root staff 4096 Aug 27 09:31 gradle
drwxr-sr-x 2 root staff 4096 Aug 27 09:30 hot-deploy
-rwxr-xr-x 1 root staff 1180 Aug 18 15:06 init-gradle-wrapper.bat
drwxr-sr-x 2 root staff 4096 Aug 27 09:30 lib
-rw-r--r-- 1 root staff 7 Aug 27 09:31 revision.txt
drwxr-sr-x 10 root staff 4096 Aug 27 09:30 runtime
-rw-r--r-- 1 root staff 1150 Jul 30 2016 settings.gradle
drwxr-sr-x 20 root staff 4096 Aug 27 09:31 specialpurpose
drwxr-sr-x 7 root staff 4096 Aug 27 09:30 themes
drwxr-sr-x 5 root staff 4096 Aug 27 09:30 tools


root@b1d80d7d85ab:/usr/local/ofbiz# ./gradle/init-gradle-wrapper.sh
=== Prepare operation ===
/usr/local/ofbiz/gradle/wrapper/gradle-wrapper.jar not found, we download it
=== Download gradle-wrapper.jar ===
=== Download gradle-wrapper.properties ===
=== Download script wrapper ===
=== Control downloaded files ===
gradle/wrapper/gradle-wrapper.jar: OK
gradle/wrapper/gradle-wrapper.properties: OK
gradlew: OK
root@b1d80d7d85ab:/usr/local/ofbiz# ls -l
total 188
-rw-r--r-- 1 root staff 7136 Jul 11 2016 APACHE2_HEADER
-rw-r--r-- 1 root staff 13794 Oct 5 2016 LICENSE
-rw-r--r-- 1 root staff 166 Jun 19 2019 NOTICE
-rw-r--r-- 1 root staff 1747 Sep 23 2016 OPTIONAL_LIBRARIES
-rw-r--r-- 1 root staff 20560 Aug 23 08:12 README.md
-rw-r--r-- 1 root staff 26396 Aug 23 08:12 README.md.html
drwxr-sr-x 14 root staff 4096 Aug 27 09:30 applications
-rw-r--r-- 1 root staff 42437 Aug 9 13:02 build.gradle
-rw-r--r-- 1 root staff 1929 Sep 22 2016 common.gradle
drwxr-sr-x 19 root staff 4096 Aug 27 09:30 framework
drwxr-sr-x 3 root staff 4096 Aug 27 09:31 gradle
-rwxr--r-- 1 root staff 5875 Jan 23 12:26 gradlew
drwxr-sr-x 2 root staff 4096 Aug 27 09:30 hot-deploy
-rwxr-xr-x 1 root staff 1180 Aug 18 15:06 init-gradle-wrapper.bat
drwxr-sr-x 2 root staff 4096 Aug 27 09:30 lib
-rw-r--r-- 1 root staff 7 Aug 27 09:31 revision.txt
drwxr-sr-x 10 root staff 4096 Aug 27 09:30 runtime
-rw-r--r-- 1 root staff 1150 Jul 30 2016 settings.gradle
drwxr-sr-x 20 root staff 4096 Aug 27 09:31 specialpurpose
drwxr-sr-x 7 root staff 4096 Aug 27 09:30 themes
drwxr-sr-x 5 root staff 4096 Aug 27 09:30 tools


Windows Terminal
root@b1d80d7d85ab:/usr/local/ofbiz# ./gradlew cleanAll loadDefault
Downloading https://services.gradle.org/distributions/gradle-2.13-bin.zip
.
.
.
.

Re: Installation trouble

2020-01-23 Thread Michael Brohl

Feel free to improve them if you see room for optimization, Pierre.

Thanks,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 23.01.20 um 13:00 schrieb Pierre Smits:

Perhaps the instructions are not as clesr as they could be...

Op do 23 jan. 2020 12:38 schreef L :


./gradlew loadAll doesn't do anything and supplies no output.  It just
returns to the CLI instantly:

[root@localhost ofbiz]# ./gradlew loadAll
[root@localhost ofbiz]#

On 1/22/20 9:08 AM, Parminder S. Lehal wrote:

The problem lies with the download files. Some of the zip files *even
the latest 16.11 zip) does not have gradlew file included in them. It
is pathetic that the final package file served  from the mirrors is
incomplete(May be someone will pay some attention to this decline
in quality). I also found this after wasting some time.  Easier
solution may be to use svn for downloading whatever version you are
looking for.
On Wed, 2020-01-22 at 10:32 +0100, Gil Portenseigne wrote:

On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote:

Hello,


Typo :And you should be able to : $ ./gradlew loadAll







smime.p7s
Description: S/MIME Cryptographic Signature


Re: Installation trouble

2020-01-23 Thread Michael Brohl

Hi,

as you might have noticed, my answer was addressed to Parminder's 
answer, particularily the fact that the gradlew file is not included.


I may come back to your topics if noone else beats me to it.

Best regards,

Michael Brohl

ecomify GmbH - www.ecomify.de


Am 22.01.20 um 20:50 schrieb L:

And this still does not help why my gradlew seems to do nothing.

I've been through the README.md and I met all the requirements (not 
many listed).

What in the README did I miss?

Excerpts from the README:

The first requirement to run OFBiz is to have the Java Development Kit 
(JDK)
version 8 installed on your system (not just the JRE, but the full 
JDK) which

you can download from the below link.

    [root@localhost ~]# java -version
    openjdk version "11.0.6" 2020-01-14 LTS
    OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
    OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, 
sharing)


The second requirement is to setup the Gradle wrapper files that are used
build the system.
order to fulfill this requirement, you can run the following command:

Unix-like OS:
`./gradle/init-gradle-wrapper`

    [root@localhost ~]# cd /usr/local/ofbiz/
    [root@localhost ofbiz]# ./gradle/init-gradle-wrapper.sh
 === Prepare operation ===
    /usr/local/ofbiz/gradle/wrapper/gradle-wrapper.jar not found, we 
download it

 ===     Download gradle-wrapper.jar ===
 === Download gradle-wrapper.properties ===
 === Download script wrapper ===
 === Control downloaded files ===
    gradle/wrapper/gradle-wrapper.jar: OK
    gradle/wrapper/gradle-wrapper.properties: OK
    gradlew: OK

So far, so good ( I think, it only took 3 seconds and no other 
output).  Then:


Quick start
---

To quickly install and fire-up OFBiz, please follow the below 
instructions

from the command line at the OFBiz top level directory (folder)

### Prepare OFBiz:
Unix-like OS:
`./gradlew cleanAll loadDefault`

    [root@localhost ofbiz]# ./gradlew cleanAll loadDefault
    [root@localhost ofbiz]#

Unix-like OS:
`./gradlew ofbiz`

    [root@localhost ofbiz]# ./gradlew ofbiz
    [root@localhost ofbiz]#

Again no outout and appears to do NOTHING.


On 1/22/20 12:42 PM, Michael Brohl wrote:
This is well documented in the README along with the system 
requirements which is always a good read ;-)


You can find the reasons for this here: [1]

Thanks,

Michael Brohl

ecomify GmbH - www.ecomify.de


[1] https://issues.apache.org/jira/browse/OFBIZ-10145

Am 22.01.20 um 15:08 schrieb Parminder S. Lehal:

The problem lies with the download files. Some of the zip files *even
the latest 16.11 zip) does not have gradlew file included in them. It
is pathetic that the final package file served  from the mirrors is
incomplete(May be someone will pay some attention to this decline
in quality). I also found this after wasting some time. Easier
solution may be to use svn for downloading whatever version you are
looking for.
On Wed, 2020-01-22 at 10:32 +0100, Gil Portenseigne wrote:

On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote:

Hello,


Typo :And you should be able to : $ ./gradlew loadAll








smime.p7s
Description: S/MIME Cryptographic Signature


Re: Installation trouble

2020-01-23 Thread Pierre Smits
Perhaps the instructions are not as clesr as they could be...

Op do 23 jan. 2020 12:38 schreef L :

> ./gradlew loadAll doesn't do anything and supplies no output.  It just
> returns to the CLI instantly:
>
> [root@localhost ofbiz]# ./gradlew loadAll
> [root@localhost ofbiz]#
>
> On 1/22/20 9:08 AM, Parminder S. Lehal wrote:
> > The problem lies with the download files. Some of the zip files *even
> > the latest 16.11 zip) does not have gradlew file included in them. It
> > is pathetic that the final package file served  from the mirrors is
> > incomplete(May be someone will pay some attention to this decline
> > in quality). I also found this after wasting some time.  Easier
> > solution may be to use svn for downloading whatever version you are
> > looking for.
> > On Wed, 2020-01-22 at 10:32 +0100, Gil Portenseigne wrote:
> >> On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote:
> >>> Hello,
> >>>
> >> Typo :And you should be able to : $ ./gradlew loadAll
>
>
>


Re: Installation trouble

2020-01-23 Thread L

./gradlew loadAll doesn't do anything and supplies no output.  It just returns 
to the CLI instantly:

[root@localhost ofbiz]# ./gradlew loadAll
[root@localhost ofbiz]#

On 1/22/20 9:08 AM, Parminder S. Lehal wrote:

The problem lies with the download files. Some of the zip files *even
the latest 16.11 zip) does not have gradlew file included in them. It
is pathetic that the final package file served  from the mirrors is
incomplete(May be someone will pay some attention to this decline
in quality). I also found this after wasting some time.  Easier
solution may be to use svn for downloading whatever version you are
looking for.
On Wed, 2020-01-22 at 10:32 +0100, Gil Portenseigne wrote:

On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote:

Hello,


Typo :And you should be able to : $ ./gradlew loadAll





Re: Installation trouble

2020-01-23 Thread L

And this still does not help why my gradlew seems to do nothing.

I've been through the README.md and I met all the requirements (not many 
listed).

What in the README did I miss?

Excerpts from the README:

The first requirement to run OFBiz is to have the Java Development Kit 
(JDK)
version 8 installed on your system (not just the JRE, but the full JDK) 
which

you can download from the below link.

    [root@localhost ~]# java -version
    openjdk version "11.0.6" 2020-01-14 LTS
    OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
    OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, 
sharing)


The second requirement is to setup the Gradle wrapper files that are used
build the system.
order to fulfill this requirement, you can run the following command:

Unix-like OS:
`./gradle/init-gradle-wrapper`

    [root@localhost ~]# cd /usr/local/ofbiz/
    [root@localhost ofbiz]# ./gradle/init-gradle-wrapper.sh
 === Prepare operation ===
    /usr/local/ofbiz/gradle/wrapper/gradle-wrapper.jar not found, we 
download it

 ===     Download gradle-wrapper.jar ===
 === Download gradle-wrapper.properties ===
 === Download script wrapper ===
 === Control downloaded files ===
    gradle/wrapper/gradle-wrapper.jar: OK
    gradle/wrapper/gradle-wrapper.properties: OK
    gradlew: OK

So far, so good ( I think, it only took 3 seconds and no other output).  
Then:


Quick start
---

To quickly install and fire-up OFBiz, please follow the below instructions
from the command line at the OFBiz top level directory (folder)

### Prepare OFBiz:
Unix-like OS:
`./gradlew cleanAll loadDefault`

    [root@localhost ofbiz]# ./gradlew cleanAll loadDefault
    [root@localhost ofbiz]#

Unix-like OS:
`./gradlew ofbiz`

    [root@localhost ofbiz]# ./gradlew ofbiz
    [root@localhost ofbiz]#

Again no outout and appears to do NOTHING.


On 1/22/20 12:42 PM, Michael Brohl wrote:
This is well documented in the README along with the system 
requirements which is always a good read ;-)


You can find the reasons for this here: [1]

Thanks,

Michael Brohl

ecomify GmbH - www.ecomify.de


[1] https://issues.apache.org/jira/browse/OFBIZ-10145

Am 22.01.20 um 15:08 schrieb Parminder S. Lehal:

The problem lies with the download files. Some of the zip files *even
the latest 16.11 zip) does not have gradlew file included in them. It
is pathetic that the final package file served  from the mirrors is
incomplete(May be someone will pay some attention to this decline
in quality). I also found this after wasting some time.  Easier
solution may be to use svn for downloading whatever version you are
looking for.
On Wed, 2020-01-22 at 10:32 +0100, Gil Portenseigne wrote:

On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote:

Hello,


Typo :And you should be able to : $ ./gradlew loadAll






Re: Installation trouble

2020-01-22 Thread Michael Brohl
This is well documented in the README along with the system requirements 
which is always a good read ;-)


You can find the reasons for this here: [1]

Thanks,

Michael Brohl

ecomify GmbH - www.ecomify.de


[1] https://issues.apache.org/jira/browse/OFBIZ-10145

Am 22.01.20 um 15:08 schrieb Parminder S. Lehal:

The problem lies with the download files. Some of the zip files *even
the latest 16.11 zip) does not have gradlew file included in them. It
is pathetic that the final package file served  from the mirrors is
incomplete(May be someone will pay some attention to this decline
in quality). I also found this after wasting some time.  Easier
solution may be to use svn for downloading whatever version you are
looking for.
On Wed, 2020-01-22 at 10:32 +0100, Gil Portenseigne wrote:

On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote:

Hello,


Typo :And you should be able to : $ ./gradlew loadAll




smime.p7s
Description: S/MIME Cryptographic Signature


Re: Installation trouble

2020-01-22 Thread Parminder S. Lehal
The problem lies with the download files. Some of the zip files *even
the latest 16.11 zip) does not have gradlew file included in them. It
is pathetic that the final package file served  from the mirrors is
incomplete(May be someone will pay some attention to this decline
in quality). I also found this after wasting some time.  Easier
solution may be to use svn for downloading whatever version you are
looking for.
On Wed, 2020-01-22 at 10:32 +0100, Gil Portenseigne wrote:
> On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote:
> > Hello,
> > 
> Typo :And you should be able to : $ ./gradlew loadAll
-- 

Regards,

Parminder S. Lehal




Re: Installation trouble

2020-01-22 Thread Jacques Le Roux

Hi born2trump (nice name, if I got it right),

Your message has been moderated.

Please subscribe to the user ML for such questions and then use your email 
client.
See why here http://ofbiz.apache.org/mailing-lists.html.

You will get a better support, people can answer you on the ML.
The wider the audience the better the answers you might get.

Also it's more work for moderators who have to accept your messages as long as 
you have not subscribed.
I'll personally no longer accept them (other moderators still could).

Thanks

OK people already answered to you, let's go and let us know it's OK

Jacques

Le 22/01/2020 à 00:38, L a écrit :

Having trouble getting this working.  I the installation docs are pretty thin 
on details.
I started with a clean install of CentOS7 updated:

    [root@localhost ~]# cat /etc/redhat-release

Followed these instructionsQuick & Easy Setup:
https://cwiki.apache.org/confluence/display/OFBIZ/Demo+and+Test+Setup+Guide

    Download an OFBiz release

1. Download and install Java 1.8 or higher JDK/J2SDK (not the JRE, you
   need the full SDK) from Sun's Java (J2SE) site. You can use OpenJdk
   8 (or higher).
   Make sure your JAVA_HOME environment variable is set to this JDK
   after installation (NOTE that for Mac OS X no JVM setup is needed,
   just make sure Java is up to date with the OS X Software Update
   facility).
   There are still people using older versions, even it it's of course
   not recommened, notably for security reasons
.
   By and large see this page on system requirements
.

   [root@localhost ~]# yum install java-11-openjdk
   [root@localhost ~]# java --version
   openjdk 11.0.6 2020-01-14 LTS
   OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
   OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, sharing)
   [root@localhost ~]# unzip /media/sf_Downloads/apache-ofbiz-16.11.06.zip


2. "Download" OFBiz in the directory of your choice (see comments below
   about that). This should create one sub-directory: *ofbiz*. This
   will be the OFBIZ_HOME location.

   [root@localhost ~]# unzip /media/sf_Downloads/apache-ofbiz-16.11.06.zip
   [root@localhost ~]# mv apache-ofbiz-16.11.06/ /usr/local/ofbiz
   [root@localhost ~]# cd /usr/local/ofbiz/

3. (*not for snapshots*) Load OFBiz demo data in the embedded Apache
   Derby database running *"gradlew loadAll"*on Windows or *"./gradlew
   loadAll"*on Linux/Unix/OSX.

   [root@localhost ofbiz]# ./gradlew loadAll
   -bash: ./gradlew: No such file or director

   a) I read the README.md that said to run ./gradle/init-gradle-wrapper

   [root@localhost ofbiz]# gradle/init-gradle-wrapper.sh
     === Prepare operation ===
   /usr/local/ofbiz/gradle/wrapper/gradle-wrapper.jar not found, we
   download it
     === Download gradle-wrapper.jar ===
     === Download gradle-wrapper.properties ===
     === Download script wrapper ===
     === Control downloaded files ===
   gradle/wrapper/gradle-wrapper.jar: OK
   gradle/wrapper/gradle-wrapper.properties: OK
   gradlew: OK


   b) README says:

   you can setup the Gradle wrapper for OFBiz by executing the
   following from
   the command line at the OFBiz top level directory (folder):

   `gradle wrapper --gradle-version 2.13`

   [root@localhost ofbiz]# gradle wrapper --gradle-version 2.13
   -bash: gradle: command not found


    From there things go downhill,none of these work:

   Linux/Unix/OSX: *"./gradlew**ofbiz"*or *"./startofbiz.sh"*(or even
   "$JAVA_HOME/bin/java -jar build/libs/ofbiz.jar").

What do I need to do to get this stuff to work?  Never had so much trouble 
installing an app before.

Are there updated instructions anywhere?



Re: Installation trouble

2020-01-22 Thread Gil Portenseigne
On Wed, Jan 22, 2020 at 10:30:14AM +0100, Gil Portenseigne wrote:
> Hello,
> 
> 
Typo :
And you should be able to : $ ./gradlew loadAll


signature.asc
Description: PGP signature


Re: Installation trouble

2020-01-22 Thread Gil Portenseigne
Hello,

You seems to have well installed java and unzipped OFBiz, and downloaded
the gradle wrapper.

Now you should have in your OFBiz directory an executable : gradlew

And you should be able to : $ .gradlew loadAll
And continue with this executable for the other command (launching the
app etc.)

As an advice, it is better to use a specific user instead of root to
install and launch OFBiz.

Regards

Gil 


On Tue, Jan 21, 2020 at 06:38:35PM -0500, L wrote:
> Having trouble getting this working.  I the installation docs are pretty
> thin on details.
> I started with a clean install of CentOS7 updated:
> 
>     [root@localhost ~]# cat /etc/redhat-release
> 
> Followed these instructionsQuick & Easy Setup:
> https://cwiki.apache.org/confluence/display/OFBIZ/Demo+and+Test+Setup+Guide
> 
>     Download an OFBiz release
> 
> 1. Download and install Java 1.8 or higher JDK/J2SDK (not the JRE, you
>need the full SDK) from Sun's Java (J2SE) site. You can use OpenJdk
>8 (or higher).
>Make sure your JAVA_HOME environment variable is set to this JDK
>after installation (NOTE that for Mac OS X no JVM setup is needed,
>just make sure Java is up to date with the OS X Software Update
>facility).
>There are still people using older versions, even it it's of course
>not recommened, notably for security reasons
>.
>By and large see this page on system requirements
>.
> 
>[root@localhost ~]# yum install java-11-openjdk
>[root@localhost ~]# java --version
>openjdk 11.0.6 2020-01-14 LTS
>OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
>OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, sharing)
>[root@localhost ~]# unzip /media/sf_Downloads/apache-ofbiz-16.11.06.zip
> 
> 
> 2. "Download" OFBiz in the directory of your choice (see comments below
>about that). This should create one sub-directory: *ofbiz*. This
>will be the OFBIZ_HOME location.
> 
>[root@localhost ~]# unzip /media/sf_Downloads/apache-ofbiz-16.11.06.zip
>[root@localhost ~]# mv apache-ofbiz-16.11.06/ /usr/local/ofbiz
>[root@localhost ~]# cd /usr/local/ofbiz/
> 
> 3. (*not for snapshots*) Load OFBiz demo data in the embedded Apache
>Derby database running *"gradlew loadAll"*on Windows or *"./gradlew
>loadAll"*on Linux/Unix/OSX.
> 
>[root@localhost ofbiz]# ./gradlew loadAll
>-bash: ./gradlew: No such file or director
> 
>a) I read the README.md that said to run ./gradle/init-gradle-wrapper
> 
>[root@localhost ofbiz]# gradle/init-gradle-wrapper.sh
>  === Prepare operation ===
>/usr/local/ofbiz/gradle/wrapper/gradle-wrapper.jar not found, we
>download it
>  === Download gradle-wrapper.jar ===
>  === Download gradle-wrapper.properties ===
>  === Download script wrapper ===
>  === Control downloaded files ===
>gradle/wrapper/gradle-wrapper.jar: OK
>gradle/wrapper/gradle-wrapper.properties: OK
>gradlew: OK
> 
> 
>b) README says:
> 
>you can setup the Gradle wrapper for OFBiz by executing the
>following from
>the command line at the OFBiz top level directory (folder):
> 
>`gradle wrapper --gradle-version 2.13`
> 
>[root@localhost ofbiz]# gradle wrapper --gradle-version 2.13
>-bash: gradle: command not found
> 
> 
> From there things go downhill,none of these work:
> 
>Linux/Unix/OSX: *"./gradlew**ofbiz"*or *"./startofbiz.sh"*(or even
>"$JAVA_HOME/bin/java -jar build/libs/ofbiz.jar").
> 
> What do I need to do to get this stuff to work?  Never had so much trouble
> installing an app before.
> 
> Are there updated instructions anywhere?
> 


signature.asc
Description: PGP signature


Re: Installation trouble

2020-01-22 Thread Nicolas Malin
Hello L,

After you download the wrapper with the help script, you just run

$ ./gradlew ofbiz

the command `gradle wrapper --gradle-version 2.13`need to be run if you
currently have gradle on your system and you prefer to load the wrapper
with it.

Nicolas

On 22/01/2020 00:38, L wrote:
> Having trouble getting this working.  I the installation docs are
> pretty thin on details.
> I started with a clean install of CentOS7 updated:
>
>     [root@localhost ~]# cat /etc/redhat-release
>
> Followed these instructionsQuick & Easy Setup:
> https://cwiki.apache.org/confluence/display/OFBIZ/Demo+and+Test+Setup+Guide
>
>
>     Download an OFBiz release
>
> 1. Download and install Java 1.8 or higher JDK/J2SDK (not the JRE, you
>    need the full SDK) from Sun's Java (J2SE) site. You can use OpenJdk
>    8 (or higher).
>    Make sure your JAVA_HOME environment variable is set to this JDK
>    after installation (NOTE that for Mac OS X no JVM setup is needed,
>    just make sure Java is up to date with the OS X Software Update
>    facility).
>    There are still people using older versions, even it it's of course
>    not recommened, notably for security reasons
>   
> .
>    By and large see this page on system requirements
>   
> .
>
>    [root@localhost ~]# yum install java-11-openjdk
>    [root@localhost ~]# java --version
>    openjdk 11.0.6 2020-01-14 LTS
>    OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
>    OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode,
> sharing)
>    [root@localhost ~]# unzip
> /media/sf_Downloads/apache-ofbiz-16.11.06.zip
>
>
> 2. "Download" OFBiz in the directory of your choice (see comments below
>    about that). This should create one sub-directory: *ofbiz*. This
>    will be the OFBIZ_HOME location.
>
>    [root@localhost ~]# unzip
> /media/sf_Downloads/apache-ofbiz-16.11.06.zip
>    [root@localhost ~]# mv apache-ofbiz-16.11.06/ /usr/local/ofbiz
>    [root@localhost ~]# cd /usr/local/ofbiz/
>
> 3. (*not for snapshots*) Load OFBiz demo data in the embedded Apache
>    Derby database running *"gradlew loadAll"*on Windows or *"./gradlew
>    loadAll"*on Linux/Unix/OSX.
>
>    [root@localhost ofbiz]# ./gradlew loadAll
>    -bash: ./gradlew: No such file or director
>
>    a) I read the README.md that said to run ./gradle/init-gradle-wrapper
>
>    [root@localhost ofbiz]# gradle/init-gradle-wrapper.sh
>      === Prepare operation ===
>    /usr/local/ofbiz/gradle/wrapper/gradle-wrapper.jar not found, we
>    download it
>      === Download gradle-wrapper.jar ===
>      === Download gradle-wrapper.properties ===
>      === Download script wrapper ===
>      === Control downloaded files ===
>    gradle/wrapper/gradle-wrapper.jar: OK
>    gradle/wrapper/gradle-wrapper.properties: OK
>    gradlew: OK
>
>
>    b) README says:
>
>    you can setup the Gradle wrapper for OFBiz by executing the
>    following from
>    the command line at the OFBiz top level directory (folder):
>
>    `gradle wrapper --gradle-version 2.13`
>
>    [root@localhost ofbiz]# gradle wrapper --gradle-version 2.13
>    -bash: gradle: command not found
>
>
>     From there things go downhill,none of these work:
>
>    Linux/Unix/OSX: *"./gradlew**ofbiz"*or *"./startofbiz.sh"*(or even
>    "$JAVA_HOME/bin/java -jar build/libs/ofbiz.jar").
>
> What do I need to do to get this stuff to work?  Never had so much
> trouble installing an app before.
>
> Are there updated instructions anywhere?
>
>


pEpkey.asc
Description: application/pgp-keys


Installation trouble

2020-01-22 Thread L
Having trouble getting this working.  I the installation docs are pretty 
thin on details.

I started with a clean install of CentOS7 updated:

    [root@localhost ~]# cat /etc/redhat-release

Followed these instructionsQuick & Easy Setup:
https://cwiki.apache.org/confluence/display/OFBIZ/Demo+and+Test+Setup+Guide

    Download an OFBiz release

1. Download and install Java 1.8 or higher JDK/J2SDK (not the JRE, you
   need the full SDK) from Sun's Java (J2SE) site. You can use OpenJdk
   8 (or higher).
   Make sure your JAVA_HOME environment variable is set to this JDK
   after installation (NOTE that for Mac OS X no JVM setup is needed,
   just make sure Java is up to date with the OS X Software Update
   facility).
   There are still people using older versions, even it it's of course
   not recommened, notably for security reasons
   .
   By and large see this page on system requirements
   .

   [root@localhost ~]# yum install java-11-openjdk
   [root@localhost ~]# java --version
   openjdk 11.0.6 2020-01-14 LTS
   OpenJDK Runtime Environment 18.9 (build 11.0.6+10-LTS)
   OpenJDK 64-Bit Server VM 18.9 (build 11.0.6+10-LTS, mixed mode, sharing)
   [root@localhost ~]# unzip /media/sf_Downloads/apache-ofbiz-16.11.06.zip


2. "Download" OFBiz in the directory of your choice (see comments below
   about that). This should create one sub-directory: *ofbiz*. This
   will be the OFBIZ_HOME location.

   [root@localhost ~]# unzip /media/sf_Downloads/apache-ofbiz-16.11.06.zip
   [root@localhost ~]# mv apache-ofbiz-16.11.06/ /usr/local/ofbiz
   [root@localhost ~]# cd /usr/local/ofbiz/

3. (*not for snapshots*) Load OFBiz demo data in the embedded Apache
   Derby database running *"gradlew loadAll"*on Windows or *"./gradlew
   loadAll"*on Linux/Unix/OSX.

   [root@localhost ofbiz]# ./gradlew loadAll
   -bash: ./gradlew: No such file or director

   a) I read the README.md that said to run ./gradle/init-gradle-wrapper

   [root@localhost ofbiz]# gradle/init-gradle-wrapper.sh
 === Prepare operation ===
   /usr/local/ofbiz/gradle/wrapper/gradle-wrapper.jar not found, we
   download it
 === Download gradle-wrapper.jar ===
 === Download gradle-wrapper.properties ===
 === Download script wrapper ===
 === Control downloaded files ===
   gradle/wrapper/gradle-wrapper.jar: OK
   gradle/wrapper/gradle-wrapper.properties: OK
   gradlew: OK


   b) README says:

   you can setup the Gradle wrapper for OFBiz by executing the
   following from
   the command line at the OFBiz top level directory (folder):

   `gradle wrapper --gradle-version 2.13`

   [root@localhost ofbiz]# gradle wrapper --gradle-version 2.13
   -bash: gradle: command not found


From there things go downhill,none of these work:

   Linux/Unix/OSX: *"./gradlew**ofbiz"*or *"./startofbiz.sh"*(or even
   "$JAVA_HOME/bin/java -jar build/libs/ofbiz.jar").

What do I need to do to get this stuff to work?  Never had so much 
trouble installing an app before.


Are there updated instructions anywhere?