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

anu_john

Members
  • Posts

    2
  • Joined

  • Last visited

anu_john's Achievements

Newbie

Newbie (1/14)

  • Dedicated Rare
  • Conversation Starter Rare
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. I'm using the Jaspersoft Reporting & Analytics for AWS for the past few months. Created some reports which worked smoothly until I made some changes in a .jsp file. I wanted to restrict access to other users except for admins to view the banner of the server interface. So according to the topic 'Restricting a Section of a JSP File by Role' in https://community.jaspersoft.com/documentation/jasperreports-server/tibco-jasperreports-server-ultimate-guide/vv900/js-ultimate-guide-_-customizing-_-restricting-access-by-role/#customizing_1073381483_1101266 , I made changes to the decorator.jsp file while having a copy of the original. Following were the steps I took: Added <%@ taglib uri="http://www.springframework.org/security/tags" prefix="authz"%> to the beginning of the file. Added <authz:authorize access="hasRole('ROLE_ADMINISTRATOR')"> tag before the header tag & closed it after the header. Restarted the server but got 404 error. So, the changes were reverted but still the same error. Checked the jasperserver.log file & saw the error that XML version 2.0 is not supported, only 1.0 is supported. Haven't touched the applicationContext.xml file before. Log error: ContextLoader,main:299 - Context initialization failed org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 1 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 20; XML version "2.0" is not supported, only XML 1.0 is supported. Changed 2.0 version to 1.0 in the applicationContext.xml which gave no logs but 'License failed' message in the interface. No luck logging in so far. Could somebody help with this matter asap? Thanks in advance.
  2. I'm using the Jaspersoft Reporting & Analytics for AWS and I've created a report with not much complex queries. Query works fast individually but it takes time to load the report, which shouldn't be because this report is embedded in our application using visualize.js and should provide the results without much lag. Also, cpu and memory are not spiking up while loading the report. I've enabled the snapshot persistence property from the server side & tried scheduling using data snapshot with 5 minutes interval but there's no difference in the loading time. The report contains high charts & parameter passed as a set of strings where the user can select a single or multiple values. I would like to know if there's any way to improve the performance of the reports. Also would like to know if the technical support come along with the professional version or would have to pay for it separately. Thanks in advance.
×
×
  • Create New...