Skip to content

Liberty CNB #109

Description

@krismarc

I'm trying to use Liberty CNB. Details shared here:
paketo-buildpacks/liberty#1047

the start command seems to be set:
start command: server run defaultServer

However, application fails to get started:

   2025-08-01T11:09:26.12+0200 [APP/PROC/WEB/0] OUT Detected process type: "launcher", isSidecar: true
   2025-08-01T11:09:26.12+0200 [APP/PROC/WEB/0] OUT ERROR: failed launching with self: "launcher", defaultProc: "", args: []string{}, error: determine start command: when there is no default process a command is required

Is there anything that CNB needs to meet yet?

Here's config/metadata.toml:

# cat metadata.toml
buildpack-default-process-type = "open-liberty-runtime"

[[buildpacks]]
  id = "paketo-buildpacks/ca-certificates"
  version = "3.10.0"
  api = "0.7"
  homepage = "https://github.com/paketo-buildpacks/ca-certificates"

[[buildpacks]]
  id = "paketo-buildpacks/bellsoft-liberica"
  version = "11.2.0"
  api = "0.7"
  homepage = "https://github.com/paketo-buildpacks/bellsoft-liberica"

[[buildpacks]]
  id = "paketo-buildpacks/syft"
  version = "2.10.0"
  api = "0.7"
  homepage = "https://github.com/paketo-buildpacks/syft"

[[buildpacks]]
  id = "paketo-buildpacks/liberty"
  version = "5.1.0"
  api = "0.7"
  homepage = "https://github.com/paketo-buildpacks/liberty"

[[buildpacks]]
  id = "paketo-buildpacks/dist-zip"
  version = "5.10.0"
  api = "0.7"
  homepage = "https://github.com/paketo-buildpacks/dist-zip"

[[buildpacks]]
  id = "paketo-buildpacks/spring-boot"
  version = "5.33.0"
  api = "0.7"
  homepage = "https://github.com/paketo-buildpacks/spring-boot"

[[processes]]
  type = "open-liberty-runtime"
  command = ["server"]
  args = ["run", "defaultServer"]
  direct = true
  buildpack-id = "paketo-buildpacks/liberty"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions