配置:
Windows 7 x64 (fully updated or fresh install), JDK 7.0.450 (x64 or x86), Java SDK lib 1.2.2, Couchbase Server 2.2.0 (local or remote installation on Ubuntu Server 13.10).
Couchbase Lib日志:
2013-11-27 13:49:53.961 INFO com.couchbase.client.CouchbaseConnection: Added {QA sa=/192.168.1.126:11210, #Rops=0, #Wops=0, #iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2013-11-27 13:49:53.989 INFO com.couchbase.client.CouchbaseConnection: Connection state changed for sun.nio.ch.SelectionKeyImpl@148a8e6
2013-11-27 13:49:54.046 INFO com.couchbase.client.ViewConnection: Added Comp1 to connect queue
2013-11-27 13:49:54.049 INFO com.couchbase.client.CouchbaseClient: viewmode property isn't defined. Setting viewmode to production mode
示例中没有回报:
CouchbaseClient client = new CouchbaseClient(hosts, bucket, password);
示例的完整代码是here
有什么想法吗?
P.S。在Ubuntu Server 13.10上,该示例工作正常。那么WinAPI-JVM层中的问题是什么?
P.S.S。 Here is the dump of VM state
答案 0 :(得分:2)
停住!免费杀毒软件2014.9.0.2008和卡巴斯基2014以某种方式锁定套接字io WinAPI功能的执行。所以我切换到MS Security Essentials,问题解决了。我应该注意到Avast的最新更新!工作得很好。感谢所有试图解决此案的人。