Jboss6 New missing/unsatisfied dependencies:jboss.jdbc-driver.ingres(missing)dependents:
2017-05-17 02:11:32,142 INFO [] [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
JBAS014775: New missing/unsatisfied dependencies:
service jboss.jdbc-driver.ingres (missing) dependents: [service jboss.driver-demander.java:/xxx/jdbc/vector/VWCISDB, service jboss.data-source.java:/xxx/jdbc/vector/VWCISDB, service jboss.data-source.java:/xxx/jdbc/vector/VWGBLDB, service jboss.driver-demander.java:/xxx/jdbc/vector/VWGBLDB]
或者中文版本:
09:56:15,824 INFO [org.jboss.as.controller] JBAS014774: 服务状态报告
JBAS014775: 新的缺失的/未满足的依赖关系:
service jboss.jdbc-driver.mysql (缺失的)依赖关系: [service jboss.driver-demander.java:/xxx/jdbc/mysql/MYSQL_GBL, service jboss.data-source.java:/xxx/jdbc/lolDB, service jboss.driver-demander.java:/xxx/jdbc/lolDB, service jboss.data-source.java:/xxx/jdbc/mysql/MYSQL_GBL]
问题是在standalone-full.xml或者domain.xml中缺少如下配置:
<drivers>
<driver name="mysql" module="snx-lib.com.mysql">
<xa-datasource-class>com.mysql.jdbc.jdbc2.optional.MysqlXADataSource</xa-datasource-class>
</driver>
</drivers>