Committing fix for WSAS-1710. Patch by Sajith
Merge pull request #27 from wso2-dev/WSAS-1710

sucessfully commited the changes
Timestamp : Mon Oct 20 15:14:43 IST 2014
https://wso2.org/jenkins-pr-builder/job/carbon-deployment/2193/