You should write complete path for jasper file in its parent. like this:<subreportExpression class="java.lang.String"><![CDATA[$P{realPath} +"\\Header.jasper"]]></subreportExpression>