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

Jim W

Jaspersoft Staff
  • Posts

    426
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by Jim W

  1. Problem Description: After applying hotfix package to v8.0.4, jasperserver would not start. You might be getting some missing jars related Jackson or the following error in localhost.log. 25-Jan-2024 12:07:21.755 INFO [Catalina-utility-3] org.apache.catalina.core.ApplicationContext.log 1 Spring WebApplicationInitializers detected on classpath 25-Jan-2024 12:07:21.798 SEVERE [Catalina-utility-3] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class [net.sf.jasperreports.phantomjs.PhantomJSServletContextListener] java.lang.ClassNotFoundException: net.sf.jasperreports.phantomjs.PhantomJSServletContextListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1407) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1215) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:539) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:520) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4691) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:728) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748) 25-Jan-2024 12:07:21.799 SEVERE [Catalina-utility-3] org.apache.catalina.core.StandardContext.listenerStart Skipped installing application listeners due to previous error(s) Solution: When applying the hotfix package for v8.0.4, there are the following sections, Added files: Modified files: Deleted files: IMPORTANT If you plan to apply this hotfix to JasperReports Server Pro 8.0.1, 8.0.2, 8.0.3 or 8.0.4 additionally delete the following libraries if found: WEB-INF/lib/athena-jdbc42-2.0.28.1000.jar WEB-INF/lib/commons-fileupload-1.*.jar WEB-INF/lib/jackson-annotations-2.1*.jar.... etc. *** You must delete all the IMPORTANT files before applying the hotfix files, then delete the files in Deleted files.
  2. Problem Description On v8.2.0 , you will see a message at login if the credentials are incorrect: Invalid credentials supplied. Could not login to JasperReports Server Number of login attempts remaining: 9 How do I set the number of attempts allowed? Solution: In applicationContext-security.xml change this line, <property name="allowedNumberOfLoginAttempts" value="10"></property>
  3. Problem Description: Suppose you developed a jasperserver report using the webservice datasource package https://community.jaspersoft.com/wiki/installing-webservice-datasource. You upgraded your jasperserver to v8x from v7x. You are getting the following error when running the report. 2023-11-20T12:30:21,527 ERROR JRFillSubreport,pool-11-thread-69:961 [] - Fill 1: exception net.sf.jasperreports.util.JacksonRuntimException: com.fasterxml.jackson.databind.exc.MismatchedInputException: Cannot construct instance of `com.jaspersoft.webservice.data.enumerations.LanguageType` (although at least one Creator exists): cannot deserialize from Object value (no delegate- or property-based Creator) at [Source: (com.jaspersoft.jasperserver.api.metadata.common.domain.util.FileBufferedOutputStream$DataStream); line: 2, column: 230] (through reference chain: com.jaspersoft.webservice.data.WebServiceDataAdapterImpl["language"]) Workaround: This problem is a result of migration of data adapter from Castor to Jackson happened in JR 6.19.0/JRS 8.1. a) The webservice datasource package is a community contribution, it is not a part of the jasperserver product. Therefore, it is not supported. Jasperserver is subject to change without notice regarding unsupported third party components. b) In this case, you can try the following workaround, Download jasperreports-castor-6.20.0.jar from this link, https://repo1.maven.org/maven2/net/sf/jasperreports/jasperreports-castor/6.20.0/ Stop JRS, add the jar to WEB-INF/lib, restart JRS.
  4. Suppose you have a crosstab with multiple groups. If you add the group totals by hand, you might find the Grand Total has a different value. Most likely you are using distinct count for these groups. The explanation for the discrepancy is as follows. In group A: if you have values A, B, B, C, D, then the value for distinct count for group A will be 4. In Group B: if you have values A, A, E, E, F then the value for distinct count for group B will be 3 However, the grand total distinct count value will be 6 and not 7 because there are only 6 distinct values in the whole column (group A and B): A, B, C, D, E, F. Returning 7 (4 + 3) would be incorrect.
  5. Problem Description You have an application that used to run fine on v7x. When upgraded to v8x, you are getting 404 errors regarding missing chunks in a HAR trace. For example, http://x.com:8080/aai/web/v1/_chunks/chunk.9622.js http://x.com:8080/aai/web/v1/_chunks/chunk.2973.js Explanation The following is a description of a customer's rare corner case usage. If you are getting the same error with some other implementation, you might want to try this solution too. This type of issue can only be remedied by using the following publicPath syntax described below. It cannot be fixed in jasperserver code. For this particular customer case, the application visualize.js code is generated from java code. In the generated script code, it is using iQuery.getScript function. When loading visualize.js script this way, it requires adding the publicPath property to the visaulize.js configuration. This is similar to when using CDN to host visualize.js. The reason being, jQuery when loading scripts dynamically does not add them to the DOM as a script tag. As a result, jasperserver cannot resolve the path to load the chunks. This is not the case before JRS 8.0.0 where visualize.js is loaded as one chunk. In v8.0.0, many chunks and maps are created and managed by webpack. When using visualize.js in this unusual way or other ways, you must have something like the following in the script code instead of just the Url. publicPath: jasperBaseUrl + '/visualize/scripts' See section 1.7.2 for a full description of the usage under certain circumstances. https://docs.tibco.com/pub/js-jrs/8.1.0/doc/pdf/TIB_js-jrs_8.1.0_Visualize.js-Guide.pdf
  6. Problem Description If you have 2 subreports in the summary band, The first one starts in the middle of the page where the summary band is. A second subreport with the exact declarations for some reason always starts in a new page. But you want both subreports to run continuously with no blank space in between. Solution Be sure to set both subreports with runToBottom to false, and stretch type to NoStretch. You can start with this working sample and add what ever else you want to change. <summary> <band height="458" splitType="Immediate"> <subreport isUsingCache="true" runToBottom="false"> <reportElement positionType="Float" x="0" y="0" width="572" height="0" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" uuid="9ba40442-05ff-483c-8d0f-f84dc2238114"> <property name="net.sf.jasperreports.band.split.allowed" value="true"/> </reportElement> <subreportParameter name="P1"> <subreportParameterExpression><![CDATA[$P{P1}]]></subreportParameterExpression> </subreportParameter> <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> <subreportExpression><![CDATA["Sub1.jrxml"]]></subreportExpression> </subreport> <subreport isUsingCache="true" runToBottom="false"> <reportElement positionType="Float" x="0" y="21" width="572" height="0" isRemoveLineWhenBlank="true" isPrintInFirstWholeBand="true" uuid="515eefdc-9ab1-4af0-a3cf-2667ef6276a3"> <property name="net.sf.jasperreports.band.split.allowed" value="true"/> </reportElement> <subreportParameter name="P1"> <subreportParameterExpression><![CDATA[$P{P1}]]></subreportParameterExpression> </subreportParameter> <connectionExpression><![CDATA[$P{REPORT_CONNECTION}]]></connectionExpression> <subreportExpression><![CDATA["Sub2.jrxml"]]></subreportExpression> </subreport> </band> </summary>
  7. Problem Description When running a report using json datassource, you might encounter the following error [only with HTTPS]. 2023-05-23T12:14:14,162 ERROR AsyncJasperPrintAccessor,pool-7-thread-1:321 - Error during report execution net.sf.jasperreports.engine.JRRuntimeException: net.sf.jasperreports.engine.JRException: Error opening input stream from URL: https://abc.com:4443/aaa/cs/ldap/userInformation. at net.sf.jasperreports.repo.DefaultRepositoryService.getInputStream(DefaultRepositoryService.java:139) at net.sf.jasperreports.repo.InputStreamPersistenceService.load(InputStreamPersistenceService.java:51) at net.sf.jasperreports.repo.DefaultRepositoryService.getResource(DefaultRepositoryService.java:196) at net.sf.jasperreports.repo.RepositoryUtil.findInputStream(RepositoryUtil.java:195) at net.sf.jasperreports.repo.RepositoryUtil.getInputStreamFromLocation(RepositoryUtil.java:172) at net.sf.jasperreports.engine.util.JsonUtil.parseJson(JsonUtil.java:172) at net.sf.jasperreports.engine.data.JsonDataSource.<init>(JsonDataSource.java:146) at net.sf.jasperreports.engine.query.JsonQueryExecuter.getJsonDataInstance(JsonQueryExecuter.java:89) at net.sf.jasperreports.engine.query.JsonQueryExecuter.getJsonDataInstance(JsonQueryExecuter.java:43) at net.sf.jasperreports.engine.query.AbstractJsonQueryExecuter.createDatasource(AbstractJsonQueryExecuter.java:93) at net.sf.jasperreports.engine.fill.JRFillDataset.createQueryDatasource(JRFillDataset.java:1257) at net.sf.jasperreports.engine.fill.JRFillDataset.initDatasource(JRFillDataset.java:726) at net.sf.jasperreports.engine.fill.BaseReportFiller.setParameters(BaseReportFiller.java:457) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:584) at net.sf.jasperreports.engine.fill.BaseReportFiller.fill(BaseReportFiller.java:414) at net.sf.jasperreports.engine.fill.JRFillSubreport.fillSubreport(JRFillSubreport.java:826) at net.sf.jasperreports.engine.fill.JRSubreportRunnable.run(JRSubreportRunnable.java:61) at net.sf.jasperreports.engine.fill.AbstractThreadSubreportRunner.run(AbstractThreadSubreportRunner.java:221) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) Caused by: net.sf.jasperreports.engine.JRException: Error opening input stream from URL: https://abc.com:4443/aaa/cs/ldap/userInformation. at net.sf.jasperreports.engine.util.JRLoader.getInputStream(JRLoader.java:343) at net.sf.jasperreports.repo.DefaultRepositoryService.getInputStream(DefaultRepositoryService.java:122) ... 20 more Caused by: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure Solution: The cause could be quite complex related to SSL/TLS, certificate or network/firewall type of issues. However, there is also a simple cause. Check this possibility first before diving into it. Check and see if you are using java version "1.8.0.241" [This version is usually included in v7 and v8 JRS bundled install. Upgrade to this version or above, java version "1.8.0_371" If that does not work, will need to check out the more complex possibilities.
  8. Problem Description After importing a zip from Manage->Server Settings->Import, the login screen loses the background image and the login button and links are locked. HAR trace shows 403 errors in loading of UI components, and CSRF errors in the console tab of the browser developer debug panel. Solution There might be other causes. Check this one first. If you are using HTTPS at the time, try HTTP and see if you can log in. If so, check server attributes. The import operation may have cleared your domain whitelist.
  9. Problem Description: There are many reasons for getting a CORS error. For example, you may be getting the error: CORS header ‘Access-Control-Allow-Origin’ missing If you have tried all known configurations and it is still not working, the cause may be a bug in Apache httpd. Workaround: a) Check and see if you are using Apache httpd. b) Check this link for details on this bug, https://bz.apache.org/bugzilla/show_bug.cgi?id=61820https://bz.apache.org/bugzilla/show_bug.cgi?id=61820 c) Try nginx if possible, to see if it works better.
  10. Problem Description: If you are getting an HTTP 401 error from calling REST_V2 that cannot be explained by normal thorectical analysis. The problem may be else where unexpected. For example, you are getting an HTTP 401 error when using ROLE_AMINISTRATOR with a root user to login but you cannot duplicate the problem on a default installation. Solution: For this particular situation, turned out there is an overflow in the number of organization [2100] on the jasperserver when using MSSQL database as repository. You might also see an error like this, Caused by: com.microsoft.sqlserver.jdbc.SQLServerException: The incoming request has too many parameters. The server supports a maximum of 2100 parameters. Reduce the number of parameters and resend the request. at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(SQLServerException.java:262) Jasperserver issues the MSSQL call with the number of parameters based on the number of organizations. However, MSSQL has a limit of 2100 and therefore the REST_V2 call fails. Currently, as of v8x, there is no patch fix for this issue. You can delete unused organizations to get it down to below 2100 or migrate the repository to a different database type.
  11. Problem Description: This article is written for a problem reported on Jasperserver version 8.0.2. Below is a workaround. When trying to connect to jasperserver repository from Jaspersoft Studio, you get the following error on Windows but not on a Mac. java.lang.StringIndexOutOfBoundsException: begin 0, end -1, length 74 at java.base/java.lang.String.checkBoundsBeginEnd(Unknown Source) at java.base/java.lang.String.substring(Unknown Source) at com.amazon.redshift.Driver.getJdbcIniFile(Driver.java:926) at com.amazon.redshift.Driver.connect(Driver.java:264) at net.sf.jasperreports.data.jdbc.JdbcDataAdapterService.getConnection(JdbcDataAdapterService.java:164) at net.sf.jasperreports.data.jdbc.JdbcDataAdapterService.contributeParameters(JdbcDataAdapterService.java:124) at net.sf.jasperreports.data.AbstractDataAdapterService.test(AbstractDataAdapterService.java:120) at com.jaspersoft.studio.data.wizard.AbstractDataAdapterWizard$3.runOperations(AbstractDataAdapterWizard.java:155) at com.jaspersoft.studio.utils.jobs.CheckedRunnableWithProgress$1.run(CheckedRunnableWithProgress.java:51) at java.base/java.lang.Thread.run(Unknown Source) Workaround: The problem is in the AWS driver. We have also submitted a problem report to AWS. Here is the link if you want to see the details. https://github.com/aws/amazon-redshift-jdbc-driver/issues/78 You can get around the problem by using the component jars. See attached screenshot. You can download these jars from here. https://github.com/aws/amazon-redshift-jdbc-driver/issues/78 Look for this section: If you use the Amazon Redshift JDBC driver for database authentication, make sure that you have AWS SDK for Java 1.11.118 or later in your Java class path. If you don't have AWS SDK for Java installed, download the ZIP file with JDBC 4.2–compatible driver and driver dependent libraries for the AWS SDK: JDBC 4.2–compatible driver version 2.1 and AWS SDK driver–dependent libraries <https://s3.amazonaws.com/redshift-downloads/drivers/jdbc/2.1.0.10/redshift-jdbc42-2.1.0.10.zip>
  12. Description By default, you would log into jasperserver using the default webapp name, e.g. http://localhost:8080/jasperserver-pro Suppose you want to change it to, http://localhost:8080/myWebSite There is a standard set of files you need to change when dealing with a generic jasperserver installation. The procedure will need to be modified when you are using Docker Compose. Instructions First, you will need to get familiar with the main guide here. https://github.com/TIBCOSoftware/js-docker Second, review the image build process. Preferably try it a couple of times to be familiar with the process. https://github.com/TIBCOSoftware/js-docker/tree/main/jaspersoft-containers/Docker/jrs#deploying-jasperreports-server-and-scalable-query-engine You may skip the steps related to scalableQueryEngine if you want to deploy just jasperserver. Then when you are more comfortable with Docker Compose, you can proceed to customizing images. You would customize the image with the following steps. These changes rely on customization of features we introduced in the jaspersoft-containers project link above. 1. These steps should be performed before building the image, and after the step when you did ./unpackWARInstaller.sh mkdir /tmp/jrs cd /tmp/jrs unzip /opt/docker/js-docker/jasperreports-server-pro-8.1.0-bin/jasperserver-pro.war 2. edit /tmp/jrs/WEB-INF/web.xml <context-param> <param-name>webAppRootKey</param-name> <param-value>jasperserver.root</param-value> </context-param> to <context-param> <param-name>webAppRootKey</param-name> <param-value>myWebSite.root</param-value> </context-param> 3. edit /tmp/jrs/WEB-INF/js.quartz.properties, set report.scheduler.web.deployment.uri=http://localhost:8080/myWebSite 4. edit /tmp/jrs/WEB-INF/js.diagnostic.properties, set diagnostic.name = myWebSite 5. create folder customizations folder: cd /opt/docker/js-docker/jaspersoft-containers/Docker/jrs/resources/jasperserver-customization mkdir -p webapps/jasperserver-pro/WEB-INF 6. copy edited files cd /opt/docker/js-docker/jaspersoft-containers/Docker/jrs/resources/jasperserver-customization/webapps/jasperserver-pro/WEB-INF cp /tmp/jrs/WEB-INF/web.xml /tmp/jrs/WEB-INF/js.quartz.properties /tmp/jrs/WEB-INF/js.diagnostic.properties ./ 7. edit Docker/jrs/Dockerfile In the line before EXPOSE 8080 8443, add RUN mv $CATALINA_HOME/webapps/jasperserver-pro $CATALINA_HOME/webapps/myWebSite 8. now you can build images using Docker Compose and then start jasperserver using Docker Compose
  13. Problem Description: 00269: 12-May-2022 13:31:17.902 SEVERE [localhost-startStop-1] org.apache.catalina.startup.ContextConfig.processAnnotationsJar Unable to process Jar entry [module-info.class] from Jar [jar:file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jaxws-tools-2.3.2.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/picocli-4.5.2.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jackson-core-2.11.4.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jackson-dataformat-smile-2.11.4.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/streambuffer-1.5.7.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/policy-2.7.6.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jackson-annotations-2.11.4.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jackson-databind-2.11.4.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/saaj-impl-1.5.1.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/spark-jdbc42-2.6.18.1023.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jakarta.jws-api-1.1.1.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jakarta.xml.soap-api-1.4.1.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/cache2k-config-2.2.1.Final.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jakarta.xml.bind-api-2.3.2.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jakarta.xml.ws-api-2.3.2.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/cache2k-core-2.2.1.Final.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/cache2k-api-2.2.1.Final.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/snowflake-jdbc-3.13.5.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jackson-jaxrs-json-provider-2.11.4.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jaxws-rt-2.3.2.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/bcprov-jdk15on-1.68.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jackson-jaxrs-base-2.11.4.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/bcpkix-jdk15on-1.68.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/neo4j-jdbc42-1.0.8.1009.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jackson-dataformat-cbor-2.11.4.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/impala-jdbc42-2.6.21.1025.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/istack-commons-runtime-3.0.8.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/stax-ex-1.8.1.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jaxb-api-2.3.1.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jaxb-runtime-2.3.2.jar!/] for annotations file:/C:/opt/Jasper-Server/Tomcat%208.0/webapps/Jasper/WEB-INF/lib/jackson-module-jaxb-annotations-2.11.4.jar!/] for annotations 01110: org.apache.tomcat.util.bcel.classfile.ClassFormatException: Invalid byte tag in constant pool: 19 01111: at org.apache.tomcat.util.bcel.classfile.Constant.readConstant(Constant.java:97) Solution: If you are getting similar errors especially during upgrade, the problem may be you are using an older uncertified version of Tomcat. For example, in a previous version of JRS, you were using Tomcat 8.0. But you upgraded to JRS 8.0 without upgrading Tomcat. That would be one reason, if not the only reason, that you are getting these errors.
  14. Problem Description: If you see the following error during upgrading to v8.0, try the solution below. 22-Apr-2022 01:37:54.192 SEVERE [localhost-startStop-1] org.apache.catalina.core.ContainerBase.addChildInternal ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [standardEngine[Catalina].StandardHost[localhost].StandardContext[/jasperserver]] at org.apache.catalina.util.LifecycleBase.handleSubClassException(LifecycleBase.java:440) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:198) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:753) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:727) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:695) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1177) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1925) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.lang.IllegalArgumentException: More than one fragment with the name [spring_web] was found. This is not legal with relative ordering. See section 8.2.2 2c of the Servlet specification for details. Consider using absolute ordering. at org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2205) at org.apache.tomcat.util.descriptor.web.WebXml.orderWebFragments(WebXml.java:2164) at org.apache.catalina.startup.ContextConfig.webConfig(ContextConfig.java:1083) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:779) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:299) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5130) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) ... 10 more Solution: Add <absolute-ordering /> in web.xml right under <display-name>: <display-name>JasperServer UI application</display-name> <absolute-ordering />
  15. Problem: You may be getting the following error when trying to run a CVC component on version v7.2.0 that still uses phantomjs to generate SVG image:net.sf.jasperreports.engine.JRRuntimeException: Error while executing the javascript file to generate the SVG image: External process did not end properly; exit value: 502; process output: SCRIPT_ERROR Script timeout producing svg within 3 seconds. Possible script error.Solution: a) In js.config.properties SET net.sf.jasperreports.phantomjs.executable.path instead of com.jaspersoft.jasperreports.components.customvisualization.phantomjs.executable.path b) Add net.sf.jasperreports.phantomjs.options.1=--web-security=false If you are using one of the samples from the community that uses leaflet.css, here are some suggestions. After SVG is generated, it might be failing to render because there might be CSS styles defined, e.g. in leaflet.css, that are not supported. You can remove them. Or, use renderAsPng=true. For example, these are not supported: display: inline-block; and pointer-events: auto;
  16. Problem Description: This is a specific case on v7.5.0. Suddenly the scheduler is not sending email nor producing report output after running for years. There are no errors in the log. Solution: There could be many other reasons, but there is a simple one that you can check first. In this case, the threadCount is set too low as it is using the default. org.quartz.threadPool.threadCount=2 org.quartz.threadPool.threadPriority=3 Increase the threadCount and see if it clears the log jam. You might also increase threadPriority to 2 if during that time mainly report jobs are running.
  17. Problem: You have multiple AWS instances set to autoscale. You are getting out of memory errors even when you have large memory models. Solution: Add the following line of code to your startup template: "sed -i 's/JAVA_OPTS="-Dksp/JAVA_OPTS="-XX:MinRAMPercentage=25.0 -XX:MaxRAMPercentage=85.0 -Xss2m -Dksp/g' /etc/tomcat/tomcat.confn" For example: "UserData" : { "Fn::Base64" : { "Fn::Join" : ["", [ "Content-Type: multipart/mixed; boundary="//"n", "MIME-Version: 1.0n", "n", "--//n", "Content-Type: text/cloud-config; charset="us-ascii"n", "MIME-Version: 1.0n", "Content-Transfer-Encoding: 7bitn", "Content-Disposition: attachment; filename="cloud-config.txt"n", "n", "#cloud-confign", "cloud_final_modules:n", "- [scripts-user, always]n", "n", "--//n", "Content-Type: text/x-shellscript; charset="us-ascii"n", "MIME-Version: 1.0n", "Content-Transfer-Encoding: 7bitn", "Content-Disposition: attachment; filename="userdata.txt"n", "n", "#!/bin/bash -xen", "yum install -y aws-cfn-bootstrapn", "# Install the files and packages from the metadatan", "/opt/aws/bin/cfn-init ", " --stack ", { "Ref" : "AWS::StackName" }, " --resource WorkloadASLaunchConfig", " --configsets ConfigureAndRestart", " --region ", { "Ref" : "AWS::Region" }, "n", "systemctl restart tomcat n", "sed -i 's/JAVA_OPTS="-Dksp/JAVA_OPTS="-XX:MinRAMPercentage=25.0 -XX:MaxRAMPercentage=85.0 -Xss2m -Dksp/g' /etc/tomcat/tomcat.confn", "systemctl restart tomcatn" ]]}} } You will have to restart the instances to make this configuration active. The trick is as follows: Set the autoscaling value to 0 to drain the existing instances and then set to 2 high, for example, will spin up new instances automatically.
  18. Problem Description: Normally, you would create an input control for every parameter so that you can refer to the parameter when running REST_V2 jobs PUT calls. On v6.4.2, you were able to run the PUT call without input control defined for each parameter. However, on v7.9.1, you are getting a null pointer exception and a type cast error. See attached example PUT bodies. 2022-01-17T09:38:24,601 ERROR ReportExecutionJob,JasperServerScheduler_Worker-2:327 - The report was not completed. An error occurred while executing it. com.jaspersoft.jasperserver.api.JSException: Error filling report Arguments: at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$FillResultListener.reportFillError(EngineServiceImpl.java:1354) at net.sf.jasperreports.engine.fill.BaseFillHandle.notifyError(BaseFillHandle.java:228) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:150) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$SynchronousExecutor.execute(EngineServiceImpl.java:974) at net.sf.jasperreports.engine.fill.BaseFillHandle.startFill(BaseFillHandle.java:181) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:1961) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$SynchronousReportFiller.fillReport(EngineServiceImpl.java:872) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:1872) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runWithDataSource(EngineServiceImpl.java:1177) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportFill.runReport(EngineServiceImpl.java:1118) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$ReportRunnable.run(EngineServiceImpl.java:996) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl$SynchronousExecutor.execute(EngineServiceImpl.java:974) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.fillReport(EngineServiceImpl.java:680) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.executeReportUnitRequest(EngineServiceImpl.java:2149) at com.jaspersoft.jasperserver.api.engine.jasperreports.domain.impl.ReportUnitRequest.execute(ReportUnitRequest.java:75) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.execute(EngineServiceImpl.java:558) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:88) at com.jaspersoft.ji.license.LicenseCheckAspect.runReport(LicenseCheckAspect.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:644) at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:633) at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:70) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:175) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) at com.sun.proxy.$Proxy141.execute(Unknown Source) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.InternalReportExecutor.runReport(InternalReportExecutor.java:300) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.InternalReportExecutor.runReport(InternalReportExecutor.java:244) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.InternalReportExecutor.runReport(InternalReportExecutor.java:204) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.InternalReportExecutor.executeReport(InternalReportExecutor.java:192) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.InternalReportExecutor.createOutputs(InternalReportExecutor.java:122) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.executeAndSendReport(ReportExecutionJob.java:477) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.ReportExecutionJob.execute(ReportExecutionJob.java:219) at com.jaspersoft.ji.report.options.engine.ReportOptionsExecutionJob.execute(ReportOptionsExecutionJob.java:45) at org.quartz.core.JobRunShell.run(JobRunShell.java:202) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) Caused by: net.sf.jasperreports.engine.fill.JRExpressionEvalException: Error evaluating expression for source text: $P{rp_user_id} at net.sf.jasperreports.engine.fill.JREvaluator.handleEvaluationException(JREvaluator.java:294) at net.sf.jasperreports.engine.fill.JREvaluator.evaluateEstimated(JREvaluator.java:406) at net.sf.jasperreports.engine.fill.JRCalculator.evaluateEstimated(JRCalculator.java:664) at net.sf.jasperreports.engine.fill.JRCalculator.estimateVariables(JRCalculator.java:250) at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:1404) at net.sf.jasperreports.engine.fill.JRFillDataset.next(JRFillDataset.java:1378) at net.sf.jasperreports.engine.fill.JRBaseFiller.next(JRBaseFiller.java:1200) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:108) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:621) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:135) ... 44 more Caused by: java.lang.ClassCastException: Cannot cast [Ljava.lang.String; to java.lang.Integer at java.lang.Class.cast(Class.java:3369) at net.sf.jasperreports.compilers.JavaDirectExpressionValueFilter.filterValue(JavaDirectExpressionValueFilter.java:47) at net.sf.jasperreports.compilers.StandardExpressionEvaluators.filterValue(StandardExpressionEvaluators.java:177) at net.sf.jasperreports.compilers.StandardExpressionEvaluators$ParameterEvaluator.defaultEvaluate(StandardExpressionEvaluators.java:236) at net.sf.jasperreports.compilers.UniformExpressionEvaluator.evaluateEstimated(UniformExpressionEvaluator.java:49) at net.sf.jasperreports.engine.fill.JREvaluator.evaluateEstimated(JREvaluator.java:387) ... 52 more Solution: a) Apply the following patch or later versions: hotfix_JRSPro7.9.1_cumulative_20211130_0552.zip b) When executing the PUT call, set both Content Type and Accept to application/job.v1+xml.
  19. Problem Description: Type Exception Report Message Internal server error occurred. Please contact your system administrator. Description The server encountered an unexpected condition that prevented it from fulfilling the request. Exception java.io.IOException: An exception occurred processing [/WEB-INF/jsp/modules/login/login.jsp] at line [52] 49: session.removeAttribute("js_upassword"); 50: %> 51: 52: <t:insertTemplate template="/WEB-INF/jsp/templates/page.jsp"> 53: <t:putAttribute name="pageTitle"><spring:message code='jsp.Login.title'/></t:putAttribute> 54: <t:putAttribute name="moduleName" value="login/loginMain"/> 55: <t:putAttribute name="headerContent"> Solution: If you are getting an insertTemplate error similar to the above, there is a good chance that the cause maybe a virus scanner. Turn off virus scanner and see if the problem disappear.
  20. Problem: After upgrading to a new version of TIBCO JasperReports® Server from a much older version, you are getting the following exception when making a REST_V2 call: http://localhost:8080/jasperserver-pro/rest_v2/reports/public/Samples/Reports/My_Report/inputControls[/code]2021-11-22T19:32:25,484 ERROR GenericExceptionMapper,https-openssl-nio-8443-exec-4:69 - Unexpected error occurs java.util.MissingResourceException: Can't find bundle for base name My_Report, locale en at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055) at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689) at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593) at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:1284) at net.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundle(JRResourcesUtil.java:617) at net.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundle(JRResourcesUtil.java:499) at net.sf.jasperreports.engine.util.JRResourcesUtil.loadResourceBundle(JRResourcesUtil.java:490) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.loadResourceBundle(EngineServiceImpl.java:2812) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.getReportInputControlsInformation(EngineServiceImpl.java:2732) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.EngineServiceImpl.getReportInputControlsInformation(EngineServiceImpl.java:2693) at com.jaspersoft.ji.engine.ProEngineServiceImpl.getReportInputControlsInformationInternal(ProEngineServiceImpl.java:94) at com.jaspersoft.ji.engine.ProEngineServiceImpl.getReportInputControlsInformation(ProEngineServiceImpl.java:57) at jdk.internal.reflect.GeneratedMethodAccessor863.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:95) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212) at com.sun.proxy.$Proxy144.getReportInputControlsInformation(Unknown Source) at com.jaspersoft.jasperserver.inputcontrols.cascade.CachedEngineService.getReportInputControlsInformation(CachedEngineService.java:85) at com.jaspersoft.jasperserver.inputcontrols.cascade.GenericInputControlLogic.getReportInputControlsInformation(GenericInputControlLogic.java:207) at com.jaspersoft.jasperserver.inputcontrols.cascade.GenericInputControlLogic.getInputControlsStructure(GenericInputControlLogic.java:104) at com.jaspersoft.jasperserver.inputcontrols.cascade.InputControlsLogicServiceImpl$3.callByContainer(InputControlsLogicServiceImpl.java:119) at com.jaspersoft.jasperserver.inputcontrols.cascade.InputControlsLogicServiceImpl$3.callByContainer(InputControlsLogicServiceImpl.java:111) at com.jaspersoft.jasperserver.inputcontrols.cascade.InputControlsLogicServiceImpl.callControlLogic(InputControlsLogicServiceImpl.java:275) at com.jaspersoft.jasperserver.inputcontrols.cascade.InputControlsLogicServiceImpl.getInputControlsStructure(InputControlsLogicServiceImpl.java:111) at com.jaspersoft.jasperserver.inputcontrols.cascade.InputControlsLogicServiceImpl.getInputControlsWithValues(InputControlsLogicServiceImpl.java:151) at com.jaspersoft.jasperserver.jaxrs.report.InputControlsJaxrsService$2.call(InputControlsJaxrsService.java:131) at com.jaspersoft.jasperserver.jaxrs.report.InputControlsJaxrsService$2.call(InputControlsJaxrsService.java:123) at com.jaspersoft.jasperserver.jaxrs.report.ReportsServiceCallTemplate.callRemoteService(ReportsServiceCallTemplate.java:49) at com.jaspersoft.jasperserver.remote.common.RemoteServiceWrapper.callRemoteService(RemoteServiceWrapper.java:44) at com.jaspersoft.jasperserver.jaxrs.report.InputControlsJaxrsService.internalGetReportInputParameters(InputControlsJaxrsService.java:123) at com.jaspersoft.jasperserver.jaxrs.report.InputControlsJaxrsService.getReportInputParameters(InputControlsJaxrsService.java:86) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.glassfish.jersey.server.model.internal.ResourceMethodInvocationHandlerFactory$1.invoke(ResourceMethodInvocationHandlerFactory.java:81) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher$1.run(AbstractJavaResourceMethodDispatcher.java:144) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.invoke(AbstractJavaResourceMethodDispatcher.java:161) at org.glassfish.jersey.server.model.internal.JavaResourceMethodDispatcherProvider$ResponseOutInvoker.doDispatch(JavaResourceMethodDispatcherProvider.java:160) at org.glassfish.jersey.server.model.internal.AbstractJavaResourceMethodDispatcher.dispatch(AbstractJavaResourceMethodDispatcher.java:99) at org.glassfish.jersey.server.model.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:389) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:347) at org.glassfish.jersey.server.model.ResourceMethodInvoker.apply(ResourceMethodInvoker.java:102) at org.glassfish.jersey.server.ServerRuntime$2.run(ServerRuntime.java:326) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:271) at org.glassfish.jersey.internal.Errors$1.call(Errors.java:267) at org.glassfish.jersey.internal.Errors.process(Errors.java:315) at org.glassfish.jersey.internal.Errors.process(Errors.java:297) at org.glassfish.jersey.internal.Errors.process(Errors.java:267) at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:317) at org.glassfish.jersey.server.ServerRuntime.process(ServerRuntime.java:305) at org.glassfish.jersey.server.ApplicationHandler.handle(ApplicationHandler.java:1154) at org.glassfish.jersey.servlet.WebComponent.serviceImpl(WebComponent.java:473) at org.glassfish.jersey.servlet.WebComponent.service(WebComponent.java:427) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:388) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:341) at org.glassfish.jersey.servlet.ServletContainer.service(ServletContainer.java:228) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.common.JSSwitchUserProcessingFilter.doFilter(JSSwitchUserProcessingFilter.java:160) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.api.security.csrf.JSCsrfGuardFilter.doFilter(JSCsrfGuardFilter.java:76) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.ji.jaxrs.diagnostic.DiagnosticLoggingFilterPRO.doFilter(DiagnosticLoggingFilterPRO.java:42) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317) at com.jaspersoft.ji.war.jrio.JRIOForwardingFilter.doFilter(JRIOForwardingFilter.java:414) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127) at org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.jasperserver.api.security.csrf.CorsAuthRedirectionFilter.doFilter(CorsAuthRedirectionFilter.java:50) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:92) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at com.jaspersoft.jasperserver.api.security.externalAuth.JSDelegatingFilterProxy.doFilter(JSDelegatingFilterProxy.java:72) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.jasperserver.api.metadata.user.service.impl.MetadataAuthenticationProcessingFilter.doFilter(MetadataAuthenticationProcessingFilter.java:98) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.jasperserver.war.util.RequestParameterAuthenticationFilter.doFilter(RequestParameterAuthenticationFilter.java:112) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at com.jaspersoft.jasperserver.api.security.externalAuth.JSDelegatingFilterProxy.doFilter(JSDelegatingFilterProxy.java:72) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.ji.security.jwt.JwtValidationFilter.doFilterInternal(JwtValidationFilter.java:49) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at com.jaspersoft.jasperserver.api.security.externalAuth.JSDelegatingFilterProxy.doFilter(JSDelegatingFilterProxy.java:72) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:158) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at com.jaspersoft.jasperserver.api.security.externalAuth.JSDelegatingFilterProxy.doFilter(JSDelegatingFilterProxy.java:72) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:236) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.jasperserver.war.RESTLoginAuthenticationFilter.doFilter(RESTLoginAuthenticationFilter.java:123) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at com.jaspersoft.jasperserver.api.security.externalAuth.JSDelegatingFilterProxy.doFilter(JSDelegatingFilterProxy.java:72) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at com.jaspersoft.jasperserver.api.security.externalAuth.JSDelegatingFilterProxy.doFilter(JSDelegatingFilterProxy.java:72) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.jasperserver.war.UserPreferencesFilter.doFilter(UserPreferencesFilter.java:236) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.jasperserver.api.logging.filter.BasicLoggingFilter.doFilter(BasicLoggingFilter.java:57) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.jasperserver.api.security.WebAppSecurityFilter.doFilter(WebAppSecurityFilter.java:163) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.jasperserver.war.NullFilter.doFilter(NullFilter.java:43) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at com.jaspersoft.jasperserver.api.security.externalAuth.JSDelegatingFilterProxy.doFilter(JSDelegatingFilterProxy.java:72) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.jasperserver.api.security.encryption.EncryptionFilter.doFilter(EncryptionFilter.java:155) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at com.jaspersoft.ji.license.JILicenseFilter.doFilter(JILicenseFilter.java:85) at org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331) at org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214) at org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.util.SessionDecoratorFilter.doFilter(SessionDecoratorFilter.java:63) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:67) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.httpheaders.ResourceHTTPHeadersFilter.doFilter(ResourceHTTPHeadersFilter.java:77) at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:358) at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:271) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.SessionXssNonceSetterFilter.doFilter(SessionXssNonceSetterFilter.java:67) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at com.jaspersoft.jasperserver.war.P3PFilter.doFilter(P3PFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:103) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:666) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:373) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1589) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.base/java.lang.Thread.run(Thread.java:834)2021-11-22T19:32:25,485 ERROR SecureExceptionHandlerImpl,https-openssl-nio-8443-exec-4:116 - Can't find bundle for base name My_Report, locale en[/code]Solution:There might be other reasons for this exception. Check at least the following first as the exception specifically called out the locale "en". Your log in language may be "en" while you have a bundle for "en_US". Try setting Accept-Language: en_US in your log in call. Or, add "en" bundle and see if that is the problem.
  21. Problem: You might be getting this specific pair of exceptions after upgrading from v7.1 to v7.9. 16-Nov-2021 17:43:51.707 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log 1 Spring WebApplicationInitializers detected onclasspath 16-Nov-2021 17:43:51.729 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listenerof class [com.jaspersoft.ji.adhoc.service.AdhocTempARUKiller] java.lang.ClassNotFoundException: com.jaspersoft.ji.adhoc.service.AdhocTempARUKiller at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1328) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1156) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:546) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:527) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4714) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1140) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 16-Nov-2021 17:43:51.732 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listenerof class [org.springframework.web.util.Log4jConfigListener] java.lang.ClassNotFoundException: org.springframework.web.util.Log4jConfigListener at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1328) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1156) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:546) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:527) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:150) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4714) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1140) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 16-Nov-2021 17:43:51.773 SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Skipped installing application listeners due to previous error(s) Solution: This pair of exceptions is a likely a result of using web.xml from v7.1 on v7.9. If you have customizations, be sure to start with the correct configuration file for the new version and add your customizations instead of just copying the configuration file from a previous version. Sometimes it could work, but sometimes configuration file structure is changed from one version to another.
  22. Problem: You might be getting the following exception after an upgrade. SEVERE [localhost-startStop-1] org.apache.tomcat.jdbc.pool.ConnectionPool.init Unable to create initial connections of pool. java.sql.SQLException: Unable to load class: org.postgresql.Driver from ClassLoader:java.net.URLClassLoader@548c4f57;ClassLoader:ParallelWebappClassLoader context: analytics delegate: false ----------> Parent Classloader: java.net.URLClassLoader@548c4f57 at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:292) at org.apache.tomcat.jdbc.pool.PooledConnection.connect(PooledConnection.java:212) at org.apache.tomcat.jdbc.pool.ConnectionPool.createConnection(ConnectionPool.java:736) at org.apache.tomcat.jdbc.pool.ConnectionPool.borrowConnection(ConnectionPool.java:668) at org.apache.tomcat.jdbc.pool.ConnectionPool.init(ConnectionPool.java:483) at org.apache.tomcat.jdbc.pool.ConnectionPool.<init>(ConnectionPool.java:154) at org.apache.tomcat.jdbc.pool.DataSourceProxy.pCreatePool(DataSourceProxy.java:118) at org.apache.tomcat.jdbc.pool.DataSourceProxy.createPool(DataSourceProxy.java:107) at org.apache.tomcat.jdbc.pool.DataSourceFactory.createDataSource(DataSourceFactory.java:560) at org.apache.tomcat.jdbc.pool.DataSourceFactory.getObjectInstance(DataSourceFactory.java:244) at org.apache.naming.factory.FactoryBase.getObjectInstance(FactoryBase.java:94) at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:321) at org.apache.naming.NamingContext.lookup(NamingContext.java:839) at org.apache.naming.NamingContext.lookup(NamingContext.java:159) at org.apache.naming.NamingContext.lookup(NamingContext.java:827) at org.apache.naming.NamingContext.lookup(NamingContext.java:173) at org.apache.catalina.core.NamingContextListener.addResource(NamingContextListener.java:1015) at org.apache.catalina.core.NamingContextListener.createNamingContext(NamingContextListener.java:556) at org.apache.catalina.core.NamingContextListener.lifecycleEvent(NamingContextListener.java:252) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:94) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5154) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:754) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:730) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:734) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1140) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1875) Caused by: java.lang.ClassNotFoundException: Unable to load class: org.postgresql.Driver from ClassLoader:java.net.URLClassLoader@548c4f57;ClassLoader:ParallelWebappClassLoader context: analytics delegate: false ----------> Parent Classloader: java.net.URLClassLoader@548c4f57 at org.apache.tomcat.jdbc.pool.ClassLoaderUtil.loadClass(ClassLoaderUtil.java:56) at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver(PooledConnection.java:280) ... 31 more Caused by: java.lang.ClassNotFoundException: org.postgresql.Driver at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1328) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1156) at java.lang.Class.forName0(Native Method) Solution: There might be other reasons. One of the reasons is that the Tomcat user does not have access rights to lib/postgres jar .
  23. Problem Description:You may enounter the following exceptions during restart of Tomcat the second time, but not the first time after fresh install. [toc]WARNING: All illegal access operations will be denied in a future releaseException in thread "License activation thread" java.lang.NoClassDefFoundError: org/apache/axis/AxisFault at com.jaspersoft.ji.license.LicenseSupport.doActivateLicense(LicenseSupport.java:213) at com.jaspersoft.ji.license.LicenseProviderImpl$1.run(LicenseProviderImpl.java:323) at java.base/java.lang.Thread.run(Thread.java:829)Caused by: java.lang.ClassNotFoundException: org.apache.axis.AxisFault at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1407) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1215) ... 3 more2021-10-14T14:25:11,623 ERROR ContextLoader,main:313 - Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'themeSource' defined in ServletContext resource [/WEB-INF/applicationContext-themes.xml]: Cannot resolve reference to bean 'themeCache' while setting bean property 'themeCache'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'themeCache' defined in ServletContext resource [/WEB-INF/applicationContext-themes.xml]: Cannot resolve reference to bean 'unsecureRepositoryService' while setting bean property 'repositoryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateRepositoryService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'proHibernateRepositoryListeners' while setting bean property 'repositoryListeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proHibernateRepositoryListeners' defined in ServletContext resource [/WEB-INF/applicationContext-report-options.xml]: Cannot resolve reference to bean 'schedulingReportDeleteListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulingReportDeleteListener' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportSchedulingService' while setting bean property 'schedulingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportSchedulingService' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'quartzScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:207) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1115) at org.springframework.ui.context.support.UiApplicationContextUtils.initThemeSource(UiApplicationContextUtils.java:58) at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.onRefresh(AbstractRefreshableWebApplicationContext.java:201) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545) at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:401) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:292) at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:103) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4768) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5230) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:726) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:698) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:696) at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1185) at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1933) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:118) at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1095) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:477) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1618) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:423) at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:366) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:946) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:772) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:345) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:476)Caused by:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'themeCache' defined in ServletContext resource [/WEB-INF/applicationContext-themes.xml]: Cannot resolve reference to bean 'unsecureRepositoryService' while setting bean property 'repositoryService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateRepositoryService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'proHibernateRepositoryListeners' while setting bean property 'repositoryListeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proHibernateRepositoryListeners' defined in ServletContext resource [/WEB-INF/applicationContext-report-options.xml]: Cannot resolve reference to bean 'schedulingReportDeleteListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulingReportDeleteListener' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportSchedulingService' while setting bean property 'schedulingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportSchedulingService' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'quartzScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ... 57 moreCaused by:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hibernateRepositoryService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to bean 'proHibernateRepositoryListeners' while setting bean property 'repositoryListeners'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proHibernateRepositoryListeners' defined in ServletContext resource [/WEB-INF/applicationContext-report-options.xml]: Cannot resolve reference to bean 'schedulingReportDeleteListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulingReportDeleteListener' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportSchedulingService' while setting bean property 'schedulingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportSchedulingService' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'quartzScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ... 67 moreCaused by:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'proHibernateRepositoryListeners' defined in ServletContext resource [/WEB-INF/applicationContext-report-options.xml]: Cannot resolve reference to bean 'schedulingReportDeleteListener' while setting constructor argument with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulingReportDeleteListener' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportSchedulingService' while setting bean property 'schedulingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportSchedulingService' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'quartzScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:428) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:173) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:690) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:196) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1356) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1203) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:556) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ... 77 moreCaused by:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'schedulingReportDeleteListener' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportSchedulingService' while setting bean property 'schedulingService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportSchedulingService' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'quartzScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ... 91 moreCaused by:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportSchedulingService' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'reportScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'quartzScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ... 101 moreCaused by:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'reportScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Cannot resolve reference to bean 'quartzScheduler' while setting bean property 'scheduler'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:342) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:113) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1697) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1442) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ... 111 moreCaused by:org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'quartzScheduler' defined in ServletContext resource [/WEB-INF/applicationContext-report-scheduling.xml]: Invocation of init method failed; nested exception is java.lang.ExceptionInInitializerError at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1794) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:594) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:516) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:324) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:226) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:322) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:330) ... 121 moreCaused by: java.lang.ExceptionInInitializerError at tibcosoftware.jdbc.sforce.SForceDriver.<clinit>(SForceDriver.java:20) at java.base/java.lang.Class.forName0(Native Method) at java.base/java.lang.Class.forName(Class.java:315) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.TibcoDriverManagerImpl.registerDriver(TibcoDriverManagerImpl.java:97) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.TibcoDriverManagerImpl.preLoadDrivers(TibcoDriverManagerImpl.java:84) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.TibcoDriverManagerImpl.<init>(TibcoDriverManagerImpl.java:46) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.TibcoDriverManagerImpl.getInstance(TibcoDriverManagerImpl.java:50) at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.SQLDataSourceWrapper.getConnection(SQLDataSourceWrapper.java:41) at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:158) at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:116) at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79) at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:336) at org.springframework.jdbc.support.JdbcUtils.extractDatabaseMetaData(JdbcUtils.java:373) at org.springframework.scheduling.quartz.LocalDataSourceJobStore.initialize(LocalDataSourceJobStore.java:150) at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1368) at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1579) at org.springframework.scheduling.quartz.SchedulerFactoryBean.createScheduler(SchedulerFactoryBean.java:677) at com.jaspersoft.jasperserver.api.engine.scheduling.quartz.JSSchedulerFactoryBean.createScheduler(JSSchedulerFactoryBean.java:69) at org.springframework.scheduling.quartz.SchedulerFactoryBean.prepareScheduler(SchedulerFactoryBean.java:614) at org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:502) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1853) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1790) ... 128 moreCaused by: java.lang.NullPointerException at tibcosoftware.phoenix6_00_1327.api.core.o.cR(Unknown Source) at tibcosoftware.jdbc.sforce.adapter.ac.<clinit>(SfFactory.java:88) ... 150 more[/code]Solution:Assuming you do not use salesforce, remove: TIsforce-6.0.000724.jar in WEB-INF/lib[/code]As of this moment 10/20/2021, the cause for trouble registering this jar is still unknown. If you encounter this problem, please open a support case providing detailed information about your environment. Refer to bug report JS-64125, with the help of your support representative, for the latest update.
  24. Problem Description: You may be getting the following NPE when scheduling a job on v7.9.0 using REST_V2 API with XML body. This job used to work on v6.4.2 PUT http://<host>:<port>/jasperserver[-pro]/rest_v2/jobs/ <?xml version="1.0" encoding="UTF-8" ?> <job> <baseOutputFilename>ABC</baseOutputFilename> <repositoryDestination> <folderURI>/public</folderURI> <outputDescription>abc</outputDescription> <overwriteFiles>true</overwriteFiles> <sequentialFilenames>true</sequentialFilenames> <saveToRepository>true</saveToRepository> <usingDefaultReportOutputFolderURI>true</usingDefaultReportOutputFolderURI> <outputLocalFolder>/public</outputLocalFolder> </repositoryDestination> <description>aaa</description> <label>TEST REPORT</label> <outputFormats> <outputFormat>PDF</outputFormat> </outputFormats> <source> <parameters> <parameterValues> <entry> <key>user_id</key> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:int">123</value> </entry> <entry> <key>report_home</key> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">home001</value> </entry> <entry> <key>reportdate</key> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:date">2021-09-11</value> </entry> </parameterValues> </parameters> <reportUnitURI>/public/abc</reportUnitURI> </source> <simpleTrigger> <startType>1</startType> <occurrenceCount>5</occurrenceCount> <version>0</version> <recurrenceInterval>1</recurrenceInterval> <recurrenceIntervalUnit>MINUTE</recurrenceIntervalUnit> </simpleTrigger> <version>1</version> </job> Solution: Note the xsi:type of date. <entry> <key>reportdate</key> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:date">2021-09-11</value> </entry> For v7.9.0, always use collection/string for any parameter datatype. For example, <?xml version="1.0" encoding="UTF-8" ?> <job> <baseOutputFilename>RPT001_257023_41531_2008-09-30</baseOutputFilename> <repositoryDestination> <folderURI>/public</folderURI> <outputDescription>abc</outputDescription> <overwriteFiles>true</overwriteFiles> <sequentialFilenames>true</sequentialFilenames> <saveToRepository>true</saveToRepository> <usingDefaultReportOutputFolderURI>true</usingDefaultReportOutputFolderURI> <outputLocalFolder>/public</outputLocalFolder> </repositoryDestination> <description>aaa</description> <label>RPT001_257023_41531_2022-09-30</label> <outputFormats> <outputFormat>PDF</outputFormat> </outputFormats> <source> <parameters> <parameterValues> <entry> <key>rp_user_id</key> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="collection"> <item xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">123</item> </value> </entry> <entry> <key>report_home</key> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="collection"> <item xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">xxxhomexxx</item> </value> </entry> <entry> <key>rp_reportdate</key> <value xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="collection"> <item xmlns:xs="http://www.w3.org/2001/XMLSchema" xsi:type="xs:string">2021-09-11</item> </value> </entry> </parameterValues> </parameters> <reportUnitURI>/public/RPT001</reportUnitURI> </source> <simpleTrigger> <startType>1</startType> <occurrenceCount>5</occurrenceCount> <version>0</version> <recurrenceInterval>1</recurrenceInterval> <recurrenceIntervalUnit>MINUTE</recurrenceIntervalUnit> </simpleTrigger> <version>1</version> </job> UPDATE: 10/4/2021 Unfortunately, this method does not work if you are calling reports that do not have input controls. Talk to your support representative to get the latest update regarding JS-63480. UPDATE: 1/19/2022Solution: You can use the original v6.4.2 xml body and just do the following. That is, no need to change to xsi:type="collection" and xsi:type="string" as described above. a) Apply the following patch or later versions: hotfix_JRSPro7.9.1_cumulative_20211130_0552.zip b) When executing the PUT call, set both Content Type and Accept to application/job.v1+xml.
  25. Problem Description: You have a text field in the report. For some reason, the data is not showing. You have double checked and confirmed that data was retrieved properly from the database. You have also checked that the foreground and background colors are different and other possible causes such as size of the field and so forth. What else could be wrong? Solution: There could be many reasons. If still come up empty, check the font specified for the text field. For example, Gotham Bold. This font usually does not exist in a default system. Change it to something like Arial and see if the data shows up. If indeed that is the problem, you can either supply the font or change to a different font that exists in your environment.
×
×
  • Create New...