I have a web application which created some pdf reports and under jboss default fiolder we created BOL folder.
whenever the report pdf is created in BOL folder it also created in jboss bin folder.
we are creating the reports using ireport as
dataSource = new JRBeanArrayDataSource(reportRows);
JasperDesign jasperDesign = JRXmlLoader.load(strJRXMLPath);
JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);
JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, map , dataSource );
JasperExportManager.exportReportToPdfFile(jasperPrint, strPDFPath );
strPDFPath represents the complete path of file.
it's creating the two file one in jboss/bin folder and another in specified folder strPDFPath.
Why this is happing?I am not getting exact reason for this.