Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

ohassidi's picture
Asked 6 months 1 week ago

Connection management

Hi

Is there any best practice for connection management for couchbase connections? If one of the nodes in the cluster died, how the client get notified and start dipatching requests to other nodes? Also how does data that was in the died server start return from other nodes?

Should...

arthur.gimpel's picture
Asked 6 months 1 week ago
Latest activity 6 months 1 week ago

New documents are not being inserted

Hi,
We're new to Couchbase in our organization, and we encountered a weird issue.
When trying to set multiple rows through the following code:

This is how our "set" method looks like at the moment:
public void setCampaign(Campaign camp){
client.set(camp...

satya8789's picture
Asked 6 months 2 weeks ago
Latest activity 1 month 2 weeks ago

While crawling NullPointerException appeared for testing the Java code.

I wrote a program to crawl a website. But when I am testing it with coutchbase it is throwing the following error:

13:03:12.561 [CESystem-akka.actor.default-dispatcher-8] DEBUG com.crayondata.ce.Crawler$ - Fetching request: Request(...

nmsoni's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 2 weeks ago

Why Grails is Best Java Web Frameworks

Grails as we know is a best application development framework in Java Language. Designed and developed by Graeme Rocher in 2005, Grails framework has given a new hope to most of Java developers with a best platform to work on.

http://goo.gl/qJNBjB

sayooj_valsan's picture
Asked 6 months 2 weeks ago

Android DB creation time

Hi,

I am trying the new beta SDK. I am following this tutorial which is the current one -

http://docs.couchbase.com/couchbase-lite/cbl-android/cbl-android-1.0b2/

I was trying to insert...

juan.musacchio's picture
Asked 6 months 3 weeks ago
Latest activity 6 months 3 weeks ago

Bug in ClusterManager class?

Hi

I've been experiencing some connection issues ("Unable to connecto to cluster") while listing the couchbase buckets. After some debugging I realized that could be a race condition in the ClusterManager sendRequest method. The following are the involved lines (took it from master branch...

limkl's picture
Asked 7 months 1 day ago
Latest activity 6 months 4 weeks ago

Minimum JDK version

Hi,

May I know what is the minimum JDK version for Couchbase Java Client?

Thanks,
Victor

- According to this page, Couchbase can be used for Java 1.1+:
http://www.couchbase.com/communities/all-...

dgefter's picture
Asked 7 months 4 days ago
Latest activity 6 months 4 weeks ago

OperationTimeoutException when reading from replicas

Hi,

I'm running Couchbase 2.2.0 with 3-node cluster and 2 replicas. My client is using Java sdk 1.2.3
I'm testing the failover scenario by shutting down one of the nodes and letting the client read from replicas. I'm doing it to minimize the impact of one of the nodes failing....

texpilot's picture
Asked 7 months 6 days ago
Latest activity 7 months 6 days ago

Can Java client communications be encrypted?

I'm just looking into Couchbase for the first time and had a quick question.

Does the Couchbase Java client encrypt communications to the Couchbase Server? Or can it be configured to do so?

While I didn't see any mention of "encrypt" in the API, I didn't want to assume "no"...

seybi's picture
Asked 7 months 6 days ago
Latest activity 6 months 2 weeks ago

Problem with Timed out while reading configuration over HTTP

Hi,

I'm trying to benchmark couchbase server 2.2 with the YahooCloudServingBenchmark (YCSB).

I'm using the connector couchbase2.0 of Thumbtack which can be found here: https://github.com/thumbtack-technology/ycsb

I'm...

Pages