Hi,
I’m a little stumped here. This may be more of a Couchbase issue than a SDK or Coldbox issue, but I figured you guys may have some ideas on things to try to get the sample app up and running.
I have copied the sample app coldbox-sample into my webroot and then dropped the cfcouchbase folder into the sample coldbox apps module folder. I updated the cfcouchbase/config/CouchbaseConfig.cfc with my node’s hostname:port which in this case I have a local entry setup in my hosts file for http://ea1.local mapped to my CF11/IIS server.
When I run the app I receive the following error: http://pastebin.com/999Gt82t
From what I can tell from the error the issue is that beer-sample was not found in Couchbase’s pools.
`
Caused by: com.couchbase.client.vbucket.ConfigurationException: Configuration for bucket “beer-sample” was not found in server list ([http://ea1.local:8091/pools]).
`
I’m a little unsure why the bucket doesn’t show in the available pools and why the sample buckets weren’t populated the the sample documents/views (see attached screenshots of my Couchbase console)
Buckets List -> http://picpaste.com/Buckets-uHONiFIm.png
No Documents in beer-sample -> http://picpaste.com/Beer-Sample-NoDocuments-iVe4SR9J.PNG
I even deleted the bucket via the CLI then re-created the bucket via Sample Buckets section under settings in the Couchbase console.
`
C:\Program Files\Couchbase\Server\bin>couchbase-cli.exe bucket-delete -c ea1.loc
al:8091 --bucket=beer-sample -u Administrator -p MyPasswordHere
`
I even uninstalled / re-installed Couchbase and the sample buckets were not populated.
Environment / Setup Info:
Couchbase:
Version: 3.0.1 Community Edition (build-1444) installed on Windows 7
CF / Webserver:
Coldfusion 11 + IIS 7.5 on Windows Server 2008 R2 running on VirtualBox
Coldbox: downloaded just now
http://integration.staging.ortussolutions.com/artifacts/ortussolutions/coldbox/4.0.0/coldbox-standalone-4.0.0.zip
Does my hostname of the cluster node have anything to do with this issue since it’s not registered as localhost:8091 with the Couchbase cluster?
Any thoughts on how to get this up and running would be great so I can see the sample app in action and get started writing my own handlers and modeling my documents.
Thanks!
~Tim