Skip to Content
0
May 02, 2020 at 10:00 PM

CAP MTA Java Project - Local Database is used on CF

187 Views Last edit May 02, 2020 at 10:12 PM 2 rev

Hello community,

I started a CAP Java project and turned it into a MTA project, you can find it here.

I deployed my db module and my srv module with cf deploy command to my CF account and used cf env to create my default-env.json.

The deployment is running without any errors.

If I start my srv application my service is still running against my local sqllite database:

I attched the compete log file.cockpitcap-srv-2020-05-02-22-10-458430000.txt

What must I do, that my HANA database is used on CF and not my local sqlite database?

Before I turned my project into a MTA project I used cf push and a manifest.yaml for the deployment and it was working fine.

Best Regards,

Chris