この会話は、活動がないためロックされています。新しい投稿を作成してください。
この会話は、活動がないためロックされています。新しい投稿を作成してください。
Whenever we need to change a value in the configs, the change is not picked up immediately . The server always needs a restart. Is this an issue with server ?
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
When you package this configuration as OSGI config node and install/deploy on an environment, it should be picked up by the runtime, and there are log statements about a changed configuration. Please validate in your error.log that these log statements are present.
If these log statements about a changed configuration are there, the service which has the same PID as the configuration, will be notified. This notification can be done in 2 ways:
* If the service provides a modification methods (using the @modified annotation), this method will be called.
* if the services noes not provide a modification method (that means, that the service does not have a method with the @modification annotation), the service will the deactivated and then activated again (which might result in deactivations/activations of other services).
Can you check for the log messages?
表示
返信
いいね!の合計
Based on the tags you've provided, I'm assuming your question is related to AEM. I've moved your question to the Adobe Experience Manager community. Please let me know if I misunderstood and your question was not related to AEM.
表示
返信
いいね!の合計
Yes . Thats correct!
表示
返信
いいね!の合計
Shouldnt require a restart.. I faced similar issue. It was always picking it up from /app/system/config which had old value.. Removed that node and new values started working..
表示
返信
いいね!の合計
Nope. Thats not the case here . We cross checked. We don't have any config set via felix console. Still the system needed a restart. We have raised a daycare ticket, hopefully we will hear back soon.
表示
返信
いいね!の合計
With Config you mean "OSGI Configuration"? How do you perform these changes? What AEM version are you using? And what is logged during that time?
Jörg
表示
返信
いいね!の合計
I have a service in which I pass the values via osgi:config . So when there is a request from business for any change we change the values under config.prod for the corresponding configuration , package the node and install it in prod. But the issie is when this config is installed , it always needs a restart for he config to get picked up. My wlquestion is whether this is a normal behaviour or am I missing something ?
We use AEM 6.2
表示
返信
いいね!の合計
When you package this configuration as OSGI config node and install/deploy on an environment, it should be picked up by the runtime, and there are log statements about a changed configuration. Please validate in your error.log that these log statements are present.
If these log statements about a changed configuration are there, the service which has the same PID as the configuration, will be notified. This notification can be done in 2 ways:
* If the service provides a modification methods (using the @modified annotation), this method will be called.
* if the services noes not provide a modification method (that means, that the service does not have a method with the @modification annotation), the service will the deactivated and then activated again (which might result in deactivations/activations of other services).
Can you check for the log messages?
表示
返信
いいね!の合計
I will check this and get back as soon as possible . Thanks Jorg.
表示
返信
いいね!の合計