You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.
do you know why the following test script fails with
missing : after property id
at module.js:439
at module.js:474
at module.js:356
at module.js:312
at module.js:497
at startup (trireme.js:142)
at trireme.js:923
var jdbc = new(require('trireme-jdbc'));
var db = new jdbc.Database({
url: 'jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=uaz-dv-scan-01.mosaic.arizona.edu)(PORT=1521)))(CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=uazhrdev.mosaic.arizona.edu)))',
properties: {
user: 'furashg',
password: 'xxxx'
},
minConnections: 1,
maxConnections: 20,
idleTimeout: 60
});
I don't see anything obvious there, but I'm not an expert in Oracle
connection strings. I am surprised at the stack trace, however, which
doesn't look very useful to me.
If you're running using the "trireme" NPM package or otherwise on the
command-line, you can set the environment variable LOGLEVEL to "debug" and
then we will get more diagnostics. For instance:
do you know why the following test script fails with
missing : after property id
at module.js:439
at module.js:474
at module.js:356
at module.js:312
at module.js:497
at startup (trireme.js:142)
at trireme.js:923
var jdbc = new(require('trireme-jdbc'));
var db = new jdbc.Database({
url: 'jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=on)(ADDRESS=(PROTOCOL=TCP)(HOST=uaz-dv-scan-01.mosaic.arizona.edu)(PORT=1521)))(CONNECT_DATA=(SERVER=dedicated)(SERVICE_NAME=uazhrdev.mosaic.arizona.edu)))',
properties: {
user: 'furashg',
password: 'xxxx'
},
minConnections: 1,
maxConnections: 20,
idleTimeout: 60
});
db.execute("select * from psoprdefn where oprid = 'FURASHG'", {
function(err, result, rows) {
rows.forEach(function (row) {
console.log('Row: %j', row);
});
}
});
The text was updated successfully, but these errors were encountered: