datasource - Wildfly xa transaction warning "No security domain defined for crash recovery" -


i have wildfly server 8 , in log periodicaly 2 warnings :

2014-06-10 12:01:19,255 warn  [org.jboss.jca.core.tx.jbossts.xaresourcerecoveryimpl] (periodic recovery) ij000904: no security domain defined crash recovery: java:jboss/datasources/sevicesds 2014-06-10 12:01:19,256 warn  [org.jboss.jca.core.tx.jbossts.xaresourcerecoveryimpl] (periodic recovery) ij000905: subject crash recovery null: java:jboss/datasources/sevicesds 

my datasource config:

 <xa-datasource jndi-name="java:jboss/datasources/sevicesds" pool-name="sevicesds" enabled="true" use-java-context="true">                     <xa-datasource-property name="url">                         jdbc:mysql://my.server.local:3306/four_pm__services?useunicode=true&amp;characterencoding=utf-8                     </xa-datasource-property>                     <driver>mysql</driver>                     <transaction-isolation>transaction_read_committed</transaction-isolation>                     <xa-pool>                         <min-pool-size>1</min-pool-size>                         <max-pool-size>10</max-pool-size>                         <prefill>true</prefill>                     </xa-pool>                     <security>                         <user-name>username</user-name>                     </security>                     <statement>                         <prepared-statement-cache-size>10</prepared-statement-cache-size>                         <share-prepared-statements>true</share-prepared-statements>                     </statement>                 </xa-datasource> 

i've checked , bug in narayana. i've raised jira that. can check here: https://issues.jboss.org/browse/jbtm-2190

unfortunately warning means recovery not run against xa datasource. workaround define password connection despite wouldn't need connecting db. , add in security tag.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -