Re: cleanAll loadAll

2021-11-10 Thread Bs Serge
don't bother.

solved. it was my issue.

Best Regards,

On Wed, Nov 10, 2021 at 12:57 PM Bs Serge  wrote:

> The version is: Ofbiz 17.12
> Database : MySQL 8
>
>
> On Wed, Nov 10, 2021 at 12:56 PM Bs Serge  wrote:
>
>> Hi
>>
>> What do you think could be the cause of this exception after running:
>> ./gradlew cleanAll loadAll?
>>
>> The system is looking for a table obviously which have not been created
>> yet?
>>
>> Kindly any help would be appreciated!
>>
>> Best regards,
>>
>> 2021-11-10 12:53:0Caused by:
>> org.apache.ofbiz.entity.GenericDataSourceException: SQL Exception while
>> executing the following:SELECT DESCRIPTION, LAST_UPDATED_STAMP,
>> LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP FROM
>> SECURITY_PERMISSION WHERE PERMISSION_ID=? (Table
>> 'ofbiz.security_permis0,593 |main |TransactionUtil
>>   |I| Transaction rolled back
>> sion' doesn't exist)
>> at
>> org.apache.ofbiz.entity.jdbc.SQLProcessor.executeQuery(SQLProcessor.java:402)
>> at
>> org.apache.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:490)
>> at
>> org.apache.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:466)
>> at
>> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:81)
>> at
>> org.apache.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1317)
>> ... 13 more
>> Caused by: java.sql.SQLSyntaxErrorException: Table
>> 'ofbiz.security_permission' doesn't exist
>> at
>> com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
>> at
>> com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
>> at
>> com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
>> at
>> com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery(ClientPreparedStatement.java:1009)
>> at
>> org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
>> at
>> org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
>> at
>> org.apache.ofbiz.entity.jdbc.SQLProcessor.executeQuery(SQLProcessor.java:399)
>> ... 17 more
>> :ofbiz --load-data FAILED
>>
>


Re: cleanAll loadAll

2021-11-10 Thread Bs Serge
The version is: Ofbiz 17.12
Database : MySQL 8


On Wed, Nov 10, 2021 at 12:56 PM Bs Serge  wrote:

> Hi
>
> What do you think could be the cause of this exception after running:
> ./gradlew cleanAll loadAll?
>
> The system is looking for a table obviously which have not been created
> yet?
>
> Kindly any help would be appreciated!
>
> Best regards,
>
> 2021-11-10 12:53:0Caused by:
> org.apache.ofbiz.entity.GenericDataSourceException: SQL Exception while
> executing the following:SELECT DESCRIPTION, LAST_UPDATED_STAMP,
> LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP FROM
> SECURITY_PERMISSION WHERE PERMISSION_ID=? (Table
> 'ofbiz.security_permis0,593 |main |TransactionUtil
>   |I| Transaction rolled back
> sion' doesn't exist)
> at
> org.apache.ofbiz.entity.jdbc.SQLProcessor.executeQuery(SQLProcessor.java:402)
> at
> org.apache.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:490)
> at
> org.apache.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:466)
> at
> org.apache.ofbiz.entity.datasource.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:81)
> at
> org.apache.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1317)
> ... 13 more
> Caused by: java.sql.SQLSyntaxErrorException: Table
> 'ofbiz.security_permission' doesn't exist
> at
> com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
> at
> com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
> at
> com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
> at
> com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery(ClientPreparedStatement.java:1009)
> at
> org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
> at
> org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
> at
> org.apache.ofbiz.entity.jdbc.SQLProcessor.executeQuery(SQLProcessor.java:399)
> ... 17 more
> :ofbiz --load-data FAILED
>


cleanAll loadAll

2021-11-10 Thread Bs Serge
Hi

What do you think could be the cause of this exception after running:
./gradlew cleanAll loadAll?

The system is looking for a table obviously which have not been created yet?

Kindly any help would be appreciated!

Best regards,

