Generates a JOnAS-specific resource-adapter configuration file.
The RAConfig utility generates a JOnAS-specific resource-adapter configuration file (jonas-ra.xml) from an ra.xml file (Resource adapter deployment descriptor).
The InputFileName is the file name of a resource adapter.
The OutputFileName is the file name of an output resource adapter used with the -p (required) or -u (optional).
Gives a summary of the options.
Specifies the rarlink value to configure; used with the -p option.
It is a mandatory option. It specifies the JNDI name of the connection factory. This name corresponds to the name of the <jndi-name> element of the <jonas-resource> element in the JOnAS-specific deployment descriptor. This name is used by the resource service for registering in JNDI the connection factory corresponding to this resource adapter.
Specifies the name of the database.properties file to process. The result of this processing will be a jonas-ra.xml file that will update the /META-INF/jonas-ra.xml file in the output RAR.
Specifies the JNDI name of the RAR file with which to link. This option can be used when this RAR file will inherit all attributes associated with the specified JNDI name. If this option is specified in the jonas-ra.xml file, it is the only file needed in the RAR, and the ra.xml file will be processed from the rarlink file.
Specifies the name of the XML file to process. This file will update the /META-INF/jonas-ra.xml file in the RAR. If this argument is used, it is the only argument executed.
Verbose mode. Displays the deployment descriptor of the resource adapter on standard System.out.
Generates the jonas-ra.xml file from the ra.xml file.
After jonas-ra.xml has been configured for the MyRA.rar file,
RAConfig -u jonas-ra.xml MyRA.rar |
Updates/inserts the jonas-ra.xml file into the RAR file.
Generates the jonas-ra.xml file from the ra.xml file of the JOnAS_jdbcDM.rar and inserts the corresponding values from the MySQL1.properties file. The jonas-ra.xml file is then added/updated to the MySQL_dm.rar file. This RAR file can then be deployed and will replace the configured MySQL1 datasource.