Previous Topic: Oracle WebLogicNext Topic: Enabling LDAP Connection Pooling


JBoss Application Server

This section walks you through the steps to enable JBoss Application Server for JNDI-based database operations. To create a data source for RiskMinder in JBoss Application Server:

  1. Navigate to the location where you have deployed the WAR files, for example:
    <JBOSS_HOME>\server\default\deploy\
    
  2. Create a data source descriptor file called arcotdatabase-ds.xml.
  3. Collect the following information required to define a data source in the arcotdatabase-ds.xml file:
  4. Open the arcotdatabase-ds.xml in a text editor.
  5. Add the following content:
    <?xml version="1.0" encoding="UTF-8"?>
    <datasources>
    <local-tx-datasource>
    <jndi-name>SampleDS</jndi-name>
    <connection-url><jdbcurl></connection-url>
    <driver-class><JDBC Driver class></driver-class>
    <user-name><database_userid></user-name>
    <password><database_password></password>
    <exception-sorter-class-name><Exception Sorter Class></exception-sorter-class-name>
    </local-tx-datasource>
    </datasources>
    
  6. Save and close the file.