-
Bug
-
Resolution: Done
-
Major
-
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.