4 Replies Latest reply on Jan 29, 2015 12:31 PM by Ivan Chan

    Getting "unrecognized field \"cursor" when connecting to MongoDB using Teiid 8.9.1, but it works with Teiid 8.8.1

    Ivan Chan Apprentice

      I am getting the following erroe when connecting to MongoDB using Teiid 8.9.1:

       

      Caused by: com.mongodb.CommandFailureException: { "serverUsed" : "donetsk:27017" , "ok" : 0.0 , "errmsg" : "unrecognized field \"cursor"}

              at com.mongodb.CommandResult.getException(CommandResult.java:76)

              at com.mongodb.CommandResult.throwOnError(CommandResult.java:131)

              at com.mongodb.DBCollectionImpl.aggregate(DBCollectionImpl.java:100)

              at com.mongodb.DBCollection.aggregate(DBCollection.java:1571)

              at org.teiid.translator.mongodb.MongoDBQueryExecution.execute(MongoDBQueryExecution.java:111)

       

      But it works ok with Teiid 8.8.1.

       

      Do u guys know anything about it?  Thanks a lot!

       

      - Ivan