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

federico.cattozzi

Members
  • Posts

    87
  • Joined

  • Last visited

federico.cattozzi's Achievements

Enthusiast

Enthusiast (6/14)

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

Recent Badges

0

Reputation

  1. Same issue, please fix it!
  2. Every Java Application Server has an own way to configure JNDI data source, you have to use the Websphere's way. In alternative you can try to write JNDI data source configuration into .../jasperserver/META-INF/context.xml
  3. Define a parameter into master report that contains the subreport name. Use the parameter into "Print when Expression" or "Subreport Expression" properties to manage how subreport to load.
  4. Hi, My reports on JasperReports Server use a JNDI Data Source defined into this file C:Program Filesjasperreports-server-5.1apache-tomcatconfCatalinalocalhostjasperserver-pro.xml Developing with iReport I use a JDBC connection instead of JNDI to test the reports. Now I'm trying to switch to JasperSoft Studio. When I use JasperSoft Studio to try to open any Input Control placed on the server, JasperSoft Studio does not found JNDI Data Source and throws this exception: java.lang.Exception: 1 - Name <JNDI_NAME> is not bound in this Context at com.jaspersoft.ireport.jasperserver.ws.WSClient.get(WSClient.java:274) at com.jaspersoft.studio.server.protocol.soap.SoapConnection.get(SoapConnection.java:74) at com.jaspersoft.studio.server.protocol.ProxyConnection.get(ProxyConnection.java:52) at com.jaspersoft.studio.server.editor.input.InputControlsManager.getInputControls(InputControlsManager.java:120) at com.jaspersoft.studio.server.editor.ReportRunControler$1.run(ReportRunControler.java:81) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)[/code]If I manually add the JNDI Data Source to "Data Adapters" using "Import From Workspace" option and then I test it, this exception is thrown: javax.naming.NameNotFoundException; remaining name 'env/<JNDI_NAME>'//See attached image[/code]So how can I configure JNDI Data Source into JasperSoft Studio?
  5. Hi, I am experiencing the same problem. My environment: Client: Jaspersoft iReport Designer 4.5.1 -> 4.6 Server: JasperReports Server 3.5 -> 4.5 Java: JRE 7 update 7 System: Windows 7 version 6.1 64bit I think that the guilty is Java 7. Surfing the web you can find other bugs related to SocketException in Java 7. I solved forcing iReport to use Java 6. Edit iReport shortcut adding appropriate "jdkhome" option as below: "C:\Program Files (x86)\Jaspersoft\iReport-4.5.1\bin\ireport.exe" --jdkhome "C:\Program Files\Java\jdk1.6.0_33"
  6. Or you can use JasperReports Server to run the reports (which is optimized to do it) and you can control it via web services or url.
  7. Have you tried it? I'm using Community Edition and this is a very basic feature. If you are lazy :) try the attacched file on your JasperReports Server without Input Control and without Data Source. Post Edited by helyair at 07/05/2012 09:20
  8. Oracle: Code:SELECT (SELECT COUNT (*) FROM holder WHERE TRUNC (MONTHS_BETWEEN (SYSDATE, born_date) / 12) < 25) AS under_25, (SELECT COUNT (*) FROM holder WHERE TRUNC (MONTHS_BETWEEN (SYSDATE, born_date) / 12) >= 25) AS equal_25_and_over FROM DUAL
  9. I don't understand... every column in Crystal is a database table column or what? Put here your sql query or describe your data source.
  10. The first exception message is not complete. The second say to me that you are using varchar (String) value in a condition with a int (Integer) column.
  11. You put the subreport into a column or page header? See this http://jasperforge.org/projects/jasperserver/tracker/view.php?id=5455
  12. Use REPORT_COUNT built-in variable into a textField with attribute evaluationTime="Report". You can use REPORT_MAX_COUNT parameter to limit the number of rows fetched. I also use a textField with following expression: Code:$V{REPORT_COUNT}.intValue() == $P{REPORT_MAX_COUNT}.intValue() ? "Not all data could be fetched" : null
  13. Workaround: If you are using SQL and your subreports do not use the result of the main query as parameter, move the query from main report to another new subreport, so you will have 3 subreports and the main report becomes only a container. In the "container" instead of the main query put something like "SELECT 1 FROM DUAL", this permits to print the detail band only one time with the content of all 3 subreports inside. Post Edited by helyair at 06/18/2012 13:41
×
×
  • Create New...