Node request Jasper report

I want to send a report created at Jaspersoft Studio-6.19.1 by node request. I am using node-jasper package, but when I call my API's request this error appears on the screen. How can I solve this problem?

I used lib jasperreports-6.19.1 and Java8:

jasper = require('node-jasper')(
  {
   // path: '../lib/jasperreports-6.2.0',//19.1 // 'lib/jasperreports-6.2.0'
     path: '../lib/jasperreports-6.19.1',
    reports: {
      hw: {
        jasper: '../reports/aa.jasper'
        //jasper: 'testando.jasper'
        // jrxml: 'testando.jrxml'
        //jrxml: '../reports/testando.jrxml'
      }
    }
    ,
    drivers: {
      jdbc: {
        path: '../driver/jaybird-full-4.0.9.java8.jar',
        class: 'org.firebirdsql.jdbc.FBDriver',
        type: 'jdbc'
      }
    }
    ,
    conns: {
      dbserver1: {
        jdbc: 'jdbc:firebirdsql://127.0.0.1:3050/C:\\BD\\BD_PROD.FDB',
        user: 'sysdba',
        pass: 'managerr'
      }
    },
    defaultConn: 'dbserver1'
  }
);

rennangabriel2's picture
Joined: Dec 20 2021 - 5:10am
Last seen: 6 months 3 weeks ago

Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.

mrajkuma - 5 months 3 weeks ago

Thank you for your patience, we have not forgotten you. We need a little more time with our team of experts to come up with a solution. We will respond back with an answer as quickly as we can.

mrajkuma - 5 months 2 weeks ago

Unfortunately, node-jasper is not a Jaspersoft-supplied/created project and we do not have any insight into it. Hopefully someone else in the Community has some knowledge on it, but we've checked internally and since we didn't produce it, we don't have any insight to how it works or what is causing your error.

mbielkiewicz - 4 months 1 week ago
show 1 more...

If you want to use the JasperReports functionality from a non-Java application by making REST calls, I suggest to give a try to the JasperReports IO product:
https://community.jaspersoft.com/project/jasperreports-io

teodord - 4 months 1 week ago

0 Answers:

No answers yet
Feedback
randomness