Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Error: container exited with status 7 #33

@rufreakde

Description

@rufreakde

Hey,
after installation I typed in the following commands and got a short error:

<projectpath>cf local stage onboarding
Buildpack: will detect
[onboarding] 2019-03-07T08:08:37.834361300Z None of the buildpacks detected a compatible application
[onboarding] 2019-03-07T08:08:37.836511800Z 2019/03/07 08:08:37 Error: failed to build: exit status 222
Error: container exited with status 7
FAILED

How can I find out where the problem is? Our apps are java 8 applications. I tried -b java_buildpack but same error:

cf local stage onboarding -b java_buildpack
Buildpack: java_buildpack
[onboarding] 2019-03-07T08:18:05.896845500Z -----> Java Buildpack v4.15 | https://github.com/cloudfoundry/java-buildpack.git#553f2c6
[onboarding] 2019-03-07T08:18:05.904356000Z [Buildpack]                      ERROR Finalize failed with exception #<RuntimeError: No container can run this application. Please ensure that you've pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation. >
[onboarding] 2019-03-07T08:18:05.904422500Z No container can run this application. Please ensure that you've pushed a valid JVM artifact or artifacts using the -p command line argument or path manifest entry. Information about valid JVM artifacts can be found at https://github.com/cloudfoundry/java-buildpack#additional-documentation.
[onboarding] 2019-03-07T08:18:05.912796400Z Failed to compile droplet: Failed to run finalize script: exit status 1
[onboarding] 2019-03-07T08:18:05.914104100Z 2019/03/07 08:18:05 Error: failed to build: exit status 223
Error: container exited with status 7
FAILED

Other Buildpacks don't seem to work either:
buildpack                   position   enabled   locked   filename
java_buildpack              2          true      false    java-buildpack-cflinuxfs2-v4.17.1.zip
sap_java_buildpack_1_8_6    13         true      false    sap_java_buildpack-v1.8.6.zip
sap_java_buildpack          14         true      false    sap_java_buildpack-v1.8.6.zip
sap_java_buildpack_1_7_11   15         true      false    sap_java_buildpack-v1.7.11.zip
sap_java_buildpack_1_8_0    16         true      false    sap_java_buildpack-v1.8.0.zip

My System:

Docker version 18.09.2, build 6247962
plugin      version   command name                 command help
cf version 6.38.0+7ddf0aadd.2018-08-07
cflocal     0.19.0    local                        Stage, launch, push, pull, and export CF apps -- in Docker

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions