Jump to content

Making a change to a report on the JasperServer


calathea

Recommended Posts

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

  • Replies 11
  • Created
  • Last Reply

Top Posters In This Topic

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

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.png

Open 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

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

  • 2 weeks later...

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.RuntimeException

This 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

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

 SOLVED

Since 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...