Radim Pavlicek created AS7-5438:
-----------------------------------
Summary: standalone.xml: check if driver name datasource references existing
driver in drivers is missing
Key: AS7-5438
URL:
https://issues.jboss.org/browse/AS7-5438
Project: Application Server 7
Issue Type: Bug
Components: Server
Affects Versions: 7.1.1.Final
Environment: GNU/Linux
Reporter: Radim Pavlicek
Assignee: Jason Greene
standalone.xml:
<drivers>
<driver name="h2"
module="com.h2database.h2">
<xa-datasource-class>org.h2.jdbcx.JdbcDataSource</xa-datasource-class>
</driver>
<driver name="oracle"
module="com.oracle.ojdbc6">
<xa-datasource-class>oracle.jdbc.OracleDriver</xa-datasource-class>
</driver>
</drivers>
and in datasource tag:
<datasource jta="true" jndi-name="java:jboss/datasources/Glob01DS"
pool-name="Glob01DS" enabled="true" use-java-context="true"
use-ccm="true">
<connection-url>jdbc:oracle:thin:....cut</connection-url>
<driver>oracle12</driver>
wont produce any exception even if I am referencing driver which doesn't exist!
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira