Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

razs@redbend.com's picture
Asked 6 months 2 weeks ago

Using couchbase java client within Netty 4.X server

Hi,

We are using Netty server 4.0.5 and would like to use couchbase java client to connect to couchbase server. My problem is that the couchbase java client (1.3.2) is using netty 3.5.5. So in the same java project we will need to use netty 4.0.5 for the server and netty 3.5.5 for...

ravivedala's picture
Asked 6 months 2 weeks ago
Latest activity 6 months 1 week ago

Unable to retrieve the value put by one client from a different client connection/session

Hi,

I am using the java client: couchbase-client-1.0.3.jar

Using com.couchbase.client.CouchbaseClient I am creating the connection to the Couchbase Server. When I put and get a value within the same connection, I am able to retrieve the value from the Couchbase Server, but from a...

ohassidi's picture
Asked 6 months 3 weeks 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 3 weeks ago
Latest activity 6 months 3 weeks 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 4 weeks ago
Latest activity 2 months 23 hours 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 7 months 1 day ago
Latest activity 7 months 22 hours 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 7 months 2 days 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 7 months 1 week ago
Latest activity 7 months 1 week 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 2 weeks ago
Latest activity 7 months 1 week 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 2 weeks ago
Latest activity 7 months 1 week 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....

Pages