2021-11-10 12:53:0Caused by:
org.apache.ofbiz.entity.GenericDataSourceException: SQL Exception while
executing the following:SELECT DESCRIPTION, LAST_UPDATED_STAMP,
LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP FROM
SECURITY_PERMISSION WHERE PERMISSION_ID=? (Table
'ofbiz.security_permis0,593 |main |TransactionUtil
  |I| Transaction rolled back
sion' doesn't exist)
at
org.apache.ofbiz.entity.jdbc.SQLProcessor.executeQuery(SQLProcessor.java:402)
at
org.apache.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:490)
at
org.apache.ofbiz.entity.datasource.GenericDAO.select(GenericDAO.java:466)
at
org.apache.ofbiz.entity.datasource.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:81)
at
org.apache.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1317)
... 13 more
Caused by: java.sql.SQLSyntaxErrorException: Table
'ofbiz.security_permission' doesn't exist
at
com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
at
com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
at
com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
at
com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery(ClientPreparedStatement.java:1009)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
at
org.apache.commons.dbcp2.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:83)
at
org.apache.ofbiz.entity.jdbc.SQLProcessor.executeQuery(SQLProcessor.java:399)
... 17 more
:ofbiz --load-data FAILED


Re: gradlew.bat cleanAll loadAll Error

2021-10-10 Thread Mike Oliver
Thanks Jacues,

Installed OpenJDK 8 and everything was fine.

MO

On Sun, Oct 10, 2021, 5:07 PM Jacques Le Roux 
wrote:

> Hi Mike,
>
> Check  and follow
> https://ci.apache.org/projects/ofbiz/site/stable/readme/html5/README.html
>
> HTH
>
> Le 10/10/2021 à 05:59, Mike Oliver a écrit :
> > Hi Jacques,
> >
> > I also tried changing to the oracle Java jdk and resetting JAVA_HOME and
> > path accordingly and re-running init-gradle-wrapper.bat
> >
> > No appreciable change except the java version
> >
> > On Thu, Oct 7, 2021, 5:22 PM Jacques Le Roux <
> jacques.le.r...@les7arts.com>
> > wrote:
> >
> >> Hi Mike,
> >>
> >> OFBiz uses Gradle 6.5. You must to set the wrapper with
> >> init-gradle-wrapper.bat
> >>
> >> Also this may help:
> >>
> https://lists.apache.org/thread.html/r413f103da2b22da4b59c0d35f1552d9c7603569956cd191e631aa281%40%3Cuser.ofbiz.apache.org%3E
> >>
> >> HTH
> >>
> >> Jacques
> >>
> >> Le 07/10/2021 à 00:39, Mike Oliver a écrit :
> >>> I am on windows 10. I have JAVA_HOME set to my Java 11 and path
> includes
> >>> both java and gradle 7.2. also installed and gradle --version shows the
> >> 7.2
> >>> and java are found.
> >>>
> >>> The OFBiz directory has a gradle subdirectory, settings.gradle,
> >>> gradlew.bat, init-gradle-wrapper.bat, common.gradle file, and gradlew
> >> file.
> >>> trying to run gradlew.bat cleanAll loadAll in that directory fails with
> >>>
> >>> C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew.bat cleanAll
> >> loadAll
> >>> Error: Could not find or load main class
> >>> org.gradle.wrapper.GradleWrapperMain Caused by:
> >>> java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
> >>>
> >>> Trying
> >>>
> >>> C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>init-gradle-wrapper.bat
> >>> 'pwsh' is not recognized as an internal or external command, operable
> >>> program or batch file.
> >>>
> >>> gradle wrapper --version 7.2
> >>>
> >>> C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradle wrapper --version
> >> 7.2
> >>>
> >>>
> >>> Gradle 7.2
> >>>
> >>> Build time: 2021-08-17 09:59:03 UTC Revision:
> >>> a773786b58bb28710e3dc96c4d1a7063628952ad
> >>>
> >>> Kotlin: 1.5.21 Groovy: 3.0.8 Ant: Apache Ant(TM) version 1.10.9
> compiled
> >> on
> >>> September 27 2020 JVM: 11.0.12 (Microsoft 11.0.12+7) OS: Windows 10
> 10.0
> >>> amd64
> >>>
> >>> C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>
> >>>
> >>> Still gets
> >>>
> >>> C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew cleanAll loadAll
> >>> Error: Could not find or load main class
> >>> org.gradle.wrapper.GradleWrapperMain Caused by:
> >>> java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
> >>>
> >>> Don't know what else to try.
> >>
>


Re: gradlew.bat cleanAll loadAll Error

2021-10-10 Thread Jacques Le Roux

Hi Mike,

Check  and follow 
https://ci.apache.org/projects/ofbiz/site/stable/readme/html5/README.html

