[
https://issues.jboss.org/browse/AS7-5438?page=com.atlassian.jira.plugin.s...
]
Stefano Maestri resolved AS7-5438.
----------------------------------
Resolution: Rejected
It's already solved as part of AS7-5616.
From now on you will get
JBAS014775: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.oracle12 (missing) dependents: [service
jboss.data-source.java:jboss/datasources/Glob01DS]
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: JCA
Affects Versions: 7.1.1.Final
Environment: GNU/Linux
Reporter: Radim Pavlicek
Assignee: Stefano Maestri
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
For more information on JIRA, see:
http://www.atlassian.com/software/jira