Search code examples
sap-commerce-cloud

how to configure HMC in Hybris


I am new to Hybris. I am able to configure Hybris Administration Console and access the sections by following wiki.hybris documents.

I dont find a section to configure the Hybris Management Console (HMC). I get 404 error when I access the URL http://localhost:9001/hmc. Please let me know where to find to get this URL working.

UPDATE

I am sorry for not giving enough information in my original post. I am using Hybris Commerce Suite 5.7.0.8 and followed the steps mentioned in wiki.hybris.

I executed the following commands in CMD.

  • setantenv.bat
  • ant clean all
  • hybrisserver.bat
  • Then logged into http://localhost:9001/ using admin credentials
  • Under Platform--> Initialization, I initialized to recreate the new tables.

Apart from the above, I did not do any other steps. I noticed that the extensions under HMC in Platform-->Extension, are all marked as X. Please refer to the attached image.

HMC under extension in HAC


Solution

  • You are missing the hmc as part of your localextensions.xml file... see the answer at: https://stackoverflow.com/a/33110971/932201

    After adding the hmc extension you have to run an update running system from the hac (or re-initialize).

    Note though that the hmc is the old backoffice application, in more recent versions it had first been depracted and finally been removed. The new backoffice application is called backoffice and its url is by default:

    http://localhost:9001/backoffice
    

    (you would also have to add the backoffice extension to your localextensions.xml file to make it available)

    Good luck!