Jump to content
Changes to the Jaspersoft community edition download ×

Import Failing


Recommended Posts

Getting the below error when import a report.

/opt/jasperreports-server-8.1.1/buildomatic# ./js-import.sh  --input-dir /opt/backup/imptmp --organization OSI
Result: 128
Validating JasperServer database connection at jdbc:postgresql:// Phase: [import-export-test]
Connection OK
Keystore OK

Total time: 10 seconds
Executing Pro version
Using Bundled version of Java
First resource path: /opt/jasperreports-server-8.1.1/buildomatic/conf_source/iePro
Loading configuration resources
Initialization complete
Processing started
Import of the root to an organization is not allowed.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

This issue will happen when you export a path in an organization or whole organization as a URI in buildomatic without the --organization flag. This will generate you a regular export archive that contains all the resources under certain URI starting from the root. Then you try to import that archive with the --organization flag. This is incorrect, you need to have consistency with these flags since --organization flag expects an archive in certain format that contains only organization data.

To correctly export and import organization using buildomatic or web services make sure you're always providing the --organization flag.

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