2016年1月25日 星期一

Jboss spring @service Exception

use spring @service on jboss will make jboss AS 6.0 exception
its like jboss identifies @service is repository need to connect DB,
so give it a dyummy JNDI can fix it.






  1. <?xml version="1.0"?>  
  2.   
  3. <!DOCTYPE jboss-web PUBLIC  
  4.         "-//JBoss//DTD Web Application 5.0//EN"  
  5.         "http://www.jboss.org/j2ee/dtd/jboss-web_5_0.dtd">  
  6.   
  7.   
  8. <jboss-web>  
  9.   
  10.    <resource-env-ref>  
  11.        <resource-env-ref-name>applicationParameterManager</resource-env-ref-name>
  12.        <resource-env-ref-type>class<resource-env-ref-type>  
  13.        <jndi-name>dummyJNDIName</jndi-name>   
  14.    </resource-env-ref>  
  15.   
  16. </jboss-web>  

Extjs 5.1.0 treepanel and store reload bug

Extjs 5.1.0 treepanel and store reload bug
https://fiddle.sencha.com/?fiddle=132d#fiddle/132d
sencha reply :
set rootVisable:true is a solution too,