Uploaded image for project: 'Content Gateway'
  1. Content Gateway
  2. CGW-549

Additional Datasource in EAP Configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • DM 5.1.2, Q4FY19
    • None
    • None

      Additional datasource needs to be added to Download Manager Configuration. Also one timeout needs to be increased.

      /subsystem=datasources/data-source=JBossDownloaderDSSec:add(jndi-name="java:jboss/datasources/JBossDownloaderDSSec",connection-url="jdbc:postgresql://developer-pgsql02.db.stage.ext.phx2.redhat.com:5432/jbossdownloader?characterEncoding=UTF-8",driver-name=postgresql,user-name=downloader,password=******,valid-connection-checker-class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLValidConnectionChecker",exception-sorter-class-name="org.jboss.jca.adapters.jdbc.extensions.postgres.PostgreSQLExceptionSorter",validate-on-match=true,background-validation=false,background-validation-millis=60000,use-fast-fail=true,check-valid-connection-sql="SELECT 1",min-pool-size=10,max-pool-size=50,jta=true)
      /subsystem=infinispan/cache-container=web/distributed-cache=dist/component=locking:write-attribute(name=acquire-timeout,value=360000)
      
      

      Please, update Puppet. The production will need to have production database name of course.

              lkoranda@redhat.com Lukas Koranda (Inactive)
              dhladky@redhat.com David Hladky
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: