Hi Arpit,
Couple of things can go wrong like
- Dispatcher cache is not cleared.
- recompile the classes in publishers. /system/console/slingjsp
- Replication is not completed due to permission setup.
- May be custom code has logic depond on run mode if so validate the implementation.
Thanks,