donnie.tucker Posted July 24 Share Posted July 24 Getting the below error when import a report./opt/jasperreports-server-8.1.1/buildomatic# ./js-import.sh --input-dir /opt/backup/imptmp --organization OSIResult: 128Validating JasperServer database connection at jdbc:postgresql://127.0.0.1:5432/jasperserver. Phase: [import-export-test]Connection OKKeystore OKVALIDATION COMPLETEDTotal time: 10 secondsExecuting Pro versionUsing Bundled version of JavaFirst resource path: /opt/jasperreports-server-8.1.1/buildomatic/conf_source/ieProLoading configuration resourcesInitialization completeProcessing startedImport of the root to an organization is not allowed. Link to comment Share on other sites More sharing options...
rpachipu Posted July 24 Share Posted July 24 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now