Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

missing : after property ID #3

Open
ghost opened this issue May 11, 2015 · 1 comment
Open

missing : after property ID #3

ghost opened this issue May 11, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented May 11, 2015

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);
});
}
});

@gbrail
Copy link

gbrail commented May 12, 2015

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:

LOGLEVEL=debug trireme

On Mon, May 11, 2015 at 7:34 PM, Gary Furash notifications@github.com
wrote:

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);
});
}
});


Reply to this email directly or view it on GitHub
#3.

greg brail | apigee https://apigee.com/ | twitter @gbrail
http://twitter.com/gbrail

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant