Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

ServiceNotFoundException when installing a custom component

Avatar

Level 2

I created a custom component and deployed successfully using Workbench. However, when I start the service, there is ServiceNotFoundException thrown when calling getHeadActiveConfiguration(service-id) in the onStart() method of LifeCycle class. I have checked that the service-id being passed to the getHeadActiveConfiguaration method matched with the service name in component.xml. Also the component.xml are packed in the root of jar file. Does anyone know how to solve this exception?

Thanks.

0 Replies