Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Acceder a /raiz/wildfly/config.
  2. Agregar el datasources correspondiente al ORACLE en el wildfly 16.0.0. en el archivo /raiz/wildfly/config/standalone.xml.
    1. Copiar el siguiente fragmento de codigo en el archivo standalone.xml

      Info

      <datasource jta="true" jndi-name="java:/jdbc/sicoop" pool-name="sicoop" enabled="true" use-ccm="false">
      <connection-url>jdbc:oracle:thin:@x@10.x5.x3.x13:xxxx1521:sicoop</connection-url>
      <driver>oracle</driver>
      <pool>
      <min-pool-size>20</min-pool-size>
      <max-pool-size>100</max-pool-size>
      <use-strict-min>false</use-strict-min>
      <flush-strategy>FailingConnectionOnly</flush-strategy>
      </pool>
      <security>
      <user-name>DIMO_SICOOP</user-name>
      <password>dimo</password>
      </security>
      <validation>
      <check-valid-connection-sql>select * from dual</check-valid-connection-sql>
      <validate-on-match>false</validate-on-match>
      <background-validation>false</background-validation>
      <use-fast-fail>false</use-fast-fail>
      <exception-sorter class-name="org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter" />
      </validation>
      <timeout>
      <set-tx-query-timeout>true</set-tx-query-timeout>
      <blocking-timeout-millis>5000</blocking-timeout-millis>
      <idle-timeout-minutes>5</idle-timeout-minutes>
      </timeout>
      <statement>
      <track-statements>false</track-statements>
      <prepared-statement-cache-size>0</prepared-statement-cache-size>
      </statement>
      </datasource>

  3. Agregar la configuración del driver correspondiente en el archivo de configuración standalone.xml
    1. Copiar el siguiente fragmento de codigo en el archivo standalone.xml

      Info

      <driver name="oracle" module="com.oracle">
      <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
      </driver>

    2. Copiar los siguientes archivos en la carpeta /raiz/wildfly/modules/system/layers/base/com/oracle/main, en caso de que no exista dicho path, generarla.

      Libreria-oracle.rar


...