Author:
In order to upgrade your database configuration files from version 2.0 FINAL you have to do the following.
jboss.properties: Driver listing from this file is ignored and you have to move it to jboss.jcml. For example, Orace driver inclusion is shown in Figure 3.5.
jboss.conf: This information is no longer needed.
jboss.jcml: Find the entry
<mbean code="org.jboss.jdbc.XADataSourceLoader" name="DefaultDomain:service=XADataSource,name=DefaultDS"> ... </mbean>Either you want to change the default Datasource, then change the contents of this entry directly, or you want to add a new datasource. For the second case create a copy of the whole entry after the already existing one. Now change the two occurences of the “DefaultDS” string (in “name=...” and attribute “PoolName”) to the name you want to specify for your new datasource. Also adjust at least the following entries according to your configuration and to the data given in the example:
<attribute name="URL">jdbc:url/with/your/database/name/like/in/example</attribute> <attribute name="JDBCUser">DatabaseUserNameHere</attribute> <attribute name="Password">DatabasePasswordHere</attribute>
Note that driver installation instructions are in the section called “Installing JDBC Drivers”