QUICK LINKS

Support
Issue Tracker
[Services]
Questions
[uAchieve 4.5 Applications]
[uAchieve 5.0 Application]
[uAchieve 5.1 Application]
Transferology
TES
[Training & Conferences]
Accessibility

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

The following shows an example JBoss data source definition for an Oracle database. (NOTE: The jndi-name must be "EDAG_DARS"):

Code Block
xml
xml
titleExample JBoss Data Source Definition for Oraclexml
<datasources>
<local-tx-datasource>
   <jndi-name>EDAG_DARS</jndi-name>
   <connection-url>jdbc:oracle:thin:@localhost:1521:XE</connection-url>
   <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
   <user-name>thepassword</user-name>
   <password>theuser</password>
</local-tx-datasource>
</datasources>

...

The following shows an example JBoss data source definition for a SQL Server database using the JTDS driver. (note the jndi-name must be "EDAG_DARS"):

Code Block
xml
xml
titleExample JBoss Data Source Definition for SQL Server using the JTDS driverxml
<datasources>
<local-tx-datasource>
   <jndi-name>EDAG_DARS</jndi-name>
   <connection-url>jdbc:jtds:sqlserver://localhost/dars35</connection-url>
   <driver-class>net.sourceforge.jtds.jdbc.Driver</driver-class>
   <user-name>thepassword</user-name>
   <password>theuser</password>
</local-tx-datasource>
</datasources>

...

The following shows an example JBoss data source definition for a DB2 database. (note the jndi-name must be "EDAG_DARS"):

Code Block
xml
xml
titleExample JBoss Data Source Definition for DB2xml
<datasources>
<local-tx-datasource>
   <jndi-name>EDAG_DARS</jndi-name>
   <connection-url>jdbc:db2:yourdatabase</connection-url>
   <driver-class>COM.ibm.db2.jdbc.app.DB2Driver</driver-class>
   <user-name>thepassword</user-name>
   <password>theuser</password>
</local-tx-datasource>
</datasources>

...