Re: Starting Spring Boot App after deploying it to CF


James Bayer
 

the sample app i referenced with the "initial" director works for me:

$ curl http://jamesboot.cfapps.io
Greetings from Spring Boot!

here's the corresponding logs to the sample app once it's restarted:
https://gist.github.com/jbayer/eead23ded28bf1bada47

what behavior do you get when you deploy the sample app?

On Sat, Sep 12, 2015 at 10:24 AM, Qing Gong <qinggong(a)gmail.com> wrote:

Thanks James! You are right that it is pretty straight forward to build
and deploy this sample project. However, I got the exact same behavior. The
System.out worked when I ran the jar as a standalone app (java -jar
xxx.jar). However, when deployed in CF (cf push appname -p abc.jar),
nothing happens in stdout. I know a static block will execute and output
System.out messages. The problem is that the Spring Boot app doesn't start
after deployment.
--
Thank you,

James Bayer

Join cf-dev@lists.cloudfoundry.org to automatically receive all group messages.