Re: Deploying a shell script driven java application to cf


Noburou TANIGUCHI
 

Hi Dammina,

I think your case doesn't seem to fit the Cloud Foundry standard Java
buildpack.

One thing I can suggest is to use heroku-buildpack-runnable-jar [1]. With
this buildpack, you can start your app with a shell script.

But you probably have to modify it to fit your purpose. Also you should
calculate and specify appropriate memory for your app in the start script by
yourself.

Or if you can use Diego, it may be a solution to create and use a Docker
image for your app. But I don't know much about Diego, so this may be wrong.

[1] https://github.com/energizedwork/heroku-buildpack-runnable-jar


dammina sahabandu wrote
Hi All,
I have a java application which is a composition of several jars in the
running environment. The main jar is invoked by a shell script. Is it
possible to push such application into cloud foundry? And if it is
possible can you please help me on how to achieve that. A simple guide
will be really helpful.

Thank you in advance,
Dammina




-----
I'm not a ...
noburou taniguchi
--
View this message in context: http://cf-dev.70369.x6.nabble.com/cf-dev-Deploying-a-shell-script-driven-java-application-to-cf-tp2697p2717.html
Sent from the CF Dev mailing list archive at Nabble.com.

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