Mongodb query tool

anushaanusha Posts: 13
edited February 22 in SOAtest

I am trying to configure Mongo db query tool using LDAP Connection, getting following error.
MongoDB Query Tool failed with a fatal error: com.mongodb.MongoClient.(Lcom/mongodb/ServerAddress;Lcom/mongodb/MongoCredential;Lcom/mongodb/MongoClientOptions;)V. View Details for more information.

Comments

  • benken_parasoftbenken_parasoft Posts: 494 ✭✭✭

    What jars did you add to SOAtest, aside from the MongoDB Query tool? Probably you have some other jar that is breaking the extension.

  • anushaanusha Posts: 13

    I have added Mongo-Java driver 3.4.2 jar

  • benken_parasoftbenken_parasoft Posts: 494 ✭✭✭
    edited February 23

    I have added Mongo-Java driver 3.4.2 jar

    The MongoDB Query tool includes its own mongo-java-driver. Don't add any extra mongo-java-driver jars.

  • anushaanusha Posts: 13

    i have deleted Mongo java driver, it fixed. thank you.

  • Lakshmi20020Lakshmi20020 Posts: 6

    Hi all, trying to configure MongoDB Query tool and getting "Error Message:
    Cannot connect to MongoDB server at localhost:27017" I have added the necessary Jar file, any insights

  • benken_parasoftbenken_parasoft Posts: 494 ✭✭✭

    Cannot connect to MongoDB server at localhost:27017

    I am sure this message is accurate. Is your MongoDB server running on that host and port? Or did you mean to connect to a different host and port?

  • Lakshmi20020Lakshmi20020 Posts: 6

    I tried to connect another instance, I was able to run the query manaully, but not from soatest.

  • benken_parasoftbenken_parasoft Posts: 494 ✭✭✭

    I tried to connect another instance, I was able to run the query manaully, but not from soatest.

    You need to provide some detail so that someone can help you. Concerning the "Cannot connect" message, is your MongoDB server running on that host and port? Or did you mean to connect to a different host and port?

Sign In or Register to comment.