Hi,
I wonder how to get see error log for ofbiz gradlew installation. My system is Windows 10, Oracle JDK 8, JAVA_HOME is set up. Here is my result to run the gradlew: E:\apache-ofbiz-16.11.05>gradlew.bat cleanAll Downloading https://services.gradle.org/distributions/gradle-2.13-bin.zip ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... .................................................................................................................................................................................................................................................................................................................. Unzipping C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7\gradle-2.13-bin.zip to C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7 E:\apache-ofbiz-16.11.05> It just stops without any error. I tried to search the mailing list but I don't know where to start since there is no error. Please help me to solve this problem. |
Hi Wongsari,
As you are using OFBiz-16.11 version. On cursory view, it seems you only run the cleanAll command. To set up and run OFBiz with default data you need to run different commands. To run OFBiz with default data here is the command gradlew cleanAll loadDefault "ofbiz --start" After the server start, access OFBiz at - https://localhost:8443/ordermgr/ username - admin password - ofbiz I recommend you to read the README.md file [1] for more details. [1] https://github.com/apache/ofbiz/blob/release16.11/README.md - Best Regards, Swapnil M Mane, ofbiz.apache.org On Mon, Apr 8, 2019 at 3:39 PM [hidden email] <[hidden email]> wrote: > Hi, > > I wonder how to get see error log for ofbiz gradlew installation. > > My system is Windows 10, Oracle JDK 8, JAVA_HOME is set up. > > Here is my result to run the gradlew: > > E:\apache-ofbiz-16.11.05>gradlew.bat cleanAll > Downloading https://services.gradle.org/distributions/gradle-2.13-bin.zip > > ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. > Unzipping > C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7\gradle-2.13-bin.zip > to > C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7 > > E:\apache-ofbiz-16.11.05> > > > It just stops without any error. > > I tried to search the mailing list but I don't know where to start since > there is no error. > Please help me to solve this problem. > > |
Hi Mr. Mane,
Thank you for responding. I have tried the command but it still doesn't give any response. Here is the response. E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start" E:\apache-ofbiz-16.11.05> E:\apache-ofbiz-16.11.05>gradlew loadDefault "ofbiz --start" E:\apache-ofbiz-16.11.05> E:\apache-ofbiz-16.11.05>gradlew "ofbiz --start" E:\apache-ofbiz-16.11.05> I feel frustrated since there is no error messages whatsoever. I edited gradlew.bat from "@echo off" to "@echo on" the result is following: E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start" E:\apache-ofbiz-16.11.05>if "Windows_NT" == "Windows_NT" setlocal E:\apache-ofbiz-16.11.05>set DIRNAME=E:\apache-ofbiz-16.11.05\ E:\apache-ofbiz-16.11.05>if "E:\apache-ofbiz-16.11.05\" == "" set DIRNAME=. E:\apache-ofbiz-16.11.05>set APP_BASE_NAME=gradlew E:\apache-ofbiz-16.11.05>set APP_HOME=E:\apache-ofbiz-16.11.05\ E:\apache-ofbiz-16.11.05>set DEFAULT_JVM_OPTS= E:\apache-ofbiz-16.11.05>if defined JAVA_HOME goto findJavaFromJavaHome E:\apache-ofbiz-16.11.05>set JAVA_HOME=C:\Progra~1\Java\jdk-12 E:\apache-ofbiz-16.11.05>set JAVA_EXE=C:\Progra~1\Java\jdk-12\bin\java.exe E:\apache-ofbiz-16.11.05>if exist "C:\Progra~1\Java\jdk-12\bin\java.exe" goto init E:\apache-ofbiz-16.11.05>if not "Windows_NT" == "Windows_NT" goto win9xME_args E:\apache-ofbiz-16.11.05>if "@eval[2+2]" == "4" goto 4NT_args E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS= E:\apache-ofbiz-16.11.05>set _SKIP=2 E:\apache-ofbiz-16.11.05>if "xcleanAll" == "x" goto execute E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS=cleanAll loadDefault "ofbiz --start" E:\apache-ofbiz-16.11.05>goto execute E:\apache-ofbiz-16.11.05>set CLASSPATH=E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar E:\apache-ofbiz-16.11.05>"C:\Progra~1\Java\jdk-12\bin\java.exe" "-Dorg.gradle.appname=gradlew" -classpath "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar" org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start" E:\apache-ofbiz-16.11.05>if "1" == "0" goto mainEnd E:\apache-ofbiz-16.11.05>rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of E:\apache-ofbiz-16.11.05>rem the _cmd.exe /c_ return code! E:\apache-ofbiz-16.11.05>if not "" == "" exit 1 E:\apache-ofbiz-16.11.05>exit /b 1 E:\apache-ofbiz-16.11.05> I tried to run the following by itself but there is nothing: "C:\Progra~1\Java\jdk-12\bin\java.exe" "-Dorg.gradle.appname=gradlew" -classpath "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar" org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start" What can I do to correct this. Thank you. On 2019/04/08 10:36:33, Swapnil M Mane <[hidden email]> wrote: > Hi Wongsari, > > As you are using OFBiz-16.11 version. > On cursory view, it seems you only run the cleanAll command. > To set up and run OFBiz with default data you need to run different > commands. > > To run OFBiz with default data here is the command > gradlew cleanAll loadDefault "ofbiz --start" > > After the server start, access OFBiz at - https://localhost:8443/ordermgr/ > username - admin > password - ofbiz > > > I recommend you to read the README.md file [1] for more details. > [1] https://github.com/apache/ofbiz/blob/release16.11/README.md > > > - Best Regards, > Swapnil M Mane, > ofbiz.apache.org > > > On Mon, Apr 8, 2019 at 3:39 PM [hidden email] <[hidden email]> > wrote: > > > Hi, > > > > I wonder how to get see error log for ofbiz gradlew installation. > > > > My system is Windows 10, Oracle JDK 8, JAVA_HOME is set up. > > > > Here is my result to run the gradlew: > > > > E:\apache-ofbiz-16.11.05>gradlew.bat cleanAll > > Downloading https://services.gradle.org/distributions/gradle-2.13-bin.zip > > > > .................................................................................................................................................................................................................................................................................................................. > > Unzipping > > C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7\gradle-2.13-bin.zip > > to > > C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7 > > > > E:\apache-ofbiz-16.11.05> > > > > > > It just stops without any error. > > > > I tried to search the mailing list but I don't know where to start since > > there is no error. > > Please help me to solve this problem. > > > > > |
Dear Wongsari,
It seems that your JAVA_HOME is pointing to JDK 12 instead of pointing to JDK 8. OFBiz requires JDK 8. If another JDK version is used it woul just stop silently, which is what is happening to you. In your first email yo said that you had JDK 8, but keep in maind that if you have several JDK versions installed on your system, you have to make sure that your JAVA_HOME is pointing to JDK 8 before starting OFBiz. Regards, Francisco Blurbiness www.blurbiness.com El lun., 8 abr. 2019 a las 14:16, [hidden email] (<[hidden email]>) escribió: > Hi Mr. Mane, > > Thank you for responding. > > I have tried the command but it still doesn't give any response. > > Here is the response. > E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start" > > E:\apache-ofbiz-16.11.05> > > E:\apache-ofbiz-16.11.05>gradlew loadDefault "ofbiz --start" > > E:\apache-ofbiz-16.11.05> > > E:\apache-ofbiz-16.11.05>gradlew "ofbiz --start" > > E:\apache-ofbiz-16.11.05> > > > I feel frustrated since there is no error messages whatsoever. > I edited gradlew.bat from "@echo off" to "@echo on" the result is > following: > E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start" > > E:\apache-ofbiz-16.11.05>if "Windows_NT" == "Windows_NT" setlocal > > E:\apache-ofbiz-16.11.05>set DIRNAME=E:\apache-ofbiz-16.11.05\ > > E:\apache-ofbiz-16.11.05>if "E:\apache-ofbiz-16.11.05\" == "" set DIRNAME=. > > E:\apache-ofbiz-16.11.05>set APP_BASE_NAME=gradlew > > E:\apache-ofbiz-16.11.05>set APP_HOME=E:\apache-ofbiz-16.11.05\ > > E:\apache-ofbiz-16.11.05>set DEFAULT_JVM_OPTS= > > E:\apache-ofbiz-16.11.05>if defined JAVA_HOME goto findJavaFromJavaHome > > E:\apache-ofbiz-16.11.05>set JAVA_HOME=C:\Progra~1\Java\jdk-12 > > E:\apache-ofbiz-16.11.05>set JAVA_EXE=C:\Progra~1\Java\jdk-12\bin\java.exe > > E:\apache-ofbiz-16.11.05>if exist "C:\Progra~1\Java\jdk-12\bin\java.exe" > goto init > > E:\apache-ofbiz-16.11.05>if not "Windows_NT" == "Windows_NT" goto > win9xME_args > > E:\apache-ofbiz-16.11.05>if "@eval[2+2]" == "4" goto 4NT_args > > E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS= > > E:\apache-ofbiz-16.11.05>set _SKIP=2 > > E:\apache-ofbiz-16.11.05>if "xcleanAll" == "x" goto execute > > E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS=cleanAll loadDefault "ofbiz > --start" > > E:\apache-ofbiz-16.11.05>goto execute > > E:\apache-ofbiz-16.11.05>set > CLASSPATH=E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar > > E:\apache-ofbiz-16.11.05>"C:\Progra~1\Java\jdk-12\bin\java.exe" > "-Dorg.gradle.appname=gradlew" -classpath > "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar" > org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start" > > E:\apache-ofbiz-16.11.05>if "1" == "0" goto mainEnd > > E:\apache-ofbiz-16.11.05>rem Set variable GRADLE_EXIT_CONSOLE if you need > the _script_ return code instead of > > E:\apache-ofbiz-16.11.05>rem the _cmd.exe /c_ return code! > > E:\apache-ofbiz-16.11.05>if not "" == "" exit 1 > > E:\apache-ofbiz-16.11.05>exit /b 1 > > E:\apache-ofbiz-16.11.05> > > > I tried to run the following by itself but there is nothing: > "C:\Progra~1\Java\jdk-12\bin\java.exe" "-Dorg.gradle.appname=gradlew" > -classpath "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar" > org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start" > > What can I do to correct this. > > Thank you. > > > On 2019/04/08 10:36:33, Swapnil M Mane <[hidden email]> wrote: > > Hi Wongsari, > > > > As you are using OFBiz-16.11 version. > > On cursory view, it seems you only run the cleanAll command. > > To set up and run OFBiz with default data you need to run different > > commands. > > > > To run OFBiz with default data here is the command > > gradlew cleanAll loadDefault "ofbiz --start" > > > > After the server start, access OFBiz at - > https://localhost:8443/ordermgr/ > > username - admin > > password - ofbiz > > > > > > I recommend you to read the README.md file [1] for more details. > > [1] https://github.com/apache/ofbiz/blob/release16.11/README.md > > > > > > - Best Regards, > > Swapnil M Mane, > > ofbiz.apache.org > > > > > > On Mon, Apr 8, 2019 at 3:39 PM [hidden email] <[hidden email]> > > wrote: > > > > > Hi, > > > > > > I wonder how to get see error log for ofbiz gradlew installation. > > > > > > My system is Windows 10, Oracle JDK 8, JAVA_HOME is set up. > > > > > > Here is my result to run the gradlew: > > > > > > E:\apache-ofbiz-16.11.05>gradlew.bat cleanAll > > > Downloading > https://services.gradle.org/distributions/gradle-2.13-bin.zip > > > > > > > ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. > > > Unzipping > > > > C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7\gradle-2.13-bin.zip > > > to > > > > C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7 > > > > > > E:\apache-ofbiz-16.11.05> > > > > > > > > > It just stops without any error. > > > > > > I tried to search the mailing list but I don't know where to start > since > > > there is no error. > > > Please help me to solve this problem. > > > > > > > > > |
Hi Mr. Francisco,
I uninstalled JDK 12 and installed JDK 8 and everything worked. Thank you for your support. On 2019/04/08 14:13:55, Blurbiness Info <[hidden email]> wrote: > Dear Wongsari, > > It seems that your JAVA_HOME is pointing to JDK 12 instead of pointing to > JDK 8. > > OFBiz requires JDK 8. If another JDK version is used it woul just stop > silently, which is what is happening to you. > > In your first email yo said that you had JDK 8, but keep in maind that if > you have several JDK versions installed on your system, you have to make > sure that your JAVA_HOME is pointing to JDK 8 before starting OFBiz. > > Regards, > > Francisco > > Blurbiness > www.blurbiness.com > > > El lun., 8 abr. 2019 a las 14:16, [hidden email] (<[hidden email]>) > escribió: > > > Hi Mr. Mane, > > > > Thank you for responding. > > > > I have tried the command but it still doesn't give any response. > > > > Here is the response. > > E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start" > > > > E:\apache-ofbiz-16.11.05> > > > > E:\apache-ofbiz-16.11.05>gradlew loadDefault "ofbiz --start" > > > > E:\apache-ofbiz-16.11.05> > > > > E:\apache-ofbiz-16.11.05>gradlew "ofbiz --start" > > > > E:\apache-ofbiz-16.11.05> > > > > > > I feel frustrated since there is no error messages whatsoever. > > I edited gradlew.bat from "@echo off" to "@echo on" the result is > > following: > > E:\apache-ofbiz-16.11.05>gradlew cleanAll loadDefault "ofbiz --start" > > > > E:\apache-ofbiz-16.11.05>if "Windows_NT" == "Windows_NT" setlocal > > > > E:\apache-ofbiz-16.11.05>set DIRNAME=E:\apache-ofbiz-16.11.05\ > > > > E:\apache-ofbiz-16.11.05>if "E:\apache-ofbiz-16.11.05\" == "" set DIRNAME=. > > > > E:\apache-ofbiz-16.11.05>set APP_BASE_NAME=gradlew > > > > E:\apache-ofbiz-16.11.05>set APP_HOME=E:\apache-ofbiz-16.11.05\ > > > > E:\apache-ofbiz-16.11.05>set DEFAULT_JVM_OPTS= > > > > E:\apache-ofbiz-16.11.05>if defined JAVA_HOME goto findJavaFromJavaHome > > > > E:\apache-ofbiz-16.11.05>set JAVA_HOME=C:\Progra~1\Java\jdk-12 > > > > E:\apache-ofbiz-16.11.05>set JAVA_EXE=C:\Progra~1\Java\jdk-12\bin\java.exe > > > > E:\apache-ofbiz-16.11.05>if exist "C:\Progra~1\Java\jdk-12\bin\java.exe" > > goto init > > > > E:\apache-ofbiz-16.11.05>if not "Windows_NT" == "Windows_NT" goto > > win9xME_args > > > > E:\apache-ofbiz-16.11.05>if "@eval[2+2]" == "4" goto 4NT_args > > > > E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS= > > > > E:\apache-ofbiz-16.11.05>set _SKIP=2 > > > > E:\apache-ofbiz-16.11.05>if "xcleanAll" == "x" goto execute > > > > E:\apache-ofbiz-16.11.05>set CMD_LINE_ARGS=cleanAll loadDefault "ofbiz > > --start" > > > > E:\apache-ofbiz-16.11.05>goto execute > > > > E:\apache-ofbiz-16.11.05>set > > CLASSPATH=E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar > > > > E:\apache-ofbiz-16.11.05>"C:\Progra~1\Java\jdk-12\bin\java.exe" > > "-Dorg.gradle.appname=gradlew" -classpath > > "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar" > > org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start" > > > > E:\apache-ofbiz-16.11.05>if "1" == "0" goto mainEnd > > > > E:\apache-ofbiz-16.11.05>rem Set variable GRADLE_EXIT_CONSOLE if you need > > the _script_ return code instead of > > > > E:\apache-ofbiz-16.11.05>rem the _cmd.exe /c_ return code! > > > > E:\apache-ofbiz-16.11.05>if not "" == "" exit 1 > > > > E:\apache-ofbiz-16.11.05>exit /b 1 > > > > E:\apache-ofbiz-16.11.05> > > > > > > I tried to run the following by itself but there is nothing: > > "C:\Progra~1\Java\jdk-12\bin\java.exe" "-Dorg.gradle.appname=gradlew" > > -classpath "E:\apache-ofbiz-16.11.05\gradle\wrapper\gradle-wrapper.jar" > > org.gradle.wrapper.GradleWrapperMain cleanAll loadDefault "ofbiz --start" > > > > What can I do to correct this. > > > > Thank you. > > > > > > On 2019/04/08 10:36:33, Swapnil M Mane <[hidden email]> wrote: > > > Hi Wongsari, > > > > > > As you are using OFBiz-16.11 version. > > > On cursory view, it seems you only run the cleanAll command. > > > To set up and run OFBiz with default data you need to run different > > > commands. > > > > > > To run OFBiz with default data here is the command > > > gradlew cleanAll loadDefault "ofbiz --start" > > > > > > After the server start, access OFBiz at - > > https://localhost:8443/ordermgr/ > > > username - admin > > > password - ofbiz > > > > > > > > > I recommend you to read the README.md file [1] for more details. > > > [1] https://github.com/apache/ofbiz/blob/release16.11/README.md > > > > > > > > > - Best Regards, > > > Swapnil M Mane, > > > ofbiz.apache.org > > > > > > > > > On Mon, Apr 8, 2019 at 3:39 PM [hidden email] <[hidden email]> > > > wrote: > > > > > > > Hi, > > > > > > > > I wonder how to get see error log for ofbiz gradlew installation. > > > > > > > > My system is Windows 10, Oracle JDK 8, JAVA_HOME is set up. > > > > > > > > Here is my result to run the gradlew: > > > > > > > > E:\apache-ofbiz-16.11.05>gradlew.bat cleanAll > > > > Downloading > > https://services.gradle.org/distributions/gradle-2.13-bin.zip > > > > > > > > > > .................................................................................................................................................................................................................................................................................................................. > > > > Unzipping > > > > > > C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7\gradle-2.13-bin.zip > > > > to > > > > > > C:\Users\Darwis\.gradle\wrapper\dists\gradle-2.13-bin\4xsgxlfjcxvrea7akf941nvc7 > > > > > > > > E:\apache-ofbiz-16.11.05> > > > > > > > > > > > > It just stops without any error. > > > > > > > > I tried to search the mailing list but I don't know where to start > > since > > > > there is no error. > > > > Please help me to solve this problem. > > > > > > > > > > > > > > |
Free forum by Nabble | Edit this page |