Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Getting Started FAQ

markpollack edited this page Apr 12, 2011 · 1 revision

If you have problems deploying....

If you have problems deploying you can use a few vmc commands to help diagnose the problem. Here is an example

>vmc crashes hello-spring

+----------------+----------------------------------+--------------------+
| Name           | Instance ID                      | Crashed Time       |
+----------------+----------------------------------+--------------------+
| hello-spring-1 | 2801de2c3c202ea58c16b1e30285a22a | 04/12/2011 12:15PM |
| hello-spring-2 | 861c8e8b2105cadc01df11b9d5e435c7 | 04/12/2011 12:15PM |
| hello-spring-3 | 3427ff302dcb575302a324f0b774b7c7 | 04/12/2011 12:15PM |
| hello-spring-4 | 19253968dd3cf03d694b6e14f71b723e | 04/12/2011 12:15PM |
+----------------+----------------------------------+--------------------+

and then look at the log file for application

>vmc crashlogs hello-spring
====> logs/stderr.log <====

Apr 12, 2011 4:15:10 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-55643
Apr 12, 2011 4:15:10 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 305 ms
Apr 12, 2011 4:15:10 PM org.apache.catalina.realm.JAASRealm setContainer
INFO: Set JAAS app name Catalina
Apr 12, 2011 4:15:10 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina

... omitted..

====> logs/stdout.log <====

INFO : org.springframework.web.context.ContextLoader - Root WebApplicationContext: initialization started
cloud API: api.cloudfoundry.com
INFO : org.springframework.web.context.support.XmlWebApplicationContext - Refreshing Root WebApplicationContext: startup date [Tue Apr 12 16:15:12 UTC 2011]; root of context hierarchy

... exception stack omitted..
Clone this wiki locally