jonas.olsson Posted September 28 Share Posted September 28 We are currently using an ancient embedded Jasper with layouts stored as .jars in database. For printing they are fetched, unpacked and then pointed to using a ClassLoader for Jasper to generate the PDF.As we're looking to upgrade, significantly, by introducing a Jasper Server there are two main areas of interest (in addition to the JRXML re-writes):The passing of the reports data as part of the generation request.This seems to be possible by coding our own DataSource provider parsing a JSON parameter valueThe deployment of reports (JRXMLs, translation .properties etc.)I've looked through the documentation, but have not found a good description of deployment. I'd hope it'd be similar to what we already do, but instead of putting the files into a JAR into the database we would upload the files in a Repository folder and reference that folder in the generation request. Is this how it should be done? Link to comment Share on other sites More sharing options...
anish.rai Posted September 29 Share Posted September 29 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times. Link to comment Share on other sites More sharing options...
prparame Posted October 2 Share Posted October 2 Hi Jonas olsson,Jaspersoft supports Json Datasource or Autonomous REST connection which can invoke API calls and retrieve data in Json Format.: Please refer to the documentation: https://community.jaspersoft.com/wiki/autonomous-rest-connector-tibco-jaspersoft-studioDeploymentManage Repository: JasperReports Server has a built-in repository where you can store your report resources (JRXML files, images, translations, etc.). You can use the Jaspersoft WebUI Interface to login to the application and then manage the repository.Export and Import of Resources: We can try to export all the resources as a zip folder. Please refer to the old documentation(Please check the version of the old Jaspersoft and check the steps in jasperreports-server-administration-guide. Here I have given the document for JRS 5.5): https://community.jaspersoft.com/documentation/jasperreports-server-administration-guide/v550/import-and-export-through-command-line. You can try to export from the old Jaspersoft and then import the zip folder to the latest version of Jaspersoft.A sample export and import command : js-export --everything --output-zip EverythingExportTest.zip --include-attributes --keyalias deprecatedImportExportEncSecret &js-import --input-zip EverythingExportTest.zip --skip-themes --keyalias deprecatedImportExportEncSecret --updateNow test the reports and see if there are any issues with the report execution. Since you mentioned that your existing Jaspersoft is very old, there are chances that minor modifications need to be done either on Jrxml reports or on the server configuration. Make sure you test all the different reports/flows before promoting the changes to Production. 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