Hi All,

I hade the same problem. The problem was in the org.jboss.cache.PropertyConfigurator 
class.

If you look the getSubElementObject function, you will see a mistake in the 
conditional test.

Indeed, the equality test between two String should never be with "=" sign but with 
the equals method.

this is the line : 

 if(node.getNodeType() == Node.ELEMENT_NODE &&
  |                  ((Element)node).getTagName() == SUB_ATTR) {
  |             return (Element)node;
  |   }


Also, if you replace with this, that's work.

 if(node.getNodeType() == Node.ELEMENT_NODE &&  SUB_ATTR.equals( 
((Element)node).getTagName())  ) {
  |             return (Element)node;
  |          }

With this fix, TreeCache starts correctly in standalone and application server mode.

Regards,

Jerome.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845439#3845439

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845439


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to