On Thu, 2024-10-10 at 17:54 +0200, Robert Munteanu wrote:
> One of the three factory configs defined in the feature model file
> does
> not bind to a component. I see no differences between the config
> declaration or the components themselves.

Ok, so this was much simpler than I expected, but it took a really long
time to see.

I'll paste the factory PID I defined and the factory PID the compoment
expected below at the same indentation.

org.apache.sling.commons.crypto.jasypt.internal.JasyptStandardPBEStringCryptoService
org.apache.sling.commons.crypto.jasypt.internal.JasyptStandardPbeStringCryptoService

So it was all a matter of character casing. Once got that right
everything worked.

Mini-rant: it does not help that all editors and tools that I tried
(Firefox, Eclipse, VS Code, Sublime text) defaulted to case-insensitive
search and pretended that everything was matched. However, once I went
with good-old grep and ack, the problem because obvious.

On the plus side, I know now more about the OSGi log service and how it
to toggle it on for great amounts of debug information ([1]).

Thanks,
Robert

[1]:
https://docs.osgi.org/specification/osgi.cmpn/7.0.0/service.log.html#org.osgi.service.log.admin.LoggerContext.LOGGER_CONTEXT_DEFAULT_LOGLEVEL

Reply via email to