tonino.manzi Posted September 9, 2014 Share Posted September 9, 2014 Hello, when i connect my jasper studio on jasper server i upload a report with subreport and images.The problem is when i run the report on jasper server i get a errors because the report not find the objects (images an subreport).I tried to search the name of files on the hard drive without results.Anyone can helm me?Thank's Link to comment Share on other sites More sharing options...
hozawa Posted September 9, 2014 Share Posted September 9, 2014 The reports and associated files are all saved in the JasperReports Server repository database. Link to comment Share on other sites More sharing options...
tonino.manzi Posted September 9, 2014 Author Share Posted September 9, 2014 Well but if i run this report on server i get the message where indicated the images not found or subreport not found.have i wrong something? Thank's Link to comment Share on other sites More sharing options...
hozawa Posted September 9, 2014 Share Posted September 9, 2014 Please create a new thread for a new question. Link to comment Share on other sites More sharing options...
darth_fader Posted September 14, 2014 Share Posted September 14, 2014 You need to make sure that your imgaes and subreports are properly linked to your Report Unit. iReport manages the necessary changes for you if you publish to the server through its utilties.For example, to ref a subreport in JasperServer, you'd use something like<subreportExpression><![CDATA["repo:mySubreport.jrxml"]]></subreportExpression> Where locally, it would be something like <subreportExpression><![CDATA["C:pathToFilemySubreport.jrxml"]]></subreportExpression> I find iReport to be superior to JasperSoft Studio when it comes to publishing reports to JasperServer. You can also add resources to reports via JasperServer, by "editing" a report unit. 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