Re: Application only starts when a bogus service is attached
Daniel Mikusa
On Fri, Sep 4, 2015 at 4:32 AM, Ramon Makkelie <ramon.makkelie(a)klm.com>
wrote: we have some application that since our upgrade from 207 to 214 would notWhat version of the Java build pack do you have installed? `cf buildpacks`? What does your `cf push` command & manifest.yml look like? What do you mean by "fake"? Is it an actual service attached to a DB? Is it a user provided service with no info? Some suggestions for troubleshooting... 1.) Run `cf logs <app>` in a second terminal. Then run `cf push`. After the build pack completes, you should see a line that says CF is starting the app. If you see no logging between that and the notice that the app exited, you might try this. Sometimes when an app exits too fast, logging is lost. http://support.run.pivotal.io/entries/82506749-Help-My-app-is-crashing-and-I-don-t-see-any-thing-in-the-logs 2.) Because it's a Java app, you might also try this. http://support.run.pivotal.io/entries/59869725-Java-Web-Applications-Slow-Startup-or-Failing (sorry for the PWS links, those should be relevant for anyone running CF though) You might try the samples for Tomcat 8, since that's what the Java build pack has been deploying for a while. Dan
|
|