Skip to Content

Hybris One-Click Installer is designed to simplify the SAP Hybris Commerce installation process and post-installation configuration efforts, thus helping the developers/basis consultants to setup the infrastructure in a faster and easier manner.

 

Installing SAP Hybris Commerce Using Hybris One-Click Installer

  1. Download the Hybris One-Click Installer tool and extract the ZIP to local directory.
  2. Navigate to the dist/conf folder from the local directory.
  3. Update the path in the properties file so that the path points to the location of commerce suite ZIP file.

A sample folder structure for the commerce suite ZIP file is shown below for your reference.

 

  1. Open the Command Prompt from the local directory, where your jar file is available, and execute the command java -jar HybrisDeployer.jar.

The Hybris One-Click Installer tool appears.

 

 

  1. Select the required Hybris commerce version and the Hybris commerce suite ZIP file from the drop-down list.

Note: The fields in these drop-down lists are populated based on the path you configure in the hybrisdeployer.properties file.

  1. Select the required recipe. The recipes are populated from the Hybris commerce suite zip file.
  2. Perform the required installation:
    1. Hybris with Data Hub – To install Hybris with Data Hub, enable the Data Hub check box and provide the path to the Tomcat ZIP file.
    2. Hybris with Data Hub and CRM – To install Hybris with Data Hub and CRM extensions, enable the CRM check box and provide the path of the CRM files. This path should contain the following ZIP files:
      • HybrisExtension.zip (can be downloaded from SMP or from local builds)
      • Datahub.zip (can be downloaded from SMP or from local builds)
      • tomcat.zip (can be downloaded from https://www.apache.org/)
    3. Hybris only – To install only Hybris, just select the destination folder. Do not select the CRM and Data Hub
  3. Select the destination folder where you want to install SAP Hybris Commerce and click Install.

The system performs the following actions in the background:

  • Parses the recipe file and reads all the extensions inside the recipe file.
  • Reads all the extensions and their dependencies from the xml file.
  • Checks whether all the extensions and dependencies are available in the Hybris suite folder.

The installation is successful if all the extensions and their dependencies are available.          Otherwise, the system throws an error about the missing extensions.

SAP Hybris Commerce is successfully installed.

Installing Accelerators to the Hybris System

You can install accelerators to the existing Hybris system using Hybris one-click installer.

To install the accelerators:

  1. Open Hybris one-click installer. For more information on opening the tool, see the initial steps in the Installing Fresh SAP Hybris Commerce

 

  1. Select the Update Hybris
  2. From the Install Extensions drop-down menu, choose Accelerator.
  3. Select the existing Hybris location where you want to install the accelerator.
  4. Select the accelerator zip file that contains the required recipes.

The system performs the following actions in the background:

  1. Unzips the accelerator zip file.
  2. Populates the recipes in the Select Recipe drop-down menu.
  1. Choose the recipe that you want to install.
  2. Click Validate and Update Localextensions.

The system performs the following actions in the background:

  1. Copies the accelerator extensions and recipe into the Hybris Commerce suite.
  2. Parses the extensions inside the gradle file.
  3. Checks whether the extensions are available in the Hybris Commerce suite xml file.
  4. Updates the Hybris Commerce suite xml file with the missing extensions.
  5. Checks whether the required extensions and dependencies are available in the existing Hybris Commerce suite inside the bin folder.
  6. Click the Ant Clean All

Note: The Ant Clean All button is enabled when there are no missing extensions.

 

Installing CRM extensions to existing Hybris System

You can install the SAP CRM extensions to the existing Hybris system using Hybris one-click installer.

To install the SAP CRM extensions:

  1. Open Hybris one-click installer. For more information on opening the tool, see the initial steps in the Installing Fresh SAP Hybris Commerce

         

  1. Select the Update Hybris
  2. From the Install Extensions drop-down menu, choose SAP CRM.
  3. Select the existing Hybris location where you want to install the accelerator.
  4. Select the SAP CRM zip file that contains the required recipes.

The system performs the following actions in the background:

  1. Unzips the SAP CRM zip file.
  2. Populates the recipes in the Select Recipe drop-down menu.
  1. Choose the recipe that you want to install.
  2. Click Validate and Update Localextensions.

The system performs the following actions in the background:

  1. Copies the SAP CRM extensions and recipe into the Hybris Commerce suite.
  2. Parses the extensions inside the gradle file.
  3. Checks whether the extensions are available in the Hybris Commerce suite xml file.
  4. Updates the Hybris Commerce suite xml file with the missing extensions.
  5. Checks whether the required extensions and dependencies are available in the existing Hybris Commerce suite inside the bin folder.
  6. Click the Ant Clean All

 

Post Installation Procedure

  1. If you have selected “Data Hub” during installation, then you must install the security certificate in Data Hub to successfully connect to SAP CRM/ ERP:
  2. Generate the security certificate from SAP CRM / ERP.
  3. Covert the certificate to .jks
  4. Place the .jks file in the conf/datahub/keystores
  5. Copy the database jar file based on the database that you are using.

Example: In case of SQL database, copy mysql-connector-java-5.1.30-bin.jar to <<DataHub Folder>>\webapps\DH_Config\others.

  1. Update the properties file under <<DataHub Folder>>\webapps\DH_Config\others and the local.properties file for Hybris under <<Hybris Installation Directory>>\<<Version>>\hybris\config.
  2. Execute the ant clean all
  3. Start the Hybris server using the command bat.

Viewing the Log Files

The Hybris One-Click Installer tool generates the build logs once the application is run. The logs are placed in the buildlogs folder in the application home directory.
Note : This is mainly developed for the developers installing Hybris commerce suite with CRM add-on.

 

Limitations

  • You need both the B2B and B2C accelerators for installing SAP CRM extensions.
  • Before doing the ant clean all, you must comment the yacceleratorfulfilmentprocess
  • While performing ant clean all, the system cannot find the exact location of the extensions beyond two levels of the bin folder. In such case, the following sample error message appears:

“Extension ‘sapcoremodel’ doesn’t specify a path and no scanned extension was matching the name.”

To rectify this error, you must specify the exact location of the extension in the localextensions.xml file as below:

<path autoload=”false” dir=”${HYBRIS_BIN_DIR}/ext-integration/crm”/>

To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

  1. krishna pennacchioni

    Hi Anilkumar,

    thanks for your article.

    questions:

    1) is only compatibility with Windows? I have mac and linux.

    2) Exist a docker with Hybris Commerce?

    I like build a labs for Hybris.

    thanks

    Krishna Pennacchioni

    IT Saraiva.com.br

    (0) 
  2. AnilKumar Vippagunta Post author

    New version of the tool has released with the below additional features

    • Tool will perform dependency check the and popup message if dependencies  are missing
    • Utility also allows to do new Hybris Commerce Suite Installation and also you can add CRM extensions on existing Hybris instance.

     

     

    (0) 

Leave a Reply