Enable deployment intercpetor
Related Issue:
<!-- Listeners -->
<!-- ================================================= -->
+ <listener class="org.apache.synapse.deployers.interceptor.DeploymentInterceptor"/>
+
{% if server.enable_security_deployment_interceptor == true %}
<!-- To handle WS policies -->
<listener class="org.wso2.micro.integrator.security.deployment.SecurityDeploymentInterceptor"/>
