question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

org.cloudfoundry.client.v3.ClientV3Exception: CF-ResourceNotFound(10010): App not found

See original GitHub issue

I 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:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
twoseatcommented, Mar 11, 2020

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.

0reactions
rahul-rajcommented, Mar 11, 2020

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to deploy/run tasks on Pivotal CF from Spring Cloud ...
CF-UnprocessableEntity(10008): The request is semantically invalid: Task must have a droplet. Specify droplet or assign current droplet to app.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found