Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
Register  ::  Log in Log in to check your private messages
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support Forum IndexWebSphere Message Broker SupportLoopBackNode - CouchBase from IIB10

Post new topicReply to topic
LoopBackNode - CouchBase from IIB10 View previous topic :: View next topic
Author Message
PostPosted: Wed Apr 12, 2017 10:15 pm Post subject: LoopBackNode - CouchBase from IIB10 Reply with quote


Joined: 29 Mar 2012
Posts: 30

Trying to connect to CouchBase from IIB using Loopback Node.

Here is the error I am getting:

            <Text iib:valueType="CHARACTER">Uncaught TypeError: Cannot read property &apos;connect&apos; of undefined</Text>

            <Type iib:valueType="INTEGER">5</Type>
            <Text iib:valueType="CHARACTER">TypeError: Cannot read property &apos;connect&apos; of undefined
    at DataSource.dataSource.connect (C:\Program Files\IBM\IIB\\server\nodejs\iib-loopback\node_modules\loopback-datasource-juggler\lib\datasource.js:349:29)
    at DataSource.ready (C:\Program Files\IBM\IIB\\server\nodejs\iib-loopback\node_modules\loopback-datasource-juggler\lib\datasource.js:2126:10)
    at stillConnecting (C:\Program Files\IBM\IIB\\server\nodejs\iib-loopback\node_modules\loopback-datasource-juggler\lib\dao.js:367:23)
    at Function.find (C:\Program Files\IBM\IIB\\server\nodejs\iib-loopback\node_modules\loopback-datasource-juggler\lib\dao.js:1348:27)
    at iibLBInteractionRetrieve (C:\Program Files\IBM\IIB\\server\nodejs\iib-loopback\iib-loopback-connector\lib\iib-loopback-interaction-retrieve.js:373:19)
    at iibCreateRequestInteraction.request (C:\Program Files\IBM\IIB\\server\nodejs\iib-loopback\iib-loopback-connector\lib\iib-loopback-interaction.js:183:17)</Text>

Here is the datasources.json


"couchbase": {
    "host": "",
        "port": 8091,
        "password": "couchbase",
        "n1qlport": 8093,
        "connector": "couchbase",
        "database": "beer-sample",
        "connectionTimeout": 20000,
        "operationTimeout": 15000

Followed the instruction from
which is done for MangoDB.

Can someone help me to figure out the issue
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1 Forum IndexWebSphere Message Broker SupportLoopBackNode - CouchBase from IIB10
Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP

Theme by Dustin Baccetti
Powered by phpBB 2001, 2002 phpBB Group

Copyright All rights reserved.