calathea Posted April 29, 2009 Share Posted April 29, 2009 Should i be able to update or make a change to an existing report on the Jasperserver? I can make edits but cannot seem to save them back to the server even if it says so.Having to delete a report just to change a single element and add it all again everytime is going to get very tiresome very quickly. Link to comment Share on other sites More sharing options...
mlcrane Posted May 7, 2009 Share Posted May 7, 2009 I'm seeing the same behaviour in iReports 3.5.0 (NB package) against JasperServer 3.5, and I must furthermore agree that it is a right pain to have to recreate a report (and it's schedule) just to change a couple of elements with the report, especially while the report is very much "in development" but also needed. Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted May 7, 2009 Share Posted May 7, 2009 iReport provides a JasperServer Repository explorer to get a jrxml, change it, and replace it on the server.To open it: Window->JasperServer Repository /uploads/projects/ireport/js-repo.pngOpen the file in eiditor. Make your changes, save it and replace the file in the report unit.You can run the report from iReport (RunReport Unit) to check the new file is there.Giulio Link to comment Share on other sites More sharing options...
mlcrane Posted May 7, 2009 Share Posted May 7, 2009 Giulio, Can't speak for the original respondent, but that's certainly what I'm attempting to do. Working outside the Samples folder (but still inside Reports) whenever I select "Replace with current Jrxml" (or the equivalent in properties) I get the following error "Operation Results - Error: 2 - 1 validation error(s): A resource already has this name." This is also happening in iReports 3.5.1 (just installed to check this issue), which hints to me that the problem might not be in iReports. Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted May 7, 2009 Share Posted May 7, 2009 This was a bug if 3.5.0 RC1. Try with the last release (released few days ago). Link to comment Share on other sites More sharing options...
mlcrane Posted May 7, 2009 Share Posted May 7, 2009 Ottimo, grazie Giulio! (and please blame Google for the Italian...)(Re)Installing JasperServer has got everything working as expected.Post Edited by mlcrane at 05/07/2009 11:44 Link to comment Share on other sites More sharing options...
n9yty Posted May 18, 2009 Share Posted May 18, 2009 When I bring up the contextual menu on a repository item and select open in editor, I get a dialog:Error:; nested exception is:java.lang.RuntimeExceptionThis is on a Mac OS X client system (10.5.7, all latest updates), a freshly downloaded copy of iReport 3.5.1 and a JasperServer 3.5.1 install on a Linux server under Tomcat5. Post Edited by n9yty at 05/18/2009 03:45 Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted May 18, 2009 Share Posted May 18, 2009 Can you see the log file if there is more information (Menu->View->IDE Log File)Can you see any error on the server side?ThanksGiulio Link to comment Share on other sites More sharing options...
n9yty Posted May 18, 2009 Share Posted May 18, 2009 Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted May 19, 2009 Share Posted May 19, 2009 it looks like you are not using a Sun JDK. Try using a Sun JDK on both the sides.Giulio Link to comment Share on other sites More sharing options...
n9yty Posted May 20, 2009 Share Posted May 20, 2009 As for using the Sun JDK - how does one do that on a Mac OS X system? I am just using the pre-built iReport.app bundle... I tried to find a SUN JDK to install, but they don't provide one, and the OpenBSD's variant has had some work on porting it over, but it looks like it may be a real bit of work to set up and it uses X11 instead of the nice Aqua native interface that the pre-built iReport uses.[i did download the beta1 of openjdk1.6 for osx - and tried the "generic" ireport, but it does while the opening dialog says "loading modules", and I can find no debug output anywhere... It may not be ireport/netbeans at all and rather the openjdk stuff, I don't know. My java knowledge is pretty small. :)]Post Edited by n9yty at 05/20/2009 20:53 Link to comment Share on other sites More sharing options...
n9yty Posted May 21, 2009 Share Posted May 21, 2009 SOLVEDSince I could not get the client JDK updated to Sun's, I thought I'd just blow out the tomcat install on the server, as well as it's java, and instead I put in sun's jdk1.6 for general use, but for jasperserver I just downloaded the complete package from sf for linux (mysql, tomcat, java, etc...) and installed that and then configured it to use the jasper database from the prevous install.All seems to be working now with the "Edit" function, except for the report I was working on that started this all... but that is for a separate report, it's no longer a general problem with the function itself. 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