Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-1961

Implement a connection timeout for JDBC. If it does not resolve in a timely, log a warn exception and stop

    XMLWordPrintable

Details

    • Story
    • Resolution: Unresolved
    • Minor
    • None
    • AMQ 7.2.0.GA, AMQ 7.2.1.GA
    • jdbc
    • None
    • Documentation (Ref Guide, User Guide, etc.), Release Notes
    • Not Yet Documented

    Description

      When JDBC connection is defined, it takes too long to start broker (from secs to minutes).
      Similar issue was in AMQ6, but with starting the broker itself w/o JDBC.

      To workaround this, one should use service rngd, which generates enough random numbers and results in a very quick connection to DB (via JDBC).

      yum install rng-tools
      systemctl start rngd
      

      Start broker now.

      Attachments

        Activity

          People

            rh-ee-ataylor Andy Taylor
            mtoth@redhat.com Michal Toth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: