I am using iReport tool in conjunction with JasperReports 1.3.4.
I have a master report, which contain two subreports. One of these subreports has an embedded subrep
As Marcio already explained, your SUBREPORT_DIR parameter has to be passed from the calling report to the subreport.
Using relative path with .or ./ is not reliable, an absolute path is always to prefer.
So you have to write in your jrxml file:
You have to pass the subreportParameterExpression with the $P{SUBREPORT_DIR}, elswise it won't pass the parameters (only setting is not enough).