Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session

servlets are not working in publish instance

Avatar

Level 1

i have created one servlets which is working for author instance but not for publish instance but i trace the project log file of publish instance(crx-quickstart) there servlets is showing registered but not working.

2 Replies

Avatar

Employee Advisor

If the publisher is accessed via dispatcher, then you need to allow the servlet in dispatcher.any.

If you are accessing it directly on publisher, check whether anonymous users has access to /bin/ or the custom servlet path.

Avatar

Employee Advisor

- Check if you have any run mode-specific configuration for the servlet.

- Setup DEBUG statements in the custom code and check if any specific method is not getting called?

- If you have path based servlets, check if the path is being hit on the instance to trigger the servlet.