peter.w Posted August 26, 2014 Share Posted August 26, 2014 Hi AllI have report I designed in Jaspersoft studio. When I run the report in the Jaspersoft studio it works (as in it shows something).I then publish it to my local jasperserver via the Studio. Go to the jasper server, login and run the report it is blank or rather I get the message "The report is empty".If I run the published report on the jasper server using the Jaspersoft studio it works. I have cut down every thing from my report so it is not using any database or data connector. The report takes 3 parameters and puts them on the report and displays a logo. Any ideas on what to check? Link to comment Share on other sites More sharing options...
dnaboka Posted August 26, 2014 Share Posted August 26, 2014 Hi,Did you set any data source for your report? Right-click on report from Repository/Edit and go to Data Source Link to comment Share on other sites More sharing options...
peter.w Posted August 26, 2014 Author Share Posted August 26, 2014 Yes it is the datasource. In Jaspersoft studio you have the option for "One empty record" as your data adapter. This allows you to "Test" your report with out a database that provides a record, but you cannot "test" this on the serverI am assuming you have to have a data source for with one record. Is this correct? So I cannot just test a report on the jasperserver without having a valid and active datasource. Is this correct? Link to comment Share on other sites More sharing options...
marianol Posted August 26, 2014 Share Posted August 26, 2014 Can you attach the JRXML of the report, or better a JasperServer repository export (you can do this by logging in to the Jasper Server as Superuser and right click on the repor unit and select EXPORT) Link to comment Share on other sites More sharing options...
marianol Posted August 26, 2014 Share Posted August 26, 2014 You are correct. The report has to be attached to a datasoource. If you need to do a test just attach it to any datasource and use something like "SELECT 1 as dummy" in your report query Link to comment Share on other sites More sharing options...
peter.w Posted August 26, 2014 Author Share Posted August 26, 2014 SELECT 1 as dummy ...... ok I get it http://community.jaspersoft.com/sites/all/libraries/ckeditor/plugins/smiley/images/regular_smile.gifand that sorts it for me .thanks 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