Hi experts,
I am encountering a problem when using Spring Cloud Config in SCP Neo. I configured the configuration server to integrate with git repository as the configuration storage. The application works well with my local tomcat. However, when it's deployed in SCP Neo, the application failed to start with errors:
Caused by: java.nio.file.AccessDeniedException: /usr/sap/ljs/temp/config-repo-8751672466921455124/.git/HEAD.lock.lnk -> /usr/sap/ljs/temp/config-repo-8751672466921455124/.git/HEAD.lockljs-output-a10f743-2018-08-30.txt
Spring Cloud Config is using jgit (eclipse project) to access git repository and when the config server starts, it will connect and clone the remote git repository. The problem seems to have something with authorization. Could you help on this problem why the application is not working in SCP Neo while it's working on other environments.
Here is the techinical information:
Spring Cloud Config version: 2.0.0.RELEASE
jgit version: 4.11.0.201803080745-r
The application URL not working: https://account.int.sap.hana.ondemand.com/cockpit#/globalaccount/5d6f4b0a-2ecc-4242-9edd-f939522b469c/neosubaccount/f3d0990d-e309-4ee1-b07e-2fed65009ac4/app/embededconfigserver/dashboard
Please find the details as attached.
Thanks in advance for your kind help.