Osgi configuration service pid property | Community
Skip to main content
Level 3
Sep 25, 2018 2:03 PM UTC

Osgi configuration service pid property

Hi,

I am currently working on aem6.4.

I have a osgi configuration , where I have a property service.pid and value with that class.

This property is not showing up in the configuration manager console.

Is this the expected behavior in aem6.4??

I have checked the same in aem6.2, it's showing up the service pid in the corresponding configuration in osgi console.

Thankss

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

4 replies

arunpatidar
New Participant
Sep 27, 2018 12:47 PM UTC

Can you share you code? Could be issue with code. With OSGI annotation, you can get property like service.pid by defining method with name service_pid

Official OSGi Declarative Services Annotations in AEM - Adobe Experience Manager | AEM/CQ | Apache Sling

Translate
Arun Patidar
sr508Author
Level 3
Sep 27, 2018 1:01 PM UTC

Thanks Scott and Arun,

I have the same code deployed in aem 6.2 and 6.4 ,

6.2 I am able to see the service.pid configuration for custom configuration.

But the see I am unable to see in 6.4.

I have seen a article where the configuration bindings are removed in 6.4 , is this some where related to the above issue?

OSGi component configurations missing binding in OSGi Console

Translate
smacdonald2008
Level 10
Sep 27, 2018 1:05 PM UTC

It does appear to be related.

Translate
smacdonald2008
Level 10
Sep 27, 2018 12:38 PM UTC

After checking the AEM release notes - there is no discussion about a change here.

Translate