[JAVA-713] What is the reccomended Java Driver to use with db version v2.2.0 ? Created: 11/Dec/12  Updated: 11/Sep/19  Resolved: 12/Dec/12

Status: Closed
Project: Java Driver
Component/s: Configuration
Affects Version/s: 2.7.3
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Anwar Abdus-Samad Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Dev


Attachments: PNG File mongo_error.png    

 Description   

In our development environment we are running into the following error (see screenshot for error detail).

java.lang.IllegalArgumentException: response too long: 1802661719

We do not believe this is because our documents are two large.

We have multiple threads accessing our collections on a MongoDB 2.2.0 server using the 2.7.3 Mongo Java Driver. The MongoDB and application are running on Red Hat Enterprise Linux Server release 6.3 (Santiago). Once this error appears it affects all threads in our application.

What is the recommended Java driver version to use with MongoDB server version 2.2.0 ?

Could this error be due to compatibility issues between MongoDB 2.2.0 server and the Mongo Java 2.7.3 driver ?



 Comments   
Comment by Anwar Abdus-Samad [ 12/Dec/12 ]

Okay thanks for your assistance. Please go ahead and close this ticket.

Comment by Scott Hernandez (Inactive) [ 11/Dec/12 ]

You should be fine with the 2.7.3 driver with 2.2.0 server but we always suggest using the latest as that includes new features (like aggregate) and many bug/performance fixes.

Do you get this error often? We have seen things like this when there is memory/data issues on the network or via non-ecc memory. What kind of hard do the server/client run on and what does the network look like?

Generated at Thu Feb 08 08:52:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.