cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Debugging server side applications using cf failed

smriti_roy
Discoverer
0 Kudos
697

I am trying to debug a backend code written in Java. Previously, I could do remote debugging but now I am getting the error "app not found". Below is the command that I used for remote connection:

cf ssh myapp -c "app/META-INF/.sap_java_buildpack/sapjvm/bin/jvmmon"

The error says:

App 'myapp' not found.

View Entire Topic
0 Kudos

Could you check if the app 'myapp' is listed in the current space with 'cf apps'? Your cf client needs to be targeted to the corresponding space containing this app (check with 'cf target').

smriti_roy
Discoverer

Hi Matthias,

Thanks for providing me with the input. Yes, the 'cf apps' was listing the app name. I have resolved this issue by restaging the app. It worked after that.