Jaspersoft content export fails

Document ID : KB000005925
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When trying to migrate your PPM Jaspersoft data from one server to another, you must use the "admin jaspersoft export" command.

However, when attempting to use the following command:

# ./admin jaspersoft export -orgName PPM -fromUserName superuser -fromPassword XXXXX -fileName ppm.zip -fromURL http://<jaspersoftsever>:8080/reportservice

it fails with the following error:

Error occurred in the preprocessing of the command. null

 

 

Environment:
PPM OnPremise 14.2, 14.3, 14.4 and 15.1 on Linux with Jaspersoft 5.6.1, 6.1 or 6.2.1
Cause:

The root cause of the problem is when exporting out the organization the -fileName parameter needs a full path to function correctly.  Example:

-fileName /opt/ppm.zip

 

Resolution:

Please update your command to include the full path to the filename that you want created.  Example:

# ./admin jaspersoft export -orgName PPM -fromUserName superuser -fromPassword XXXXX -fileName /opt/ppm.zip -fromURL http://<jaspersoftsever>:8080/reportservice