Further to the prob statement, here is the findings:
objTreeCache.get(fqn) does not work for the first time only. For example:
Line 1: objTreeCache.get(fqn); //this line returns a
map::::{jboss:internal:uninitialized=null}
Line 2: objTreeCache.get(fqn,"bla") ;
Line 3: objTreeCache.get(fqn);//this line returns a map with actual values from
my db (as impl into my cache loader which is not specified in "Preload")
Since I have called with an arbitrary key for the first time, it goes in
different method call/different flow of execution in jboss cache impl. Third
line (Line 3) hits cache not cache loader. So it works fine.
Is this a normal behaviour of TreeCache or I am not going in a right way?
Please suggest.
Awaiting your reply.
Thanks
Saroj
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940938#3940938
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940938
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user