You can use var1.size() > 0 to know if some value was added, but if no values was added. For better understanding you must check out this URL: http://jasperreports.sourceforge.net/sample.reference/query/ Mariano
If you put $P!{R_Select_Organization} , with ! symbol, replace literally with what you put in R_Select_Organization parameter. So if you only want replace with list values you must put $P{R_Select_Organization} Mariano
Try this: - Install only x64 bits version - Edit JSS_FOLDER_INSTALLATIONJaspersoft Studio.ini file - make sure that the following parameters are setting up at least like this: -vmargs -Xms1024m -Xmx2048m
You have to see the JASPER_SERVER_DIR/apache-tomcat/logs/catalina.out file and search for the string 3bfe9819-767d-45da-af88-0b274b15f75d , there will be your error. Mariano
Probably will be a SQL query issue. Try to run query out of th JS and with the same parameters and watch the time spent. This forum is for english language so, please, make your questions in that language. Mariano
Sorry, the protection is for CSRF(Cross-Site Request Forgery). I think that there is something for XSS. Begin here: https://community.jaspersoft.com/wiki/jaspersoft-security-changes-and-configuration Mariano
I do it in this way: new Timestamp( Calendar.getInstance().get(Calendar.YEAR) - 1900, Calendar.getInstance().get(Calendar.MONTH), Calendar.getInstance().get(Calendar.DAY_OF_MONTH), 23, 59, 59, 0 )
I have some crosstabs with Calculation -> 'No calculation function' for measures, to show some rows as columns. This works perfectly for me. What I told you was that I don't know how to set columns for rows. I think it can't be done. Mariano
If you want to retrieve the same connecation as Report Unit is using, I use this: import net.sf.jasperreports.engine.JRDefaultScriptlet; import net.sf.jasperreports.engine.JRParameter; public class XXXXXXextends JRDefaultScriptlet { .. java.sql.Connection report_conexion = (Connection) this.getParameterValue(JRParameter.REPORT_CONNECTION); .. Mariano
I will explain my way. 1. Create subreport in local project as a normal jrxml file. 2. Create a repository jrxml resource in your subreport's location. 3. Import from jrxml file create at 1to repository jrxml resource create at 2 4. Create your Report Unit 5. Copy repository jrxml resource and Paste as link in your Report Unit. This insert a link with the same name as resource(without folders). 6. Insert subreport component from Palette in your Report Unit 7. Select subreport element -> Properties -> Subreport -> Expression and set with the value : "repo:NAME_OF_THE_LINK_TO_JRXML" No matter where repository jrxml resource are, with the link and using "repo:....." works well. I had much troubles with subreports, since I use this way it's very easy. Mariano
You must read the scriptlet documentation. It isn't much difficult to implement. Even you can use the same connection as the Report Unit reading the parameters that Jasper Server pass to scriptlet. Mariano
This a Tomcat issue. You must configure $JASPERSERVER_DIR/apache-tomcat/webapps/jasperserver/WEB-INF/web.xml: <session-config> <!-- Default to 20 minute session timeouts --> <session-timeout>60</session-timeout> </session-config> And restat the server. Mariano