Wildfly Servoy Jasper Reports is not working

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Wildfly Servoy Jasper Reports is not working

Postby briese-it » Thu May 20, 2021 1:41 pm

I deployed our solution (2021.03) on a wildfly server with java.version=1.8.0_271 and everything is running fine except jasper reports.
I get the following error:
Code: Select all
2021-05-20 12:57:46,675 ERROR [com.servoy.j2db.util.Debug] (pool-19-thread-4) org.apache.xerces.util.XMLGrammarPoolImpl cannot be cast to org.apache.xerces.xni.grammars.XMLGrammarPool: java.lang.ClassCastException: org.apache.xerces.util.XMLGrammarPoolImpl cannot be cast to org.apache.xerces.xni.grammars.XMLGrammarPool
   at org.apache.xerces.impl.xs.XMLSchemaLoader.reset(XMLSchemaLoader.java:1024)
   at org.apache.xerces.impl.xs.XMLSchemaValidator.reset(XMLSchemaValidator.java:1355)
   at org.apache.xerces.parsers.XML11Configuration.configurePipeline(XML11Configuration.java:1243)
   at org.apache.xerces.parsers.XIncludeAwareParserConfiguration.configurePipeline(XIncludeAwareParserConfiguration.java:152)
   at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:835)
   at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:798)
   at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:108)
   at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1198)
   at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:564)
   at org.apache.commons.digester.Digester.parse(Digester.java:1892)
   at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:299)
   at net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:286)
   at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:275)
   at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:220)
   at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:195)
   at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:186)
   at com.servoy.plugins.jasperreports.JasperReportsServer.getJasperReport(JasperReportsServer.java:194)
   at com.servoy.plugins.jasperreports.JasperReportsServer.getJasperPrint(JasperReportsServer.java:997)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.servoy.j2db.util.AbstractRemoteInvocationHandler.invokeMethod(AbstractRemoteInvocationHandler.java:77)
   at com.servoy.j2db.util.ThreadingRemoteInvocationHandler$1.run(ThreadingRemoteInvocationHandler.java:79)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)

2021-05-20 12:57:46,678 ERROR [com.servoy.j2db.util.Debug] (Executor,uuid:qj6D4Sl:2) Input type JDBCdatabase has been used with an incorrect datasource of type: class java.lang.String


Jasper Plugin has version jasperreports-6.16.0.
Does anyone have an idea?
Michael Harms
Briese Schiffahrts GmbH & Co.KG, Germany
- Servoy 2020.3.3.3565_LTS Running on Windows 2019 DataCenter - MSSQL2017 & PostGreSQL
User avatar
briese-it
 
Posts: 171
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany

Re: Wildfly Servoy Jasper Reports is not working

Postby briese-it » Thu May 20, 2021 2:59 pm

Problem solved. Seems that Servoy is not able to create the .jasper files. Copied the files from my source and now it's going fine now.
Is this normal behaviour with ng clients / wildfly? I never used the .jasper files with Servoy Application Server and smart / webclient.
Michael Harms
Briese Schiffahrts GmbH & Co.KG, Germany
- Servoy 2020.3.3.3565_LTS Running on Windows 2019 DataCenter - MSSQL2017 & PostGreSQL
User avatar
briese-it
 
Posts: 171
Joined: Mon Jun 20, 2011 1:50 pm
Location: Leer, Germany


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 7 guests