How to change jrs zip export file

1

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: 1 year 6 months ago

2 Answers:

0

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
46897
Joined: Apr 24 2010 - 4:31pm
Last seen: 2 months 1 week ago
0

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
25
Joined: Jan 12 2011 - 1:11am
Last seen: 4 years 7 months ago
Feedback
randomness