Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1892

Failed to authenticate to database

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.0.2
    • Connection Management
    • None
    • Red Hat Enterprise Linux Server release 6.5 (Santiago)
      org.springframework.data
      spring-data-mongodb
      1.2.0.Release

    Description

      One of developer has an issue of accessing to MongoDB instance (ver 3.0.3) from one of app server. Port 27017 is opened from the app server to the mongodb intance.
      using mongo -u -p --authnticatiionDatabase I can access to the database. So it seems OK with credidencial.

      He is using Spring Data MongoDB 1.2.0
      Below is the error message

      [‎7/‎15/‎2015 3:17 PM] Pearce, Jim:
      No Title
      19:37:40.257 [tomcat-http--7] DEBUG o.s.w.s.m.s.DefaultHandlerExceptionResolver - Resolving exception from handler [public org.springframework.http.ResponseEntity<c om.visa.ip.vcpc.domain.CRGetPC<com.visa.ip.vcpc.model.PaymentControl>> com.visa.ip .vcpc.controller.VCPCController.createPaymentControl(com.visa.ip.vcpc.model.Paymen tControl,java.lang.String,java.lang.String) throws java.lang.Exception]: org.sprin gframework.data.mongodb.CannotGetMongoDbConnectionException: Failed to authenticat e to database [vcpc], username = [vcpc_dev], password = [v********!]

      Thanks,

      Attachments

        Activity

          People

            Unassigned Unassigned
            jsong@visa.com jaehee song
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: