Fixing https://issues.apache.org/jira/browse/STRATOS-847