Title: Create a Non-XA Datasource with the Management Interfaces
Title: Create an XA Datasource with the Management Interfaces
*Describe the issue:
Jdbc driver can contain more driver classes in META-INF/services/java.sql.Driver. e.g. Mysql 5.1.31 does it. Examples in doc:
data-source add --name=DATASOURCE_NAME --jndi-name=JNDI_NAME --driver-name=DRIVER_NAME --connection-url=CONNECTION_URL
and for xa datasource
xa-data-source add --name=XA_DATASOURCE_NAME --jndi-name=JNDI_NAME --driver-name=DRIVER_NAME --xa-datasource-class=XA_DATASOURCE_CLASS
when META-INF/services/java.sql.Driver contains only one driver class then DRIVER_NAME is only jar name but if there are more classes DRIVER_NAME is in format jarName + driverClassName + "_" + majorVersion +"_" + minorVersion
in mysql case it is:
*Suggestions for improvement:
Add a note box with information above.
This applies for situation where driver is deployed and not installed as core module. I'll add details for driver installed as module later.
Please refer to https://bugzilla.redhat.com/show_bug.cgi?id=1097166 for more details
Documentation already contains information how to install driver with more classes in META-INF/services/java.sql.Driver as core module. It's in section 6.2.2. Install a JDBC Driver as a Core Module. Please update only sections related to deployed jdbc driver.
Administration and Configuration Guide Revision 6.4.0-16