File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes pdf files is created in jboss bin folder. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "pdf files is created in jboss bin folder." Watch "pdf files is created in jboss bin folder." New topic

pdf files is created in jboss bin folder.

amol Bhandwale

Joined: Jul 12, 2010
Posts: 4

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.

Jaikiran Pai

Joined: Jul 20, 2005
Posts: 10441

A community member already answered/helped you on this one here

[My Blog] [JavaRanch Journal]
I agree. Here's the link:
subject: pdf files is created in jboss bin folder.
It's not a secret anymore!