ItGo.me - 专注IT技术分享

首页 > Exception > mongodb java.lang.IllegalArgumentException: response too long解决

mongodb java.lang.IllegalArgumentException: response too long解决

时间:2015-11-26来源:网友分享 点击:
java.lang.IllegalArgumentException: response too long: 1347703880
    at com.mongodb.Response.<init>(Response.java:47)
    at com.mongodb.DBPort.go(DBPort.java:142)
    at com.mongodb.DBPort.go(DBPort.java:106)
    at com.mongodb.DBPort.findOne(DBPort.java:162)
    at com.mongodb.DBPort.runCommand(DBPort.java:170)
    at com.mongodb.ConnectionStatus$UpdatableNode.update(ConnectionStatus.java:196)
    at com.mongodb.DynamicConnectionStatus$DynamicNode.update(DynamicConnectionStatus.java:167)
    at com.mongodb.DynamicConnectionStatus$1.run(DynamicConnectionStatus.java:114)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    at java.util.concurrent.FutureTask.run(FutureTask.java:262)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)

   可能原因:mongodb没连接上,如端口错等

No live SolrServers available to handle this request

org.apache.solr.client.solrj.SolrServerException: No live SolrServers available to handle this request:[http://192.168.0.2:8983/solr/test, http://192.168.0.3:8983/solr/test, http://192.168.0.4:8983/solr/test]...

org.apache.http.TruncatedChunkException: Truncated chunk解决方法

org.apache.http.TruncatedChunkException: Truncated chunk ( expected size: 8003; actual size: 7434) at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:186) at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStre...

com.alibaba.dubbo.remoting.RemotingException: Fail to decode request due to解决方法

Caused by: com.alibaba.dubbo.remoting.RemotingException: Fail to decode request due to: RpcInvocation com.alibaba.dubbo.rpc.RpcException: Failed to invoke the method queryByKeyword in the service ...

java.lang.IllegalArgumentException: response too long: 1347703880 at com.mongodb.Response.(Response.java:47) at com.mongodb.DBPort.go(DBPort.java:142) at com.mongodb.DBPort.go(DBPort.java:106) at com.mongodb.DBPort.findOne(DBPort.java:
------分隔线----------------------------