Skip to Content
avatar image
Former Member

SAP Cloud Application Library - Hybris Commerce 6.4

Hi,

I've created a instance of Hybris Commerce 6.4 in AWS. After the instance is ready, visiting the URL as suggested in the Getting Started PDF gives a 404 error (PDF: https://caldocs.hana.ondemand.com/caldocs/help/Getting_Started_Hybris_64.pdf).

https://vhcalhybris.dummy.nodomain:9002/backoffice/

HTTP ERROR 404

What am I missing?

Add comment
10|10000 characters needed characters exceeded

  • Former Member

    Hi, Im also facing same issue

    Can anyone from SAP help?

    Thanks,

    Andruth

  • I am also facing the above issue - despite updating hosts file on the system as suggested in the "Getting Started Guide".

    CAL Team - Any updates?

    Thanks.

    Rakesh

  • Get RSS Feed

1 Answer

  • Mar 01 at 06:31 PM

    Hi Ganesan / Andruth,

    I have worked around this issue in the following manner, if you want to try this out:

    (1) Stop Hybris services as shown in the Getting Started Guide.

    (2) Establish a ssh session to the server as root, switch to hdbadm and invoke hdbsql and attempt to logon as HYBRISADM (this command worked for me - $ hdbsql -i 00 -d HDB -n <internal IP>:30015 -u HYBRISADM -p Appl1ance.

    The password for this database user is stored in the file /cal/plugins/hyc/6.4/hybris/config/local.properties (which is Appl1ance). When you try to logon it can be seen that this password has expired and the database expects a new password. Provide the new password for HYBRISADM.

    (3) Backup the file /cal/plugins/hyc/6.4/hybris/config/local.properties

    (4) Update the "Database Connection" section of the file /cal/plugins/hyc/6.4/hybris/config/local.properties as follows, replacing localhost with the private IP of the server for the "db.url" parameter, and the new password for HYBRISADM for the "db.password" parameter.

    #Database Connection

    db.url=jdbc:sap://<private IP>:30015/?reconnect=true

    db.driver=com.sap.db.jdbc.Driver

    db.username=HYBRISADM

    db.password=<new password>

    hanadb.storage.columnbased=true

    (5) Establish a new ssh session to the server as root, switch to hybris, and navigate to /cal/plugins/hyc/6.4/hybris/platform, and issue the following commands to start Hybris services:

    $. ./setantenv.sh

    $nohup ./hybrisserver.sh &

    After starting the services as above, the following URLs - https://vhcalhybris.dummy.nodomain:9002/hac , https://vhcalhybris.dummy.nodomain:9002/backoffice, and the storefront URLs provided in the CAL Getting Started Guide - for this solution works fine for me. (You'll need to map the public IP of the server in the local desktop's "hosts" file for the above URLs to resolve though, as detailed in the Getting Started Guide).

    Hope this helps.

    Rakesh Tripathi

    Add comment
    10|10000 characters needed characters exceeded