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