wood burning stoves
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
Author

pdf files is created in jboss bin folder.

amol Bhandwale
Greenhorn

Joined: Jul 12, 2010
Posts: 4
Hi,

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.

Thanks.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10440
    
176

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

[My Blog] [JavaRanch Journal]
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: pdf files is created in jboss bin folder.
 
It's not a secret anymore!