The migration of a Database.properties
file to
a similar Resource Adapter can be accomplished through the execution of
the following RAConfig tool command. Refer to the JOnAS Commands Reference
Guide for a complete description of RAConfig command.
RAConfig -dm -p MySQL1 $JONAS_ROOT/rars/autoload/JOnAS_jdbcDM MySQL_dm
Generates a MySQL_dm.rar
file linked to
JOnAS_jdbcDM.rar
, the jonas-ra.xml
file inserted is created with values coming from the
ra.xml
file of the
JOnAS_jdbcDM.rar
and values from the
MySQL1.properties
file
The jonas-ra.xml
created by the previous
command can be updated further, if desired. Once the additional properties
have been configured, update the MySQL_dm.rar
file
using the following command:
RAConfig -path . MySQL_dm.rar RAConfig -u jonas-ra.xml MySQL_dm.rar