info_877 Posted March 19, 2023 Share Posted March 19, 2023 I am using geekcom phpjasper jasperstarter to generate reports in my laravel app. The reports generation is too slow. While searching I found that changing xpath executer factory from xalan to jaxen can speed up the process. My question is what settings (and where) are required to force jasperstarter to use jaxen instead of xalan. I have already downloaded the jaxen-1.1.6 jar file and added it to geekcomphpjasperbinjasperstarterlib folder. Link to comment Share on other sites More sharing options...
Solution Swapnil Pawar Posted March 22, 2023 Solution Share Posted March 22, 2023 Hello,I am not aware of your app but Out of the box, I changed the net.sf.jasperreports.xpath.executer.factory from the XalanXPathExecuterFactory to JaxenXPathExecuterFactory in the jaspersoft Studio(JSS).No need to add the jar manually it's already present in the JSS.You can change the property using the jss as follow, Preferences -> Jaspersoft Studio -> Properties then search for the property "net.sf.jasperreports.xpath.executer.factory" and then add the value as given below:net.sf.jasperreports.xpath.executer.factory=net.sf.jasperreports.engine.util.xml.JaxenXPathExecuterFactoryApply and close.I checked that it improved some report filing time. I hope this will help you. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now