You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Steinar Bang <sb...@dod.no> on 2020/02/13 19:04:55 UTC
Is there a command to display what a bundle is Waiting for?
Platform: debian 10.3 "buster", amd64, openjdk 11, karaf 4.2.8 (from binary tarball)
I have this in bundle:list:
...
166 │ Waiting │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp backend
167 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp Liquibase db schema definitions
168 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp production database setup
169 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp OSGi service definitions
170 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp web frontend
171 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn web security component
172 │ Waiting │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp REST API
Curiously bundle:status reports 166 as Active:
karaf@root()> bundle:status 166
Active
karaf@root()>
Is there a reason for bundle 166 showing as Waiting in list and active
in status?
Is there a bundle:* command to show what service or imported package,
166 is Waiting for?
There are no suspicious stack traces from the startup in karaf.log.
Thanks!
- Steinar
Re: Is there a command to display what a bundle is Waiting for?
Posted by Steinar Bang <sb...@dod.no>.
>>>>> Alex Soto <al...@envieta.com>:
> Try command:
> bundle:diag
> See here: https://karaf.apache.org/manual/latest/#_diagnostic <https://karaf.apache.org/manual/latest/#_diagnostic>
Thanks! And thanks to JB as well!
The problem is a missing DataSource:
karaf@root()> bundle:diag
Ukelonn webapp backend (166)
----------------------------
Status: Waiting
Declarative Services
no.priv.bang.ukelonn.backend.UkelonnServiceProvider (12)
missing references: DataSource
Ukelonn webapp REST API (172)
-----------------------------
Status: Waiting
Declarative Services
no.priv.bang.ukelonn.api.UkelonnRestApiServlet (17)
missing references: UkelonnService
karaf@root()>
Re: Is there a command to display what a bundle is Waiting for?
Posted by Alex Soto <al...@envieta.com>.
Try command:
bundle:diag
See here: https://karaf.apache.org/manual/latest/#_diagnostic <https://karaf.apache.org/manual/latest/#_diagnostic>
Best regards,
Alex soto
> On Feb 13, 2020, at 2:04 PM, Steinar Bang <sb...@dod.no> wrote:
>
> Platform: debian 10.3 "buster", amd64, openjdk 11, karaf 4.2.8 (from binary tarball)
>
> I have this in bundle:list:
> ...
> 166 │ Waiting │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp backend
> 167 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp Liquibase db schema definitions
> 168 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp production database setup
> 169 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp OSGi service definitions
> 170 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp web frontend
> 171 │ Active │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn web security component
> 172 │ Waiting │ 80 │ 1.0.0.SNAPSHOT │ Ukelonn webapp REST API
>
> Curiously bundle:status reports 166 as Active:
> karaf@root()> bundle:status 166
> Active
> karaf@root()>
>
> Is there a reason for bundle 166 showing as Waiting in list and active
> in status?
>
> Is there a bundle:* command to show what service or imported package,
> 166 is Waiting for?
>
> There are no suspicious stack traces from the startup in karaf.log.
>
> Thanks!
>
>
> - Steinar
>
Re: Is there a command to display what a bundle is Waiting for?
Posted by Jean-Baptiste Onofré <jb...@nanthrax.net>.
Take a look on bundle:diag
Regards
JB
Le jeu. 13 f?vr. 2020 ? 20:04, Steinar Bang <sb...@dod.no> a ?crit :
> Platform: debian 10.3 "buster", amd64, openjdk 11, karaf 4.2.8 (from binary
tarball)
>
> I have this in bundle:list:
> ...
> 166 ? Waiting ? 80 ? 1.0.0.SNAPSHOT ? Ukelonn webapp backend
> 167 ? Active ? 80 ? 1.0.0.SNAPSHOT ? Ukelonn webapp Liquibase db schema
definitions
> 168 ? Active ? 80 ? 1.0.0.SNAPSHOT ? Ukelonn webapp production database
setup
> 169 ? Active ? 80 ? 1.0.0.SNAPSHOT ? Ukelonn webapp OSGi service definitions
> 170 ? Active ? 80 ? 1.0.0.SNAPSHOT ? Ukelonn webapp web frontend
> 171 ? Active ? 80 ? 1.0.0.SNAPSHOT ? Ukelonn web security component
> 172 ? Waiting ? 80 ? 1.0.0.SNAPSHOT ? Ukelonn webapp REST API
>
> Curiously bundle:status reports 166 as Active:
> karaf@root()> bundle:status 166
> Active
> karaf@root()>
>
> Is there a reason for bundle 166 showing as Waiting in list and active
> in status?
>
> Is there a bundle:* command to show what service or imported package,
> 166 is Waiting for?
>
> There are no suspicious stack traces from the startup in karaf.log.
>
> Thanks!
>
>
> \- Steinar
>
>