My custom service is not visible in "Services", "Components" tabs. | Community
Skip to main content
andreyc30271024
October 16, 2015
Solved

My custom service is not visible in "Services", "Components" tabs.

  • October 16, 2015
  • 3 replies
  • 1344 views
Hey. My problem is:

 

I've deployed my service successfully. "Services" bundle is active, I can call methods from my deployed service without any problems, but I cant see it in "Services" and "Components" tabs in my Felix OSGi Console. What should I do to make it visible in the "Service", "Components" tabs?

 

The code of my service.

 

@Component(immediate = true)
@Service(value = GoodbyeWorldService.class)  
    public class GoodbyeWorldService {
        @Reference
        protected Scheduler scheduler;
        private final static Logger LOGGER = LoggerFactory.getLogger(GoodbyeWorldService.class);
       
        public void get() {
           LOGGER.info("Scheduler is " + this.scheduler);
       } 
    }
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Follow this AEM article - as shown in the article - you will see the service in the Service tab -- as shown here.

[img]FelixBundleService.png[/img]

See:

Querying Adobe Experience Manager Data using the JCR API

(PS -- this one is an advanced article using JQuery, a custom OSGi that uses JCR API, etc.)

For those reading this thread and want an easier service to start with -- see this article:

Creating your first AEM Service using an Adobe Maven Archetype project

3 replies

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

Follow this AEM article - as shown in the article - you will see the service in the Service tab -- as shown here.

[img]FelixBundleService.png[/img]

See:

Querying Adobe Experience Manager Data using the JCR API

(PS -- this one is an advanced article using JQuery, a custom OSGi that uses JCR API, etc.)

For those reading this thread and want an easier service to start with -- see this article:

Creating your first AEM Service using an Adobe Maven Archetype project

smacdonald2008
Level 10
October 16, 2015

Can you please describe how you created the OSGi bundle? What CQ version are you using?

October 16, 2015

Thanx Smacdonald

Bioderma