on 2018 Feb 06 6:22 PM
Hi Experts,
I am trying to install Hybris v6.30 which us trail version, and I workout all pre steps and try to execute one by one. I have done b2b_acc and b2c_acc successfully, but when I am trying to install b2b_acc_plus I am getting below error.
:recipes/b2b_acc_plus:setup FAILED
FAILURE: Build failed with an exception.
Where: Build file 'C:\hybris\installer\recipes\b2b_acc_plus\build.gradle' line: 71
What went wrong: Execution failed for task ':recipes/b2b_acc_plus:setup'.
external process returned non-zero exit code, command: [cmd, /c, set "ANT_OPTS=-Xmx1024m" & set "PLATFORM_HOME=C:\hybris\hybris\bin\platform" & set "ANT_HOME=C:\hybris\hybris\bin\platform\apache-ant-1.9.1" & set "PATH=C:\hybris\hybris\bin\platform\apache-ant-1.9.1\bin;%PATH%" & ant extgen -Dinput.template=yacceleratorstorefront -Dinput.name=yb2bacceleratorstorefront -Dinput.package=de.hybris.platform.yb2bacceleratorstorefront]
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 2 mins 34.19 secs Problem with java process - finished with non-zero exit code (1) C:\hybris\installer>
Also I tried with other recipe like b2c_acc_cis_server and I am getting below errors.
FAILURE: Build failed with an exception.
Where: Build file 'C:\hybris\installer\recipes\b2c_acc_cis_server\build.gradle' line: 183
What went wrong: Execution failed for task ':recipes/b2c_acc_cis_server:setup'.
external process returned non-zero exit code, command: [cmd, /c, set "MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=512M" & set "MAVEN_HOME=./build-tools/apache-maven" & set "PATH=./build-tools/apache-maven\bin;%PATH%" & mvn archetype:generate -DgroupId=org.training.cistax.myext -DartifactId=taxService -Dversion=1.0-SNAPSHOT -DarchetypeGroupId=com.hybris.cis.ext -DarchetypeArtifactId=hybris-cis-core-tax-ext-archetype -DarchetypeVersion=5.6.0.0.18 -Dmaven.repo.local=C:\Users\RanjithLingala/.m2/repository -DinteractiveMode=false]
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Can anyone look into this and help me to resolve to install all other recipe's.
Thanks, Ranjith Lingala
Request clarification before answering.
According to the official documentation on help.hybris.com, it is not recommended to install multiple recipes under the same setup. (See here)
The reason is that the installer script will copy and overwrite files and reinitialize the database according to the specified recipe. So installing a second recipe will overwrite certain configs and files created by the first one.
I would suggest that you create multiple Hybris Commerce directories with each their own recipe setup.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephane,
Yes I am trying to install multiple recipes in same Hybris Commerce installation. Also I first installed b2b_acc recipe then I tried to b2b_acc_plus and I am getting above error. After that I tried to install b2c_acc it was success, then I tried to install b2c_acc_cis_server and I am getting above error. And after that I didn't tried to install other recipe's. Do we need to set any specific path for b2b_acc_plus and b2c_acc_cis_server recipes., please check and help me to resolve the issue.
Thanks, Ranjith Lingala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.