Uploaded image for project: 'JBoss Web Server'
  1. JBoss Web Server
  2. JWS-1383

Included Mongo Driver in JWS container image will auto-start if Spring auto-configure is enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • cloud 1.4-6.1550575927 GA
    • cloud
    • Hide

      How reproducible:
      Always

      Steps to Reproduce:
      1. Create a Spring auto-configured application
      2. Deploy in JWS Tomcat application
      3. Examine logs

      Actual results:
      Error detailed in the KBase article is thrown in server logs

      Expected results:
      No errors as their applications do not use Mongo

      Show
      How reproducible: Always Steps to Reproduce: 1. Create a Spring auto-configured application 2. Deploy in JWS Tomcat application 3. Examine logs Actual results: Error detailed in the KBase article is thrown in server logs Expected results: No errors as their applications do not use Mongo

      As described in https://access.redhat.com/solutions/3231401 , a Spring application that is set to auto configure will pick up the Mongo drivers that we ship in JWS. This is causing alerting errors in the customer's NOC when their applications start.

      Suggestion would be to remove the mongo drivers from the base JWS OpenShift image and include them in any child image that requires Mongo

            szappis@redhat.com Sokratis Zappis
            egetchel@redhat.com Eric Getchell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: