This section provides the steps to enable JBoss for JNDI-based database operations.
<JBOSS_HOME>/server/default/deploy
The JNDI name used by the CA components. This name must match with the AppServerConnectionPoolName.N in arcotcommon.ini (without the java:comp/env/ prefix).
The database user ID.
The database password.
The JDBC driver class name. For example, oracle.jdbc.driver.OracleDriver.
The JDBC URL for the database server. For example, if you are using Oracle driver, then URL would be: jdbc:oracle:thin:<server>:<database_port>:<sid>.
Class that implements the org.jboss.resource.adapter.jdbc.ExceptionSorter interface, which determines whether the exception indicates a connection error.
Use this parameter for Oracle database only. Set it to org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter.
<?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>
|
Copyright © 2013 CA.
All rights reserved.
|
|