How to connect oracle 11g to nodejs ?

hi
when i want to connect to oracle with node.js , i use this article on this link https://github.com/mariano/node-db-oracle , when i want to install db-oracle with " npm isnatll db-oracle " , the error in below is shown :
npm install db-oracle
npm http GET https://registry.npmjs.org/db-oracle
npm http 304 https://registry.npmjs.org/db-oracle
> [email protected] install /opt/instantclient/node_modules/db-oracle
> node-waf configure build
sh: node-waf: command not found
> [email protected] preuninstall /opt/instantclient/node_modules/db-oracle
> rm -rf build/*
npm ERR! weird error 127
npm ERR! not ok code 0
can any one help me ?
thanks

db-oracle has not been updated for 2 years, please, use node-oracle instead - https://github.com/joeferner/node-oracle

Similar Messages

  • How to connect Oracle 11g in CF9 using tnsnames

    Hi, I'm using CF9 running on Solaris and I just had Oracle 11g installed using tnsnames. Can someone explain to me how to add the Oracle string in CF admin? I have confirmed that I can connect to the database but I don't think I have the correct syntax for connection string. I think it should be similar to the following: jdbc:datadirect:oracle:TNSNAMES_FILE=/d01/oracle/product/v.11.2.0.3_client/network/admin/ tnsnames.ora:@dbserver.com:1549:SIDname;driver=oracle.jdbc.Oracle
    Does anyone have an idea?
    Thanks in advance

    I have Oracle client installed on the web server with Oracle database installed on separate server. When I add DSN and SID, I get the following error:
    Connection verification failed for data source: dsn_test
    java.sql.SQLNonTransientConnectionException:[Macromedia][Oracle JDBC Driver][Oracle]ORA-12505 Connection refused, the specified SID (SID_NAME) was not recognized by the Oracle server.
    The root cause was that:java.sql.SQLNonTransientConnectionException:[Macromedia][Oracle JDBC Driver][Oracle]ORA-12505 Connection refused, the specified SID (SID_NAME) was not recognized by the Oracle server.
    Any ideas?

  • How to connect oracle application server portal to MS access DataBase

    Hello,
    I am facing one problem here.
    Our client is having their database in MS access and they want to implement the oracle application server portal for their organization then how to connect the MS access DB to oracle Application server portal

    There is a worked example of how to connect oracle to an Excel spreadsheet, which is easily modifyable to read from an Access Database.
    http://asktom.oracle.com/pls/ask/f?p=4950:61:::::P61_ID:4406708207206#18830681837358
    I had some concurrency problems - only one person could use the link at any one time, so I used it to load the data into oracle tables.
    Tak

  • How to connect Oracle 8.0.5 for Linux to Tuxedo

    How to connect Oracle 8.0.5 for Linux to Tuxedo?
    How to config Tuxedo RM file and setting.

    Thomas Drolshagen (guest) wrote:
    : Oracle 8.0.5. Installation on S.u.S.E. Linux 5.3
    : =================================================
    : After strugling for 3 weekends with the installation of Oracle
    : 8.0.5. on a
    : S.u.S.E. 5.3 distribution here are the installation steps that
    : worked for me.
    I have tried to install Oracle on SuSE 5.2. I almost complted the
    installation, but kept getting a failure on installing the
    database. The last entry in the install.log is:
    Leaving trace.ins- Entering Make Dependent section.
    - Entering do_relink==false section.
    - Leaving Make dependent section.
    - Entering database actions section.
    Deciding to start again from scratch, I tried deleting all files
    and begining again, but now I get a different error running
    orainst. The installer keeps responding that 'file x already
    exists'. The name of the file changes each time I run it, and no
    file of that name exists. I have tried deleting the temp
    directories, as well as dropping them and recreating them
    elsewhere (desperation!), but I canot stop this from happening:
    An operating system error occurred while trying to spawn
    '/orasys/app/oracle/product/8.0.5/bin/otrccref' while
    redirecting
    output to '^ @^'. (File exists.) Would you like to retry
    the
    operation, ignore the error, or allow the error to be
    processed by
    the Installer?
    Does anyone have any ideas??
    null

  • Connect Oracle 11g (64-bit windows server) to Microsoft SQL Server 2000

    Hi all,
    I am trying to connect:
    Oracle 11g (64-bit windows server) to Microsoft SQL Server 2000 (32-bit) on a different machine.
    1) I have create an ODBC connection (called:GALAXY) which connects.
    2) created a init.ora called it initgalaxy.ora in $oracle_home\hs\admin
    HS_FDS_CONNECT_INFO = GALAXY
    HS_FDS_TRACE_LEVEL = on
    3) modified the listener.ora file as below
    # listener.ora Network Configuration File: E:\Ora11g\product\11.1.0\db_1\network\admin\listener.ora
    # Generated by Oracle configuration tools.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BIU01)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = extproc0))
    SID_LIST_LISTENER=
    (SID_LIST=
    (SID_DESC =
    (GLOBAL_DBNAME = HEX.BIU01.kingsch.nhs.uk)
    (ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
    (SID_NAME = HEX)
    (SID_DESC=
    (SID_NAME = galaxy)
    (ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
    (PROGRAM = dg4odbc)
    (SID_DESC =
    (PROGRAM = EXTPROC)
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = E:\Ora11g\product\11.1.0\db_1)
    4) modified the tnsnames.ora file is as follows
    GALAXY =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BIU01.kingsch.nhs.uk)(PORT = 1521))
    (CONNECT_DATA =
    (SID = galaxy)
    (HS = OK)
    HEX =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = BIU01.kingsch.nhs.uk)(PORT = 1521))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = HEX)
    5) restarted the listener
    6) created a public database connect
    create PUBLIC DATABASE LINK "GALAXY" CONNECT TO "USER" IDENTIFIED by "PWD" USING 'galaxy';
    This is the error message I can sell in $oracle_home\hs\admin\trace
    Oracle Corporation --- MONDAY APR 27 2009 11:54:18.370
    Heterogeneous Agent Release
    11.1.0.6.0
    Oracle Corporation --- MONDAY APR 27 2009 11:54:18.370
    Version 11.1.0.6.0
    HOSGIP for "HS_FDS_TRACE_LEVEL" returned "ON"
    HOSGIP for "HS_OPEN_CURSORS" returned "50"
    HOSGIP for "HS_FDS_FETCH_ROWS" returned "100"
    HOSGIP for "HS_LONG_PIECE_TRANSFER_SIZE" returned "65536"
    HOSGIP for "HS_NLS_NUMERIC_CHARACTER" returned ".,"
    HOSGIP for "HS_FDS_RECOVERY_ACCOUNT" returned "RECOVER"
    HOSGIP for "HS_FDS_TRANSACTION_LOG" returned ""HS_TRANSACTION_LOG""
    HOSGIP for "HS_FDS_TIMESTAMP_AS_DATE" returned "TRUE"
    HOSGIP for "HS_FDS_CHARACTER_SEMANTICS" returned "FALSE"
    HOSGIP for "HS_FDS_MAP_NCHAR" returned "TRUE"
    HOSGIP for "HS_FDS_RESULT_SET_SUPPORT" returned "FALSE"
    HOSGIP for "HS_FDS_PROC_IS_FUNC" returned "FALSE"
    HOSGIP for "HS_FDS_REPORT_REAL_AS_DOUBLE" returned "FALSE"
    using galaxy_live as default value for "HS_FDS_DEFAULT_OWNER"
    HOSGIP for "HS_SQL_HANDLE_STMT_REUSE" returned "FALSE"
    ##>Connect Parameters (len=42)<##
    ## DSN=GALAXY;
    #! UID=galaxy_live;
    #! PWD=*
    hgocont, line 1890: calling SqlDriverConnect got sqlstate IM002
    when I try to test the database link, I get this error:
    ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
    [Microsoft][ODBC Drive Manager] Data source name not found and no default driver specified
    ORA-02063: preceding 2 lines from GALAXY
    28500.00000- "connection from ORACLE to ad non-Oracle system returned this message:"
    *Cause: The cause is explained in the forwarded message.
    *Action: See the non-Oracle system's documentation of the forwarded message.
    vendor code 28500
    Edited by: user7336435 on 27-Apr-2009 05:56

    11.2 is beta at the moment. There is no official release date so far.
    As DG4ODBC is independant from the Oracle database (or the target database) you can use a 3 machine model:
    On the first machine you have your Oracle database, on a second machine running 32bit Windows you can install DG4ODBC and on the 3rd machine you can run your foreign database.
    If the SQL Server 2k is installed on a 32bit Windows machine, then you can also install DG4ODBC on this machine.
    In general the connection from an Oracle database to the DG4ODBC machine is done using SDQL*Net. The listener responsible for DG4ODBC will then load the DG4ODBC executable which will connect to the SQL Server using SQL Server ODBC driver.

  • How to connect Oracle database in VC++.06

    How to connect Oracle database in VC++.06 please give me details

    on the Insert command button and add the following code to the button click event:
    try
    string results = "";
    OracleConnection con = new OracleConnection("DSN=Employee;uid=system;pwd=test");
    con.Open();
    .....................................................................

  • Network adapter could not establish the connection oracle 11g

    Hi All,
    I Have oracle 11g database in remote system.When I am trying to access through my Oracle Jdeveloper in my system,I am getting this error:
    "Test Failed: network adapter could not establish the connection oracle 11g"
    I also checked the ipaddress and listener status by giving lsnrctl status and service in remote system.Both are running.
    What Should I do now?
    Thanks in advance

    902286 wrote:
    Hi All,
    I Have oracle 11g database in remote system.When I am trying to access through my Oracle Jdeveloper in my system,I am getting this error:
    "Test Failed: network adapter could not establish the connection oracle 11g"
    I also checked the ipaddress and listener status by giving lsnrctl status and service in remote system.Both are running.
    What Should I do now?
    Thanks in advance
    For starters, you make sure that there is even the possibility of a network connection between your client machine and the machine hosting the "remote system".  What happens when, on the client machine, you issue a 'ping <ip address of remote system>'?

  • How to connect oracle database from tuxedo

    Hi,
    How to connect oracle database from tuxedo.
    If any one can help me.
    Regards,

    it depends on configuration your going to choose, there are two ways--
    - Using X/Open standards, for this
    you have to make an entry of Resource manager in $TUXDIR/udataobj/RM file.
    Then in UBBConfig file in GROUPS section u have to set Openinfo.
    It also depend on which database you are going to use.
    In your service now you need to call tpopen() API from tpsvrinit() function.
    - Other possibility is, take an implicit connection using Pro*C or Pro*Cobol whatever platform you are using.
    EXEC SQL Connect ...

  • How to connect oracle database using jsf

    how to connect oracle database using javaserver faces with connection pooling

    Here is one way...
    http://jakarta.apache.org/commons/dbcp/

  • How to connect oracle database with JAVA

    how to connect oracle database with JAVA....
    using j2sdk and Jcreator . which connector to use .. what are the code for that ..

    PLEASE .... Ask in an Oracle Java forum.
    And read the documentaiton. There is a whole document devoted to doing that. http://download.oracle.com/docs/cd/B19306_01/java.102/b14355/toc.htm has examples.
    PLEASE ... do not ask product questions in a forum which clearly has a title saying it is devoted to assisting with download problems.

  • How to connect oracle database into VC?GIve step by step.

    Hi Experts,
    Please help
    How to connect oracle database into VC?
    I need step by step.
    what shall i do the first to connect via jdbc or  something else.
    whether we have to create dsn name or using jdbc connections?which one to use?
    Please give the basic steps.Its very urgent.
    Thanks and Regards,
    Nutan

    Hi ,
    all information are in the following document:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6209b52e-0401-0010-6a9f-d40ec3a09424">How to Configure a Business Intelligence JDBC System for Visual Composer</a>
    Rgds,
    Karim

  • How to connect oracle form6i or 10g to mysql database

    can anyone tell me how to connect oracle forms to mysql database using ODBC connector?
    akin

    Hi
    this is step by step installation guide
    http://download.oracle.com/docs/cd/E11882_01/install.112/e10875/toc.htm
    also below link for download
    http://www.oracle.com/technology/software/products/database/index.html
    hope this helps
    Zekeriya

  • How to connect oracle data through BlazeDS in flex 4

    How to connect oracle data through BlazeDS in flex 4

    Hi
                   If u want to connect to the database oracle just paste the Ojdbc14.jar file into the lib folder of blazeds project..
                             Normally blazeds distribution version contains blazeds.war file... upload that war file to the tomcat or any other application server..
                          u will get the build path and in lib folder paste the ojdbc14.jar file to connect to the oracle and do u r stuff at server side java ....
                      if this will reslove ur problem please mark as answered..

  • How to connect oracle client (xp) to database server

    how to connect oracle client to database server
    i have following information
    --server ip
    --port no
    --database name.                                                                                                                                                                                                                                               

    In addition to these parameters you need username and password.
    Then you can connect with
    sqlplus -L username@//server_ip:port_no/database_name
    Yours,
    Laurenz Albe

  • HOW TO CONNECT ORACLE BI DISCOVERER ADMINISTRATOR 10g

    Hi,
    My question is HOW TO CONNECT ORACLE BI DISCOVERER ADMINISTRATOR 10g. I know how to connect PLUS and VIEWER using a URL. Do i need to install Discoverer Admin. separately on my local machine.
    This is very urgent... Please reply.
    Thanks in advance for your time and answers.
    Jay

    Discoverer Administrator is a client side tool, you must install it on your machine or even you can install discoverer administrator in your server but you must connect through a connection string which you must enter in your tnsnames
    regards

Maybe you are looking for