arunicbe Posted November 6, 2009 Share Posted November 6, 2009 I created a simple report with xml datasource in Jasper reports 3.6.1. I call this report in a JSP file. I use JRXmlDataSource to fill the report. First, I deployed in Tomcat and copied xalan.lib in tomcat. It worked fine without any issues.Then, I deployed same report in Jboss Portal 2.72. I found that jboss already contains xalan.lib. But, when I runthe report it throws error.I understood from this forum that Jboss has differenct xalan implementation and we can use jaxen lib instead. It is given as we can set the property in jasperreports.properties file.My problem is how to instruct Jasper to use jaxen. And where to keep this file while creating WAR file to deploy the report. Any help is appreciated.Thanks Link to comment Share on other sites More sharing options...
lucianc Posted December 3, 2009 Share Posted December 3, 2009 Add the following property to jasperreports.properties in order to use Jaxen. The file needs to be on the application classpath, so in web apps you can put it under WEB-INF/classes.Regards,LucianCode:net.sf.jasperreports.xpath.executer.factory=net.sf.jasperreports.engine.util.xml.JaxenXPathExecuterFactory 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