Skip to content

Error message for osgi bundle instants lacks root cause details #318

@jakub-berlinski-wttech

Description

@jakub-berlinski-wttech

If you run into issues when running osgi bundle install (for example: misconfigured port for an instance) root cause of the issue is not printed out.
$ sh aemw osgi bundle install --file 'core/target/acm.core-*.jar'
output:
ERRO[2025-08-14 10:32:07] local_author > cannot find bundle 'acm.core'

Other commands provide root cause which helps with troubleshooting.
$ sh aemw osgi bundle list -A

ERRO[2025-08-14 11:43:42] local_author > cannot request bundle list: Get "http://localhost:5502/system/console/bundles.json": dial tcp 127.0.0.1:5502: connectex: No connection could be made because the target machine actively refused it.

I'd like osgi bundle install to provide this helpful info as well.

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