SAP-samples / cloud-espm-cloud-native

Enterprise Sales and Procurement Model (ESPM) Cloud Native is a project that showcases how an application can be made resilient by implementing resilience design patterns. This application is developed using Spring Boot framework and can be deployed locally as well as on SAP BTP, Cloud Foundry environment.
Apache License 2.0
39 stars 41 forks source link

App has not started, app crashed while deploying #4

Closed SreekanthGudisi closed 4 years ago

SreekanthGudisi commented 4 years ago

Hi App getting crashed while deploying the app. For ex: Im tyring to deploy the app cf push i302342-espm-product-svc.

image

Attached the log.

i302342-espm-product-svc-2019-12-27 16_47_02.431+0000.txt

Any help why the app is getting crashed.

mahaluckshmi commented 4 years ago

Hi, Kindly use the same hana service name in all config files. Example: https://github.com/SAP-samples/cloud-espm-cloud-native/blob/master/product-service/src/main/java/com/sap/refapps/espm/config/HanaDataSourceConfig.java#L22 , replace "espm-hana-db" with the name of the service you created.