Issue:
After carrying out an upgrade from TIBCO JasperReports® Server 7.1 to TIBCO JasperReports® Server 7.8, the Server Attributes that were present in TIBCO JasperReports® Server 7.1 under Sever Settings -> Attributes are no longer present in TIBCO JasperReports® Server 7.8. The following commands were used during the upgrade process:
Export:
js-export.sh --everything --output-zip js-7.1-EXPORT.zip OR js-export.sh --everything --include-attributes --output-zip js-7.1-exportwithattributesflag.zip
For both the above commands, we inspected the exported catalog file and the organization.xml within the zip file does contain the Server Attributes.
Running the upgrade script:
js-upgrade-newdb.sh js-7.1-export.zip OR js-upgrade-newdb.sh js-7.1-exportwithattributesflag.zip
The upgrade script ran successfully with no errors but after logging into TIBCO JasperReports® Server 7.8.0, the "Server Attributes" page under the "Server Settings" does not contain any of the server attributes.
Note: This issue may also be present when upgrading from and to varying TIBCO JasperReports® Server releases.
Solution:
The issue has been logged as a defect with reference:
JS-59479: Server Attributes are not upgraded after running js-upgrade-newdb.bat/.sh
Until there is a fix to the upgrade script, the following workaround is available.
Workaround:
The workaround is to manually export and import the server attributes only.
1> In the source environment, only export the server attributes with the --include-attributes option. This will generate a very small export catalog file.
Example:
js-export.sh --include-attributes --output-zip js-7.1-exportwithattributesflagonly.zip
2> Log into the upgraded target environment as 'superuser' and go to Server Settings -> Import and import this zip file.
After this you should see the server attributes imported.
Note: For TIBCO JasperReports® Server version 7.8, when you import a catalog created from a release pre-7.5.0, select the radio button "Legacy Key".
Recommended Comments
There are no comments to display.
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