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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
My configurations are not storing in /apps/system instead these are part of run modes.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
I have all these basic setting mentioned by your reply.
Views
Replies
Total Likes
Share the code of service where you reading those properties
Views
Replies
Total Likes
There is an issue with in custom code and we fixed it.
Thanks all for your support!!
Views
Replies
Total Likes
Views
Likes
Replies