sap-tutorials / Issues

Creative Commons Attribution 4.0 International
8 stars 5 forks source link

Deploy Your Multi-Target Application (MTA) #677

Closed ceedee666 closed 2 years ago

ceedee666 commented 2 years ago

Tutorials: https://developers.sap.com/tutorials/btp-app-cap-mta-deployment.html

I was struggling quite a bit with step 8, the deployment of the app. The reason was, that the HANA Cloud Instance had been stopped. The error message I received from CF deplywas:

Error monitoring creation or update of services: Error creating service "cpapp-db" from offering "hana" and plan "hdi-shared": Failed to open connection to the database, because of: Failed to get connection for database 'dd1f4e6c-a66f-4eb0-9672-80db66855684' (dd1f4e6c-a66f-4eb0-9672-80db66855684.hana.trial-us10.hanacloud.ondemand.com:443), because of: SAP DBTech JDBC: Cannot connect to jdbc:sap://dd1f4e6c-a66f-4eb0-9672-80db66855684.hana.trial-us10.hanacloud.ondemand.com:443 [Object is closed: com.sap.db.jdbc.SecureChannelSession@2707b625 dd1f4e6c-a66f-4eb0-9672-80db66855684.hana.trial-us10.hanacloud.ondemand.com:443 ConnectionID:0 SessionID:0 on sun.nio.ch.UnixAsynchronousSocketChannelImpl[connected local=/10.132.204.62:34890 remote=dd1f4e6c-a66f-4eb0-9672-80db66855684.hana.trial-us10.hanacloud.ondemand.com/34.202.189.140:443]].

It would be good to add a hint to the tutorial that errors during deployment of the cpapp-db could be due to the HANA Cloud Instance not running.

slavipande commented 2 years ago

Hi @ceedee666 ,

Thanks for pointing this out.

We've included a note that will be visible when the upcoming updates are merged. Hence, I'll be closing this issue.

Best regards, Svetoslav