Skip to Content
1

Unable to start or delete Java app on HCP

Oct 29, 2016 at 08:06 PM

382

avatar image
Former Member

Dear All,

I have a java application on HCP which was up and running. However, since last one day the application does not start and gives a message

"Unable to start application pvsprocessingapp: The application you are trying to start has a failed or starting process. Stop it and try starting again"

I tried to delete the application as well, but here as well it fails with error "Unable to delete application <app>: Internal Server Error (500)"

Could somebody help us out, as i would not want to delete this app, as i would loose the configuration and bindings associated with the app.

Regards,

Anit

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Anton Levin
Oct 29, 2016 at 08:16 PM
0

Hello Anit,

I'd suggest to use Neo Console Tool "status" command [1] with a "show-full-process-id" flag and get a process ID of your app, the you may stop that "corrupted" process by its ID with "stop" command [2] (use "application-process-id" argument). After that you should be able to start application normally.

Regards,

Anton

[1] https://help.hana.ondemand.com/help/frameset.htm?d4f6592584464cc6a5c3c0b6fc88abf9.html

[2] https://help.hana.ondemand.com/help/frameset.htm?b5bfcbf682684129b142606e1d4ca5cb.html

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hello Okan, log output suggests to check your proxy settings (they are configured in neo.bat | neo.sh files which located in the "tools" directory of your SDK). Regards, Anton

1

Hello Anton,

Wish I could redirect this solution to a proper question on its own but due to platform constraints, we cannot do so. Would you say this issue reported by Okan is also clarifying or providing a solution to the parent question, authored by the OP Anit? If not, this should have its own thread. Do you mind copying over this solution to the actual question here: https://answers.sap.com/questions/226924/vm-error-unable-to-start-or-delete-java-app-on-hcp-1.html

I believe Okan's comment here instead needs to be handled as it violates our ROE.

Best regards,

Sajid Amir

0
Former Member

Hello Anton,

i am fixed proxy problem. But I have VM_FAILED status

my log:

2017-06-16 18:22:48,056 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Arguments: --account xx --application-process-id xx --user xx@gmail.com --host hana.ondemand.com --synchronous 2017-06-16 18:22:49,228 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Starting execution of command [stop] 2017-06-16 18:22:49,248 INFO [pool-2-thread-1] com.sap.jpaas.infrastructure.console.PropertyFileProvider: Loaded properties file [/tmp/sdkcheck.hana.ondemand.com.3.3.9.tmp] 2017-06-16 18:22:49,250 INFO [pool-2-thread-1] com.sap.jpaas.infrastructure.console.ConsoleLogger: Currently running SDK version validity check for user SDK version: 3.3.9, landscape: hana.ondemand.com and runtime: neo-java-web 2017-06-16 18:22:51,399 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Your SDK is the latest version. 2017-06-16 18:22:51,401 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Command [stop] init() finished for [2173] ms 2017-06-16 18:22:58,706 INFO [main] com.sap.core.deploy.client.publicrest.impl.BasicClient: Update state of process to TargetProcessState [processState=STOPPED, loadBalancerState=null] 2017-06-16 18:22:58,707 INFO [main] com.sap.core.deploy.client.publicrest.impl.BasicClient: NOTE: csrfToken init >> Fri Jun 16 18:22:58 EET 2017 2017-06-16 18:22:58,768 INFO [main] com.sap.core.deploy.client.publicrest.impl.BasicClient: csrfToken = [] 2017-06-16 18:23:19,848 INFO [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: Command [stop] cleanup() finished for [2] ms 2017-06-16 18:23:19,849 FATAL [main] com.sap.jpaas.infrastructure.console.ConsoleLogger: (!) ERROR: Waiting for status failed; [Fri Jun 16 18:23:19 EET 2017] Application [null] is in status VM_FAILED after 20809 ms com.sap.jpaas.infrastructure.console.exception.CommandException: Waiting for status failed at com.sap.core.deploy.client.cmd.helpers.Helper.waitForStatus(Helper.java:77) at com.sap.core.deploy.client.cmd.helpers.StartStopHelper.stopInternal(StartStopHelper.java:121) at com.sap.core.deploy.client.cmd.helpers.StartStopHelper.stop(StartStopHelper.java:78) at com.sap.core.deploy.client.cmd.commands.StopCommand.run(StopCommand.java:48) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:183) at com.sap.jpaas.infrastructure.console.CommandManager.run(CommandManager.java:144) at com.sap.jpaas.infrastructure.console.ConsoleClient.executeCommand(ConsoleClient.java:231) at com.sap.jpaas.infrastructure.console.ConsoleClient.run(ConsoleClient.java:177) at com.sap.jpaas.infrastructure.console.ConsoleClient.main(ConsoleClient.java:74) Caused by: com.sap.jpaas.infrastructure.console.exception.CommandException: [Fri Jun 16 18:23:19 EET 2017] Application [null] is in status VM_FAILED after 20809 ms at com.sap.core.deploy.client.cmd.timeout.StartStopProgressMonitor.progressCheck(StartStopProgressMonitor.java:137) at com.sap.jpaas.infrastructure.console.progress.ProgressMonitor.run(ProgressMonitor.java:86) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduleThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

0