jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

OSGI: getting warning messages about missing Require-Capability in jetty-util and jetty-security

Open shubhamGoswami88 opened this issue 3 years ago • 2 comments

!ENTRY org.eclipse.osgi 2 0 2022-08-05 08:49:55.132 !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved: !SUBENTRY 1 org.eclipse.osgi 2 0 2022-08-05 08:49:55.132 !MESSAGE Bundle initial@reference:file:../../../../eclipse/jetty/jetty-util/9.4.48.v20220622/jetty-util-9.4.48.v20220622.jar was not resolved. !SUBENTRY 2 org.eclipse.jetty.util 2 0 2022-08-05 08:49:55.132 !MESSAGE Missing required capability Require-Capability: osgi.serviceloader; filter="(osgi.serviceloader=org.eclipse.jetty.util.security.CredentialProvider)". !SUBENTRY 1 org.eclipse.osgi 2 0 2022-08-05 08:49:55.132 !MESSAGE Bundle initial@reference:file:../../../../eclipse/jetty/jetty-security/9.4.48.v20220622/jetty-security-9.4.48.v20220622.jar was not resolved. !SUBENTRY 2 org.eclipse.jetty.security 2 0 2022-08-05 08:49:55.132 !MESSAGE Missing required capability Require-Capability: osgi.serviceloader; filter="(osgi.serviceloader=org.eclipse.jetty.security.Authenticator$Factory)"

I am using the java8 with ASM ow2 9.3 and all the updated jars

shubhamGoswami88 avatar Aug 05 '22 07:08 shubhamGoswami88

Jetty 9.x is now at End of Community Support.

  • https://github.com/eclipse/jetty.project/issues/7958

Does this happen with Jetty 10.x?

If you cannot upgrade, know that Commercial Support for Jetty 9.x is offered via webtide.com (contact [email protected] for details)

joakime avatar Aug 05 '22 14:08 joakime

@shubhamGoswami88 you don't say to what container you're deploying, nor how you're deploying. I think the best thing for you to do is to look at the jetty-9.4 osgi tests, where we deploy all the jetty jars and their dependencies into an Eclipse osgi container. The tests all pass, so perhaps you can compare your setup with that of the tests. See https://github.com/eclipse/jetty.project/blob/jetty-9.4.48.v20220622/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestOSGiUtil.java#L108

janbartel avatar Aug 08 '22 04:08 janbartel

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 07 '23 00:09 github-actions[bot]

This issue has been closed due to it having no activity.

github-actions[bot] avatar Oct 08 '23 00:10 github-actions[bot]