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

How to change xpath executer factory from xalan to Jaxen


info_877
Go to solution Solved by Swapnil Pawar,

Recommended Posts

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

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • Solution

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.JaxenXPathExecuterFactory

Apply 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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...