on 02-23-2018 11:32 AM
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?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works! Thanks Rakesh!
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.