The issues was with symlink, there was no entry present for the sub application, after making some changes it started working