How to change jrs zip export file

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email community@tibco.com with questions or issues requiring TIBCO review or response.

Do anyone know how to modify the jrs export zip file and import to JasperServer again?

I got an error :

 Import failed. Reason: provided zip file is not valid JasperReports Server export file. | close

Thanks in advance.

starrlingo's picture
Joined: Aug 23 2013 - 1:06am
Last seen: 4 years 5 months ago

2 Answers:

You can only export/import on same version/revision of JasperReport Server. Also, use the Manage -> Server Settings -> Import from the menu instead of the command line.

hozawa's picture
132002
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 3 weeks ago

I think i have found a solution to this problem, due to the fact i also had this error and solved it.

So i've exported a export.zip, modified it, zipped it and i got also this error ..

Solution, if  you have an export folder and you zip it, you'll see an /export/ path in your zip file and that's why he doens't accept it,
so you need to re-zip your zip file in the export folder ..

Meaning your zip file shouldn't contain any parent folder.. you see? :)
below an invalid re-zipped export.zip file to illustrate the problem

cheers

 

mortias's picture
55
Joined: Jan 12 2011 - 1:11am
Last seen: 2 years 2 months ago
Feedback