couchbase 报 The Content of this Observable is already released. Subscribe earlier or tune the Couch
来源:互联网 发布:mac air能玩魔兽世界 编辑:程序博客网 时间:2024/06/15 20:12
java.lang.RuntimeException: java.util.concurrent.TimeoutException
at com.couchbase.client.java.util.Blocking.blockForSingle(Blocking.java:75)
at com.couchbase.client.java.CouchbaseCluster.openBucket(CouchbaseCluster.java:296)
at com.couchbase.client.java.CouchbaseCluster.openBucket(CouchbaseCluster.java:277)
at com.couchbase.client.java.CouchbaseCluster.openBucket(CouchbaseCluster.java:266)
at com.couchbase.client.java.CouchbaseCluster.openBucket(CouchbaseCluster.java:256)
...
2016-3-16 12:11:02 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet springServlet threw exception
java.lang.IllegalStateException: The Content of this Observable is already released. Subscribe earlier or tune the CouchbaseEnvironment#autoreleaseAfter() setting.
at com.couchbase.client.core.utils.UnicastAutoReleaseSubject$OnSubscribeAction.call(UnicastAutoReleaseSubject.java:230)
at com.couchbase.client.core.utils.UnicastAutoReleaseSubject$OnSubscribeAction.call(UnicastAutoReleaseSubject.java:202)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable.unsafeSubscribe(Observable.java:8171)
at rx.internal.operators.OperatorZip$Zip.start(OperatorZip.java:212)
at rx.internal.operators.OperatorZip$ZipSubscriber.onNext(OperatorZip.java:154)
at rx.internal.operators.OperatorZip$ZipSubscriber.onNext(OperatorZip.java:119)
at rx.internal.util.ScalarSynchronousObservable$1.call(ScalarSynchronousObservable.java:46)
at rx.internal.util.ScalarSynchronousObservable$1.call(ScalarSynchronousObservable.java:35)
at rx.Observable$2.call(Observable.java:162)
at rx.Observable$2.call(Observable.java:154)
at rx.Observable.unsafeSubscribe(Observable.java:8171)
at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:231)
at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:140)
at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:54)
at rx.internal.operators.OperatorMerge$MergeSubscriber.emitScalar(OperatorMerge.java:472)
at rx.internal.operators.OperatorMerge$MergeSubscriber.tryEmit(OperatorMerge.java:434)
at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:227)
at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:140)
at rx.internal.operators.OperatorMap$1.onNext(OperatorMap.java:54)
at rx.observers.Subscribers$5.onNext(Subscribers.java:234)
at rx.subjects.SubjectSubscriptionManager$SubjectObserver.onNext(SubjectSubscriptionManager.java:222)
at rx.subjects.AsyncSubject.onCompleted(AsyncSubject.java:101)
at com.couchbase.client.core.endpoint.AbstractGenericHandler$1.call(AbstractGenericHandler.java:265)
at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
研究了好久终于知道原因:
Couchbase连接服务端的时候会进行cdn解析,解析操作非常慢,比如我们输入192.168.8.8等内网地址也会先进行解析,解析不到才会再用ip地址连接,目前我用的版本是4.1的版本,不知道后续版本中是否会解决这个问题,临时解决方案就是在客户端机器上修改hosts文件,加入 192.168.8.8 192.168.8.8的映射,这样CB在解析的时候就可以直接找到这个地址,问题解决。
- couchbase 报 The Content of this Observable is already released. Subscribe earlier or tune the Couch
- 报错:This generally means that another instance of this process was already running or is hung in the
- This generally means that another instance of this process was already running or is hung in the deb
- This generally means that another instance of this process was already running or is hung in the deb
- This generally means that another instance of this process was already running or is hung in the deb
- It is possible that this object was over-released, or is in the process......
- One of the disks in this virtual machine is already in use by a virtual machine or by a snapshot"
- MyBatis报错:The content of elements must consist of well-formed character data or markup.
- WP7 报 Element is already the child of another element. [Line: 0 Position: 0]
- Version 1.6.0 of the JVM is not suitable for the this product.Version:1.8 or greater is required
- Version 1.6.0 of the JVM is not suitable for the this product.Version:1.8 or greater is required
- Adapter报错:The content of the adapter has changed
- Adapter报错:The content of the adapter has changed
- Adapter报错:The content of the adapter has changed
- Adapter报错:The content of the adapter has changed
- Adapter报错:The content of the adapter has changed
- Adapter报错:The content of the adapter has changed
- Adapter报错:The content of the adapter has changed
- Android Https相关完全解析 当OkHttp遇到Https
- 抽象类和接口的区别
- ArcGIS Engine+C#二次开发中队加载的shp文件进行投影
- 整理对Java项目的快捷插件
- LeetCode 203. Remove Linked List Elements
- couchbase 报 The Content of this Observable is already released. Subscribe earlier or tune the Couch
- NEFU 1111 线段树区间更新+懒惰标记
- 收集并整理的一些正则表达式
- iOS之UIScrollview添加约束图文详解
- Java垃圾收集学习笔记(转)
- Android修改浏览器书签和主页
- Django View Request和Response
- 蓝桥杯 历届试题 错误票据 (输入)
- iOS 解析HTML数据