HTH

Le 10/10/2021 à 05:59, Mike Oliver a écrit :

Hi Jacques,

I also tried changing to the oracle Java jdk and resetting JAVA_HOME and
path accordingly and re-running init-gradle-wrapper.bat

No appreciable change except the java version

On Thu, Oct 7, 2021, 5:22 PM Jacques Le Roux 
wrote:


Hi Mike,

OFBiz uses Gradle 6.5. You must to set the wrapper with
init-gradle-wrapper.bat

Also this may help:
https://lists.apache.org/thread.html/r413f103da2b22da4b59c0d35f1552d9c7603569956cd191e631aa281%40%3Cuser.ofbiz.apache.org%3E

HTH

Jacques

Le 07/10/2021 à 00:39, Mike Oliver a écrit :

I am on windows 10. I have JAVA_HOME set to my Java 11 and path includes
both java and gradle 7.2. also installed and gradle --version shows the

7.2

and java are found.

The OFBiz directory has a gradle subdirectory, settings.gradle,
gradlew.bat, init-gradle-wrapper.bat, common.gradle file, and gradlew

file.

trying to run gradlew.bat cleanAll loadAll in that directory fails with

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew.bat cleanAll

loadAll

Error: Could not find or load main class
org.gradle.wrapper.GradleWrapperMain Caused by:
java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

Trying

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>init-gradle-wrapper.bat
'pwsh' is not recognized as an internal or external command, operable
program or batch file.

gradle wrapper --version 7.2

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradle wrapper --version

7.2



Gradle 7.2

Build time: 2021-08-17 09:59:03 UTC Revision:
a773786b58bb28710e3dc96c4d1a7063628952ad

Kotlin: 1.5.21 Groovy: 3.0.8 Ant: Apache Ant(TM) version 1.10.9 compiled

on

September 27 2020 JVM: 11.0.12 (Microsoft 11.0.12+7) OS: Windows 10 10.0
amd64

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>

Still gets

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew cleanAll loadAll
Error: Could not find or load main class
org.gradle.wrapper.GradleWrapperMain Caused by:
java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

Don't know what else to try.




Re: gradlew.bat cleanAll loadAll Error

2021-10-09 Thread Mike Oliver
Hi Jacques,

I also tried changing to the oracle Java jdk and resetting JAVA_HOME and
path accordingly and re-running init-gradle-wrapper.bat

No appreciable change except the java version

On Thu, Oct 7, 2021, 5:22 PM Jacques Le Roux 
wrote:

> Hi Mike,
>
> OFBiz uses Gradle 6.5. You must to set the wrapper with
> init-gradle-wrapper.bat
>
> Also this may help:
> https://lists.apache.org/thread.html/r413f103da2b22da4b59c0d35f1552d9c7603569956cd191e631aa281%40%3Cuser.ofbiz.apache.org%3E
>
> HTH
>
> Jacques
>
> Le 07/10/2021 à 00:39, Mike Oliver a écrit :
> > I am on windows 10. I have JAVA_HOME set to my Java 11 and path includes
> > both java and gradle 7.2. also installed and gradle --version shows the
> 7.2
> > and java are found.
> >
> > The OFBiz directory has a gradle subdirectory, settings.gradle,
> > gradlew.bat, init-gradle-wrapper.bat, common.gradle file, and gradlew
> file.
> >
> > trying to run gradlew.bat cleanAll loadAll in that directory fails with
> >
> > C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew.bat cleanAll
> loadAll
> > Error: Could not find or load main class
> > org.gradle.wrapper.GradleWrapperMain Caused by:
> > java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
> >
> > Trying
> >
> > C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>init-gradle-wrapper.bat
> > 'pwsh' is not recognized as an internal or external command, operable
> > program or batch file.
> >
> > gradle wrapper --version 7.2
> >
> > C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradle wrapper --version
> 7.2
> >
> >
> >
> > Gradle 7.2
> >
> > Build time: 2021-08-17 09:59:03 UTC Revision:
> > a773786b58bb28710e3dc96c4d1a7063628952ad
> >
> > Kotlin: 1.5.21 Groovy: 3.0.8 Ant: Apache Ant(TM) version 1.10.9 compiled
> on
> > September 27 2020 JVM: 11.0.12 (Microsoft 11.0.12+7) OS: Windows 10 10.0
> > amd64
> >
> > C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>
> >
> > Still gets
> >
> > C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew cleanAll loadAll
> > Error: Could not find or load main class
> > org.gradle.wrapper.GradleWrapperMain Caused by:
> > java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
> >
> > Don't know what else to try.
>
>


