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

john_8

Members
  • Posts

    4
  • Joined

  • Last visited

john_8's Achievements

Rookie

Rookie (2/14)

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

Recent Badges

0

Reputation

  1. I'm calling the report via the viewer servlet which I have embedded in my web-app following the web-repo example. /servlets/viewer?jr_report_uri=/reports/Test_A4.jasper&jr_async=true The JDBC data adapter was exported as an xml file from within Jasper Studio and placed within the web app. The requirement is to be able to use a different JDBC data adapter for each environment and I will eventually pass the XML file name into the report as a parameter....
  2. Trying to run a report in my webapp and getting the following error. Datadapter is referenced in my repost like so: <property name="net.sf.jasperreports.data.adapter" value="/data/CTLocal.xml"/> 2013-11-14 17:02:33,044 - ERROR [Thread-25] n.s.j.w.s.AsyncJasperPrintAccessor - Error during report executionnet.sf.jasperreports.engine.JRRuntimeException: No secret found for 'a38ab43a-baba-4973-a2ca-41661dae13da' key in 'net.sf.jasperreports.data.adapter' category. at net.sf.jasperreports.util.SecretsUtil.getSecret(SecretsUtil.java:76) ~[jasperreports-5.5.0.jar:5.5.0] at net.sf.jasperreports.data.jdbc.JdbcDataAdapterService.getConnection(JdbcDataAdapterService.java:163) ~[jasperreports-5.5.0.jar:5.5.0] at net.sf.jasperreports.data.jdbc.JdbcDataAdapterService.contributeParameters(JdbcDataAdapterService.java:128) ~[jasperreports-5.5.0.jar:5.5.0] at net.sf.jasperreports.engine.fill.JRFillDataset.contributeParameters(JRFillDataset.java:1017) ~[jasperreports-5.5.0.jar:5.5.0] at net.sf.jasperreports.engine.fill.JRFillDataset.setParameterValues(JRFillDataset.java:627) ~[jasperreports-5.5.0.jar:5.5.0] at net.sf.jasperreports.engine.fill.JRBaseFiller.setParameters(JRBaseFiller.java:1280) ~[jasperreports-5.5.0.jar:5.5.0] at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:900) ~[jasperreports-5.5.0.jar:5.5.0] at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFiller.run(BaseFillHandle.java:120) ~[jasperreports-5.5.0.jar:5.5.0] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_26][/code]
  3. Just as you posted this I figured it out . . . was not using the correct extension jar. Version I had had no XML_URL field defined. jasperreports-extensions-3.5.3.jar placed in the lib folder and all is working . . .
  4. I am unable to get a remote XML datasource to work in JasperReports Server 5.5. It works fine in studio. I've followed allong with several examples that I found, including the Twitter API example, that indicate you need to define the XML_URL paramter. I do that within my report and the server debug output still displays the following: 2013-11-12 10:29:16,687 DEBUG JRXPathQueryExecuter,pool-4-thread-7:106 - XPath query: /list/table5Item2013-11-12 10:29:16,687 WARN JRXPathQueryExecuter,pool-4-thread-7:128 - No XML source was provided. A test jrxml is attached that works correctly in studio and fails in the server is attached. . . Any suggestions?
×
×
  • Create New...