jmario Posted April 7, 2009 Share Posted April 7, 2009 Hi all!Is there any way to package a jrxml report file(s) into a jar package and then deploy the jar to any tomcat server on which jasperserver is running ?If so, which resources do i need to add to the jar or with the jar to the server? Thanks in advance! Link to comment Share on other sites More sharing options...
vishal29bhp Posted April 7, 2009 Share Posted April 7, 2009 Hello By using Jar utility you can make either Jar file or War.The jrxml uploaded to JasperServer are converted into *.jasper . But your other question answer yes you can configure the jasperserver web application with other Tomcat server . You can refer jasperserver installtion guide for this.Vishal Link to comment Share on other sites More sharing options...
jmario Posted April 7, 2009 Author Share Posted April 7, 2009 so there is no option to deploy jrxml to jasper in a jar package, if i understood ??Can i package the *.jasper files into a jar?what about some third party tools? regardsPost Edited by Mario Dietner at 04/07/09 12:32 Link to comment Share on other sites More sharing options...
lucianc Posted April 7, 2009 Share Posted April 7, 2009 Report JRXMLs cannot be deployed in jars, they need to be loaded as individual resources.What exactly are the third party tools that you want to deploy? You can upload jars to JasperServer..Regards,Lucian Link to comment Share on other sites More sharing options...
jmario Posted April 7, 2009 Author Share Posted April 7, 2009 hi,thanks for your reply.what i want to do is to deploy reports to the jasper server. but i don't wont to do it through iReport. I would like to do it through some external tools maybe like apache ant,... that's why i am asking if the jrxml files can be packaged into a jar. My situation: i have some jrxml files :) What do i need to do to deploy these files with all needed input controls and parameters to jasper server ? (is there any way to package all this sources and then deploy them?) - how can i load these reports for my case to the jasper server ? hope i was clear enough ? :) regards Link to comment Share on other sites More sharing options...
anandharaj Posted April 8, 2009 Share Posted April 8, 2009 iReport is a tool to design a report which will produce the xml file (JRXML). Ant will not able to produce this. To deploy in JS, create the "JasperServer Report" and follow the wizard. Link to comment Share on other sites More sharing options...
lucianc Posted April 8, 2009 Share Posted April 8, 2009 jmarioWrote: What do i need to do to deploy these files with all needed input controls and parameters to jasper server ? (is there any way to package all this sources and then deploy them?) - how can i load these reports for my case to the jasper server ? Each report needs to be deployed to JasperServer as a report unit, which consists of a JRXML plus input control information, additional resources (images/subreport JRXMLs/etc), a data source reference and so on.If you want to automatically deploy such JasperServer reports, you would have to write an application that uses the JasperServer web services to upload report units to the repository. Check the JS web services guide for information on how this works.Regards,Lucian Link to comment Share on other sites More sharing options...
jmario Posted April 8, 2009 Author Share Posted April 8, 2009 thanks for your replies. I will check the JS ws. regards Link to comment Share on other sites More sharing options...
acarmar Posted May 4, 2012 Share Posted May 4, 2012 The tool JDeploy! on http://sourceforge.net/projects/jaspertools/?source=directoryallows to deal with reports deployment on diferents environments (development, pre production, production). It dont touch the datasources when deploying a report, so the systems department can define it. It also defines a estandarized way to package the reports and subreports of a project on a zip file. And includes other utils to list reports, create datasources,...I hope to helped you.bye. 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