Highlighted

Updated properties values on sling:osgiconfig are not considering

GK-AEM

01-02-2018

Hi All,

I have scheduler and the required input is taken from OSGI configuration.Based on requirement i have deleted existing values and added new values.

When running the scheduler, it's still considering old values in OSGI configuration but not new ones.

Is one has any idea,how to resolve the issue?

Thanks,

Kishore

Replies

Highlighted

edubey

01-02-2018

Two possibility:-

1. You are reading properties in activate method of service instead modified -

2. Someone has modified properties in felix which would have stored under /apps/system. Delete it if it exists

Highlighted

kautuk_sahni

Community Manager

02-02-2018

If you have created a sling:osgiConfig node, you should have a service or component, which is using this configuration setting. Then this component/service should render the value.

Reference 1:- How to create a sling:OsgiConfig property and access it in component Jsp ?

Reference 2:- Reading OSGi Configuration Values for Adobe Experience Manager 6.3

-Kautuk