Jump to content
We've recently updated our Privacy Statement, available here ×

annamaria

Members
  • Posts

    2
  • Joined

  • Last visited

annamaria's Achievements

Newbie

Newbie (1/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare

Recent Badges

0

Reputation

  1. We actually managed to figure out how to solve the issue! In case anybody else encounters the problem, following are the steps you need to follow in order to make reports with remote xml datasources work on Jasper Server: 1. Open the jasperreports.PROPERTIES file, located in: ...Program Files\jasperreports-server-cp-X.X.X\apache-tomcat\webapps\jasperserver\WEB-INF\classes\jasperreports.PROPERTIES As a last line, add the following and save: net.sf.jasperreports.query.executer.factory.xpath2=com.jaspersoft.jrx.query.JRXPathQueryExecuterFactory 2. Copy the jasperreports-extensions-X.X.X.jar file from: ...Program Files\Jaspersoft\iReport-X.X.X\ireport\modules\ext Paste the file into: ...Program Files\jasperreports-server-cp-X.X.X\apache-tomcat\webapps\jasperserver\WEB-INF\lib 3. Restart the server (Stop the Service, then Start again) 4. Go into the XML viewer of your report, delete "language = groovy" inside <jasperReport ...> on top 5. Add an XML_URL parameter to your report, set its Default Value Expression to the XML URL query in quotation marks 6. Inside JasperRepository in the Repository Navigator window, right-click Reports -> Add -> JasperServer Report Set ID and Name, click Next Check "Locally Defined" and select the jrxml file from your file system Click Next Check "Don't use any datasource" Click "Finish"
  2. Hi, we have the exact same problem: remote xml datasource works just fine in iReport 4.5.1, but we can't find a way to make it work on Jasper Server CP 4.5.0. We followed Mariano's suggestion to install the custom XML datasource. The installation completed successfully, but unfortunately, the report still does not work in Jasper Server CP 4.5.0... The report appears in the Reports Repository on the server, but it is not possible to run it. Any help would be appreciated!
×
×
  • Create New...