Highlighted

Osgi configuration service pid property

Avatar

Avatar

sr508

Avatar

sr508

sr508

25-09-2018

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

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

27-09-2018

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

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

27-09-2018

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 S...

Highlighted

Avatar

Avatar

sr508

Avatar

sr508

sr508

27-09-2018

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

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

27-09-2018

It does appear to be related.