Jump to content
Changes to the Jaspersoft community edition download ×

unable to call Oracle storedproc from web app


leslie-lim

Recommended Posts

I am unable to call the stored procedure using Jasper Reports in my web app. The log file reports:

 

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

net.sf.jasperreports.engine.JRException: org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 16; Error at line 17 char 16: No query executer factory registered for the 'plsql' language

.

 

From what I have searched, I'm supposed to add the jasperreports-extension jar, and register the plSQL query executor factory. No one has actually shown how to do this. When I tried, it failed because the problem I am facing here looks like this (code snippet follows):

 

JasperDesign jasperDesign = JRXmlLoader.load(reportInputStream);//fails!

 

JasperReport jasperReport = JasperCompileManager.compileReport(jasperDesign);

 

jasperReport.setProperty( "net.sf.jasperreports.query.executer.factory.plsql"

,"com.jaspersoft.jrx.query.PlSqlQueryExecuterFactory");

Before I can set the PlSqlQueryExecuterFactory, the program has already failed when it tries to load the jrxml file.

 

Can anyone help?

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

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