Re: gradlew.bat cleanAll loadAll Error

2021-10-09 Thread Mike Oliver
Hi Jacques,

Progress, but still not there yet.

Build failed

*What went wrong
Could not determine Java version from 11.0.12

My JAVA_HOME is
C:\Program Files\Microsoft\jdk-11.0.12.7-hotspot\

Thanks

On Thu, Oct 7, 2021, 5:22 PM Jacques Le Roux 
wrote:

> Hi Mike,
>
> OFBiz uses Gradle 6.5. You must to set the wrapper with
> init-gradle-wrapper.bat
>
> Also this may help:
> https://lists.apache.org/thread.html/r413f103da2b22da4b59c0d35f1552d9c7603569956cd191e631aa281%40%3Cuser.ofbiz.apache.org%3E
>
> HTH
>
> Jacques
>
> Le 07/10/2021 à 00:39, Mike Oliver a écrit :
> > I am on windows 10. I have JAVA_HOME set to my Java 11 and path includes
> > both java and gradle 7.2. also installed and gradle --version shows the
> 7.2
> > and java are found.
> >
> > The OFBiz directory has a gradle subdirectory, settings.gradle,
> > gradlew.bat, init-gradle-wrapper.bat, common.gradle file, and gradlew
> file.
> >
> > trying to run gradlew.bat cleanAll loadAll in that directory fails with
> >
> > C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew.bat cleanAll
> loadAll
> > Error: Could not find or load main class
> > org.gradle.wrapper.GradleWrapperMain Caused by:
> > java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
> >
> > Trying
> >
> > C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>init-gradle-wrapper.bat
> > 'pwsh' is not recognized as an internal or external command, operable
> > program or batch file.
> >
> > gradle wrapper --version 7.2
> >
> > C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradle wrapper --version
> 7.2
> >
> >
> >
> > Gradle 7.2
> >
> > Build time: 2021-08-17 09:59:03 UTC Revision:
> > a773786b58bb28710e3dc96c4d1a7063628952ad
> >
> > Kotlin: 1.5.21 Groovy: 3.0.8 Ant: Apache Ant(TM) version 1.10.9 compiled
> on
> > September 27 2020 JVM: 11.0.12 (Microsoft 11.0.12+7) OS: Windows 10 10.0
> > amd64
> >
> > C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>
> >
> > Still gets
> >
> > C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew cleanAll loadAll
> > Error: Could not find or load main class
> > org.gradle.wrapper.GradleWrapperMain Caused by:
> > java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain
> >
> > Don't know what else to try.
>
>


Re: gradlew.bat cleanAll loadAll Error

2021-10-07 Thread Jacques Le Roux

Hi Mike,

OFBiz uses Gradle 6.5. You must to set the wrapper with init-gradle-wrapper.bat

Also this may help: 
https://lists.apache.org/thread.html/r413f103da2b22da4b59c0d35f1552d9c7603569956cd191e631aa281%40%3Cuser.ofbiz.apache.org%3E

HTH

Jacques

Le 07/10/2021 à 00:39, Mike Oliver a écrit :

I am on windows 10. I have JAVA_HOME set to my Java 11 and path includes
both java and gradle 7.2. also installed and gradle --version shows the 7.2
and java are found.

The OFBiz directory has a gradle subdirectory, settings.gradle,
gradlew.bat, init-gradle-wrapper.bat, common.gradle file, and gradlew file.

trying to run gradlew.bat cleanAll loadAll in that directory fails with

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew.bat cleanAll loadAll
Error: Could not find or load main class
org.gradle.wrapper.GradleWrapperMain Caused by:
java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

Trying

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>init-gradle-wrapper.bat
'pwsh' is not recognized as an internal or external command, operable
program or batch file.

gradle wrapper --version 7.2

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradle wrapper --version 7.2



Gradle 7.2

Build time: 2021-08-17 09:59:03 UTC Revision:
a773786b58bb28710e3dc96c4d1a7063628952ad

Kotlin: 1.5.21 Groovy: 3.0.8 Ant: Apache Ant(TM) version 1.10.9 compiled on
September 27 2020 JVM: 11.0.12 (Microsoft 11.0.12+7) OS: Windows 10 10.0
amd64

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>

