-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Used following settings for Oracle connectivity,
jasper = require('node-jasper')({
path: '../jasperreports-5.6.0',
reports: {
hw: {
jasper: '../test.jasper'
}
},
drivers: {
oracle: {
path: '../ojdbc6.jar',
class: 'oracle.jdbc.OracleDriver',
type: 'oracle'
}
},
conns: {
dbserver1: {
host: 'hostname',
port: 1521,
dbname: 'db',
user: 'user',
pass: 'pwd',
driver: {
type: 'oracle:thin'
}
}
},
defaultConn: 'dbserver1'
});
But the following problem faced calling this 2nd time, please provide a solution for this.
Error: Error running instance method
java.lang.AbstractMethodError: oracle.jdbc.driver.OracleConnection.isValid(I)Z
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels