Highlighted

servlets are not working in publish instance

Avatar

Avatar

amity88328484

Avatar

amity88328484

amity88328484

28-05-2019

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.

Replies

Highlighted

Avatar

Avatar

Nirmal_Jose

MVP

Avatar

Nirmal_Jose

MVP

Nirmal_Jose
MVP

28-05-2019

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.

Highlighted

Avatar

Avatar

jbrar

Employee

Avatar

jbrar

Employee

jbrar
Employee

28-05-2019

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