To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
Taking a look on the logs I found out a message which told me that there is no start command. So I added, and now, starting fails because there is "no java installation detected". I'm really close now.
I guess I need a buildpack that install the Java JRE.
At the moment, however, we've never had a requirement for supporting sbt-native-packager and so, it probably won't work.
---
applications:
- name: myapplication
path: target/universal/myapplication-0.0.1-SNAPSHOT.zip
buildpack: https://github.com/cloudfoundry/java-buildpack.git
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
It's likely to be failing because there are any container or framework in here.
On this kind of cases is mandatory to use a procfile, isn't i?
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
I didn't use the self-executable jar just for be a newbie :D. I don't know how CF would handle the dependencies, so, I decided to use this distribution method because it creates a Lib folder with full set of dependencies.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
Yup sure.
Please let me know if you see it ok.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
Should I refer to the same buildpack Url?
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
The deploy process works fine, but my application still fails, perhaps it's a little buggy yet, but it's my problem from now on.
Do you know If I need to take in account some kind ok keep-Alive check in order that CF doesn't try to restart the application all the time?
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
To unsubscribe from this group and stop receiving emails from it, send an email to vcap-dev+u...@cloudfoundry.org.
you can add the execute permissions manually before you upload your app.
you may also be specifying the wrong path to the command. you can use the absolute path like /app/somestartscript.sh
"exit_status"=>127, "exit_description"=>"app instance exited",
This is the error code for path not found on linux, isn't it?
cf set-env myapplication JBP_LOG_LEVEL DEBUG
cf push -p target/universal/myapplication-0.0.1-SNAPSHOT.zip -b https://github.com/cloudfoundry/java-buildpack.git
[Buildpack] DEBUG Release Payload ---
addons: []
config_vars: {}
default_process_types:
web: SERVER_PORT=$PORT JAVA_HOME=$PWD/.java-buildpack/open_jdk_jre JAVA_OPTS="-Djava.io.tmpdir=$TMPDIR
-XX:OnOutOfMemoryError=$PWD/.java-buildpack/open_jdk_jre/bin/killjava.sh -Xmx382293K
-Xms382293K -XX:MaxPermSize=64M -XX:PermSize=64M -Xss995K" $PWD/dist-zip-application-1.0.0.BUILD-SNAPSHOT/bin/dist-zip-application