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

Cannot parse JRXML


randallsims

Recommended Posts

Hello!

I'm pretty new to Jasper products. Here's what's happening. I have a report that uses plsql. I made the changes to iReport so that this would be possible, as well as connecting to an Oracle server. I setup a JasperServer so I can test my reports in something other than previews, but when I go to import the JRXML file, I get the following error:

The selected JRXML could not be parsed. You might have selected the wrong file.

The error file shows the following:

ERROR Digester,http-8080-2:1132 - End event threw exception java.lang.reflect.InvocationTargetException

(Lots of lines...)

Caused by: net.sf.jasperreports.engine.JRRuntimeException: No query executer factory registered for the 'plsql' language.

These are the steps I have taken to try to get this running, but I still get the same error:

Put a copy of ojdbc6.jar in the ..\jasperreports-server-cp-4.5.0\apache-tomcat\lib directory

Successfully created a data source to the oracle database

Put the following line in the jasperReports.properties file: 

net.sf.jasperreports.query.executer.factory.plsql=com.jaspersoft.jrx.query.PlSqlQueryExecuterFactory

Edited queryBeans.xml and applicationContext.xml, adding values of "plsql" anywhere I found values of "sql".

Your help is greatly appreciated!

Randy 

 

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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