j'ai paramétré un datasource dans jboss 5 pour mapper une base avec hibernate suivant le wiki de jboss avec mssql-ds.xml mais aucun effet, jboss demarre mais ne lit pas le fichier !
dans le fichier :
deployers/jboss-jca.deployer/META-INF/jca-deployers-jboss-beans.xml
cette partie été en commentaire
<bean name="ConnectionFactoryDeployer" class="org.jboss.system.deployers.ServiceXSLDeployer">
<property name="suffix">-ds.xml</property>
<property name="XSLPath">stylesheets/ConnectionFactoryTemplate.xsl</property>
</bean>
j'ai enlevé les commentaires et jboss arrive à lire le fichier datasource mais voila il me sort cette erreur :
java.lang.RuntimeException: No Attribute found with name: BackGroundValidation for jboss.jca:service=ManagedConnectionPool,name=MSSQLDS, attributes: [BlockingTimeoutMillis, PreFill, State, AvailableConnectionCount, ManagedConnectionFactoryName, UseFastFail, StrictMin, Criteria, ConnectionCount, StatisticsFormatter, ManagedConnectionPool, PoolJndiName, NoTxSeparatePools, MinSize, MaxConnectionsInUseCount, MaxSize, StateString, BackGroundValidationMillis, InUseConnectionCount, ConnectionCreatedCount, Name, IdleTimeoutMinutes, ConnectionDestroyedCount]
j'ai ajouté un attribut <background-validation> dans mssql-ds.xml mais rien a faire !!
est-ce que vous avez une idée ?
Partager