org.cloudfoundry.client.v3.ClientV3Exception: CF-ResourceNotFound(10010): App not found
See original GitHub issueI was trying to write a Java code to start/stop/restart the application using the given instance name.
Here is the code that I have written: https://gist.github.com/rahul-raj/31deba3bef8ed5f142fd5734096a39e5
And CF configuration here: https://gist.github.com/rahul-raj/a06a1aba4f89b78e2c218caaa9da2189
Here are the dependencies added in pom.xml : https://gist.github.com/rahul-raj/be9d4386999e106fcab4e9f29e5a4373
But I’m getting the below error while running the code (Spring boot):
org.cloudfoundry.client.v3.ClientV3Exception: CF-ResourceNotFound(10010): App not found
Note that the application curl-test
is already existing in CF space. It was stopped manually (cf stop
command) to test my code.
Here is the complete stacktrace: https://gist.github.com/rahul-raj/26bc042fbaf04ae3aefbaaeb7f4fe7e2
Also, note that my CF app instance is not starting up when I code as below:
cloudFoundryClient.applicationsV3().start(request);
Application is still in STOPPED
state.
Please check this… Thank you!
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (6 by maintainers)
Top GitHub Comments
Correct. One of the wins of Reactor is it handles the coordination and scheduling of threads for you, but you do have to know that there are (potentially) multiple threads active.
wow! it worked! So, It seems like start task was in different thread of execution and the main thread was exiting right away before completion of start task?