Jump to content
JasperReports Library 7.0 is now available ×

ji-export.bat fails - system cannot find path


contentengineer

Recommended Posts

Running ji-export.bat in attempt to migrate production system from 1.2.0 to 2.0.0.

 

It fails when creating the second folder of reportJobs xml files. [but this is NOT the first reportJob folder].

 

The routine has already created:

 

<install-dir>scriptsjs-1.2-catalogreportJobsCustomerReporting

 

Is there an error in the data or report name - for example there appear to be a an additional space after the folder name?

 

ji-export.bat --everything --output-dir js-1.2-catalog

 

11:25:17,721 ERROR FileSystemOutput,main:90 - java.io.FileNotFoundException: js-1.2-catalogreportJobsFranchiseReportsNETsalesPD 61.xml (The system cannot find the path specified)

...

at java.io.FileOutputStream.open(Native Method)

at java.io.FileOutputStream.<init>(FileOutputStream.java:179)

at java.io.FileOutputStream.<init>(FileOutputStream.java:131)

at com.jaspersoft.jasperserver.export.io.FileSystemOutput.getFileOutputStream(FileSystemOutput.java:87)

at com.jaspersoft.jasperserver.export.io.BaseExportOutput.getFileOutputStream(BaseExportOutput.java:43)

....

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

On further analysis...found that some names and labels of resources had a "space" Char(32) after each name.

 

Hacked the database jiresource and jiresourcefolder entries to remove spaces from end of offending names. Also updated the jireportjob table.

 

Not worried too much about the repository cache table(s); as when the new name is used, it creates a new entry anyway.

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...