cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

I am trying to Install Hybris as a recipe mode using trial version of Hybris v6.3, and i am getting below errors for b2b_acc_plus and b2c_acc_cis_server

Former Member
0 Kudos
1,216

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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