我在jboss中添加了一个新的数据源:
<datasource jndi-name="java:/rci_cdofr/jdbc/Datasource" pool-name="CDO_V" enabled="true">
<connection-url>jdbc:oracle:thin:@iddfrvexa.grouperci.com:1574/DECO_V</connection-url>
<driver-class>oracle.jdbc.OracleDriver</driver-class>
<driver>ojdbc6.jar</driver>
<pool>
<min-pool-size>5</min-pool-size>
<max-pool-size>100</max-pool-size>
<prefill>false</prefill>
<use-strict-min>false</use-strict-min>
<flush-strategy>FailingConnectionOnly</flush-strategy>
</pool>
<security>
<user-name>iqa</user-name>
<password>iqaadmin</password>
</security>
<validation>
<check-valid-connection-sql>SELECT 1 FROM DUAL</check-valid-connection-sql>
<validate-on-match>false</validate-on-match>
<background-validation>false</background-validation>
<use-fast-fail>false</use-fast-fail>
</validation>
</datasource>
但是当我尝试在Jboss中部署应用程序时,服务器日志中出现此错误:
JBAS014775:新的缺少/不满意的依赖项: 服务jboss.naming.context.java.jboss.cdo.jndi.mail(缺少)相关项:[服务 jboss.naming.context.java.module.rci_cdofr.rci_cdoWebGWT.env.MAIL_SESSION]
service jboss.naming.context.java.jboss.rci_cdofr.jdbc.Datasource (missing)
依赖性:[服务 jboss.naming.context.java.module.rci_cdofr.rci_cdoWebGWT.env.rci_cdofr.jdbc.Datasource]
有人对此有想法吗?
谢谢!