Jump to content
Changes to the Jaspersoft community edition download ×

JRFileVirtualizer and temporary files

2004 IR Help

Recommended Posts

By: John Eric Hamacher - badgerduke

JRFileVirtualizer and temporary files

2005-08-22 14:10



We have implemented JRFileVirtualizer and are wondering:


How do you name the temporary files (written to the temporary directory) so that 2 or more users do not collide while filling reports simultaneously? Do you ever have a file called ".dummy"? as a temporoary file?







By: Zoran Lazarevic - zoranl

RE: JRFileVirtualizer and temporary files

2005-08-22 23:28

Maybe you can use java.io.File.createTempFile() method.

Look in javadoc for parameters.


Hope it helps.

Link to comment
Share on other sites

  • 2 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

I believe that the name of the output class file is derived from the name of the report <jasperReport

name="AssetInventoryReport" ... We append a unique jobID to the report name, so the generated java class file has a unique name (AssetInventoryReport5443), and I think the page files from the virtualizer use this name. So can you rename the report before compiling and filling it?

Link to comment
Share on other sites



I'm not sure everybody is talking about the same thing here. The initial post said something about the virtualizer temp files and then the discussion switched to the temp Java file created when compiling report templates.


Either way, I don't understand what the problem is, if ever.


Thank you,


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...