Still gets

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew cleanAll loadAll
Error: Could not find or load main class
org.gradle.wrapper.GradleWrapperMain Caused by:
java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

Don't know what else to try.




gradlew.bat cleanAll loadAll Error

2021-10-06 Thread Mike Oliver
I am on windows 10. I have JAVA_HOME set to my Java 11 and path includes
both java and gradle 7.2. also installed and gradle --version shows the 7.2
and java are found.

The OFBiz directory has a gradle subdirectory, settings.gradle,
gradlew.bat, init-gradle-wrapper.bat, common.gradle file, and gradlew file.

trying to run gradlew.bat cleanAll loadAll in that directory fails with

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew.bat cleanAll loadAll
Error: Could not find or load main class
org.gradle.wrapper.GradleWrapperMain Caused by:
java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

Trying

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>init-gradle-wrapper.bat
'pwsh' is not recognized as an internal or external command, operable
program or batch file.

gradle wrapper --version 7.2

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradle wrapper --version 7.2



Gradle 7.2

Build time: 2021-08-17 09:59:03 UTC Revision:
a773786b58bb28710e3dc96c4d1a7063628952ad

Kotlin: 1.5.21 Groovy: 3.0.8 Ant: Apache Ant(TM) version 1.10.9 compiled on
September 27 2020 JVM: 11.0.12 (Microsoft 11.0.12+7) OS: Windows 10 10.0
amd64

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>

Still gets

C:\apache-ofbiz-17.12.08\apache-ofbiz-17.12.08>gradlew cleanAll loadAll
Error: Could not find or load main class
org.gradle.wrapper.GradleWrapperMain Caused by:
java.lang.ClassNotFoundException: org.gradle.wrapper.GradleWrapperMain

Don't know what else to try.


Re: "gradlew cleanAll loadAll ofbiz" command showing errors

2021-09-10 Thread Aditya Sharma
Hello Sheetal,

Welcome to the Apache OFBiz ecosystem!

Thanks for sharing your concern! I think it would be good if you could
share some more details on the specific test cases failing for windows.

You could find the details about the skipping the test cases in Readme file:

https://github.com/apache/ofbiz-framework/tree/release18.12#types-of-tasks-in-gradle

Dependent tasks can be skipped with the -x switch. Example: gradlew build
> -x test does not run the tests within the build.
>

Thanks and Regards,
Aditya Sharma



On Wed, Sep 8, 2021 at 3:06 PM sheetal jain  wrote:

> Hello everyone,
>
> I am new to the apache ofbiz framework and I have started following its
> beginner tutorial for the 18.12 release. I am following all the
> instructions given in the tutorial likewise. I was able to clone the
> repository successfully, but the command for running the ofbiz showed
> errors for multiple test cases.
>
> This is the configuration of my laptop:
> 1. OS Name: Microsoft Windows 10 Pro
> 2. Version: 10.0.18363 Build 18363
> 3. Processor: Intel (R) Core (TM) i7-5600U CPU @ 2.60GHz, 2601 MHz, 2
> Core(s), 4 Logical Processor(s)
> 4. System Model: HP EliteBook 840 G2
> Installed
> 5. Physical Memory (RAM): 8.00 GB
>
> After a lot of debugging, exploring and discussing this problem with my
> mentors and peers, somehow we managed to find the solution.
> Instead of writing the command "gradlew cleanAll loadAll ofbiz" for running
> the ofbiz for my windows OS configuration laptop following commands worked
> for running the ofbiz in the given order:
>
> "gradlew loadAll -x test"
> "gradlew ofbiz -x test"
>
> I have faced a lot of problems while running the command given in the
> tutorial. I discussed this with my colleagues and I got to know most
> windows users are facing this problem. I feel these commands should be
> there in the documentation which would be helpful for many users like me.
> It would be highly appreciated if the foundation adds these commands along
> with the present command to run the ofbiz.
>
> With Regards,
> Sheetal Jain
>


"gradlew cleanAll loadAll ofbiz" command showing errors

2021-09-08 Thread sheetal jain
Hello everyone,

I am new to the apache ofbiz framework and I have started following its
beginner tutorial for the 18.12 release. I am following all the
instructions given in the tutorial likewise. I was able to clone the
repository successfully, but the command for running the ofbiz showed
errors for multiple test cases.

