title: Error: ORA-32102: invalid OCI handle connecting Oracle via node.js
body: <p>Error: ORA-32102: invalid OCI handle</p>
  
  <pre><code>var oracle = require('oracle');
  
  oracle.connect({ "hostname": "hostname", "user": "user", "password": "password" },
    function(err, connection) {
  
      if(err){ console.log("Connect err:" + err); }
      if(connection){ console.log("Connection:" + connection); }
  
      console.log(connection);
      console.log("........");
  
      // selecting rows
      connection.execute("SELECT * FROM AUTOLOAN_MASTER WHERE RELIGION = :1", ['R'], 
        function(err, results) {
      if (err) {
        console.log('Failed to query table in Oracle: '+ err);
       req.results = null;
      }
      console.log(req);
      console.log(req.results);
        });
  
        connection.close();
     });
  </code></pre>
  
  <p>Oracle package has been installed in ubuntu. 
  Getting following error:
  Error: ORA-32102: invalid OCI handle</p>