jasperserver

JasperReports Server : Please wait

非 Y 不嫁゛ 提交于 2019-12-11 09:48:38
问题 When I accessed Jasper Reports from Remote Jasper server. The Reports is being shown in background, where as it shows Please Wait pop-up on fore-ground for indefinite time period. I have tried IE8 and IE10 to check it and works fine for Chrome and Firefox. http://localhost:8080/jasperserver/ (working fine) http://<LAN IP ADDRESS where JAsperReports are deployed>:8080/jasperserver/ (facing problem) 回答1: The tomcat is probably not listening to any other interface than the localhost one. Check

How to get the username of user who logged into Jasper Server?

喜欢而已 提交于 2019-12-11 09:23:15
问题 Please tell me if there is any method through which I can get the user name of the user who logged into the Jasper Server, and that name could be displayed in the report. Is there any parameter which can be referred or any other work around to obtain the logged in user name or any other way to deal with the issue. Thanks in Advance!! 回答1: Try declaring a parameter with the name "LoggedInUsername" (this exact name, since it is reserverd by jasper to hold the username of the logged user).

Jasper Server: passing argument to get report data for customer

左心房为你撑大大i 提交于 2019-12-11 08:57:45
问题 I have almost the problem described here: iReport: Passing parameters from a main report query to a dataset query for a table or list but since it's a few years old, I'm using iReports 5.1 with the newest comnunity version of Jasper Server. I am able to fetch reports by PHP from the server, but I want to pass a parameter to the report to only display information for a distinct customer, having something like customerId in the database. So it only generates a report for a give customerId. I

Control Scheduling in JasperReports Server

拥有回忆 提交于 2019-12-11 07:45:17
问题 I want to prevent normal users from scheduling a report. Only administrator will have the right to schedule report. Is it possible with JasperReports Server ? 回答1: Yes, it is possible. You should edit the jasperserver\WEB-INF\actionModel-search.xml file. You need to find the definition of ScheduleAction action in this file and add the condition for the ROLE_ADMINISTRATOR role: <context name="resource_menu"> <simpleAction labelKey="RM_BUTTON_RUN" action="invokeRedirectAction" actionArgs=

JasperReports Server: HTML Component issue

时光总嘲笑我的痴心妄想 提交于 2019-12-11 06:29:20
问题 I have a report with HTML component in JasperReports 5.1 . Its working fine in iReport but not working in JasperReports Server Professional 5.0 . org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid content was found starting with element 'hc:html'. One of '{"http://jasperreports.sourceforge.net/jasperreports":component}' is expected. I tried to add the following properties in JasperReports.properties file but it didn't work: net.sf.jasperreports.extension.registry.factory

Sending HTML content in the email body in Jasperserver's scheduled reports

你离开我真会死。 提交于 2019-12-11 04:23:28
问题 I'm generating the reports in JasperServer and using the Rest api to schedule the report. The rest api is given below: curl -XPUT "http://hostURL/jasperserver/rest_v2/jobs" --data '{ "trigger":{ "simpleTrigger":{ "occurrenceCount":"1", "startType":"1", "timezone":"Asia/Calcutta", "misfireInstruction":"0", "version":"0" } }, "outputTimeZone":"Asia/Calcutta", "username":"jasperadmin", "outputFormats":{ "outputFormat":[ "PDF" ] }, "source":{ "parameters":{ "parameterValues":{ "parameter1":[

How to use xml data source on jasper server

人盡茶涼 提交于 2019-12-11 02:36:19
问题 I would like to use xml data source in jasper server (5.0.0). Xml files are created "on the fly" while application is running so different reports will have different xml data sources. I know that jasper server does not have XML data source defined but I found out that creating report without data source and then passing parameter XML_FILE - java.io.File will do the work. I managed to do this in java servlet: jasperReport = JasperCompileManager.compileReport("path to jrxml"); HashMap map =

Print Report directly on JasperReports Server

怎甘沉沦 提交于 2019-12-11 02:24:56
问题 I got some problems with JasperReports Server . I need to print report directly on the server. I view report first and then just click on the print it will open Printer Dialog. After choose printer I can print report as well. Any ideas? 回答1: I just got this solution. I use javascript code. But I don't know it's the best solution or not. If have any other solutions please help me out. This is the code: var url=document.location.href+'&output=pdf'; var printWindow=window.open(url,'_blank');

what is the physical path that Jasperserver store its resources?

房东的猫 提交于 2019-12-10 20:56:46
问题 I need to know the Physical location Jasperserver use to store the uploaded resources from IReport. 回答1: It stores all assets in the database including any binary files you upload. Nothing is stored in the filesystem directly. 来源: https://stackoverflow.com/questions/4374905/what-is-the-physical-path-that-jasperserver-store-its-resources

Jasper REST pass collection as parameter

断了今生、忘了曾经 提交于 2019-12-10 20:54:49
问题 I have a report which receives a List parameter to use it in a IN clause: $X{IN, personID, _personID} The report works when running it through the web application or remote repository view in iReport. Now I need to call it using the REST api. I have tried several different ways of passing the list value in my resource descriptor but none of them worked. <resourceDescriptor name="Test_Report" wsType="reportUnit" uriString="/Test/Test_Report" isNew="false"> <parameter name="_personId"