This is the configuration of my laptop:
1. OS Name: Microsoft Windows 10 Pro
2. Version: 10.0.18363 Build 18363
3. Processor: Intel (R) Core (TM) i7-5600U CPU @ 2.60GHz, 2601 MHz, 2
Core(s), 4 Logical Processor(s)
4. System Model: HP EliteBook 840 G2
Installed
5. Physical Memory (RAM): 8.00 GB

After a lot of debugging, exploring and discussing this problem with my
mentors and peers, somehow we managed to find the solution.
Instead of writing the command "gradlew cleanAll loadAll ofbiz" for running
the ofbiz for my windows OS configuration laptop following commands worked
for running the ofbiz in the given order:

"gradlew loadAll -x test"
"gradlew ofbiz -x test"

I have faced a lot of problems while running the command given in the
tutorial. I discussed this with my colleagues and I got to know most
windows users are facing this problem. I feel these commands should be
there in the documentation which would be helpful for many users like me.
It would be highly appreciated if the foundation adds these commands along
with the present command to run the ofbiz.

With Regards,
Sheetal Jain


Re: gradlew cleanAll loadAll fails

2020-09-07 Thread Rick Fleming
Thanks Jack

But I found that I only thought I was using java 1.8. When I actually did, that 
command worked.

Rick

On 2020/09/06 14:30:35, Rick Fleming  wrote: 
> Hi all
> 
> I've downloaded  the latest  17.12.04 version to my windows 10 machine. I 
> have java 1.8.0_251 set as Java_Home. 
> 
> When I ran init-gradle-wrapper I got an error w/ execution policy so I 
> unblocked the file and re ran the command. It seemed to complete.
> 
> But when I run gradlew cleanAll loadAll I get:
> 
> C:\Users\rick\ofbiz17\ofbiz17>gradlew cleanAll loadAll
> Downloading https://services.gradle.org/distributions/gradle-3.2.1-bin.zip
> 
> Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: 
> protocol_version
> at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
> at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
> at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
> at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
> at 
> sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
> at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
> at 
> sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
> at 
> sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
> at 
> sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
> at 
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
> at 
> sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
> at org.gradle.wrapper.Download.downloadInternal(Download.java:60)
> at org.gradle.wrapper.Download.download(Download.java:45)
> at org.gradle.wrapper.Install$1.call(Install.java:62)
> at org.gradle.wrapper.Install$1.call(Install.java:48)
> at 
> org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
> at org.gradle.wrapper.Install.createDist(Install.java:48)
> at 
> org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
> at 
> org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)
> 
> What do I need to do to get around this?
> 
> Thanks for your help
> Rick
> 


Re: gradlew cleanAll loadAll fails

2020-09-06 Thread Jack

https://stackoverflow.com/questions/16541627/javax-net-ssl-sslexception-received-fatal-alert-protocol-version

On 2020-09-06 08:30, Rick Fleming wrote:

javax.net.ssl.SSLException: Received fatal alert: protocol_version




gradlew cleanAll loadAll fails

2020-09-06 Thread Rick Fleming
Hi all

I've downloaded  the latest  17.12.04 version to my windows 10 machine. I have 
java 1.8.0_251 set as Java_Home. 

When I ran init-gradle-wrapper I got an error w/ execution policy so I 
unblocked the file and re ran the command. It seemed to complete.

But when I run gradlew cleanAll loadAll I get:

C:\Users\rick\ofbiz17\ofbiz17>gradlew cleanAll loadAll
Downloading https://services.gradle.org/distributions/gradle-3.2.1-bin.zip

Exception in thread "main" javax.net.ssl.SSLException: Received fatal alert: 
protocol_version
at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)
at 
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)
at 
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1359)
at 
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1343)
at 
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1301)
at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)
at org.gradle.wrapper.Download.downloadInternal(Download.java:60)
at org.gradle.wrapper.Download.download(Download.java:45)
at org.gradle.wrapper.Install$1.call(Install.java:62)
at org.gradle.wrapper.Install$1.call(Install.java:48)
at 
org.gradle.wrapper.ExclusiveFileAccessManager.access(ExclusiveFileAccessManager.java:69)
at org.gradle.wrapper.Install.createDist(Install.java:48)
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:107)
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:61)

What do I need to do to get around this?

Thanks for your help
Rick