I reload the app on the first request to make sure it's fresh, but no reinits after that.
I have a page that does a view of all of my user objects and a page that creates them. The first time I hit the view page it takes a second or two, so I know it's loading things up. Any hit after that loads almost instantly, so the objects must already be ready. I'm on Railo 3.1.0.017 on CentOS 5.3 I know there are some Railo issues, but I've managed to fix most of my issues I believe. On Jun 28, 5:36 pm, Mark Mandel <[email protected]> wrote: > Should there be anything in there? > > Are you reloading your CB app on every request? > > What platform are you on? > > Mark > > On Mon, Jun 29, 2009 at 10:33 AM, whostheJBoss > <[email protected]>wrote: > > > > > > > I'm having an issue with the cache and I can't seem to figure out what > > the problem is. > > > I'm using ColdBox / ColdSpring/ Transfer and loading Transfer as a > > ColdSpring Bean into the instance scope of one of my handlers from the > > ColdBox cache. > > > So: > > > <!-- Define Transfer to be used as a bean --> > > <bean id="Transfer" factory-bean="ColdboxOCM" factory-method="get"> > > <constructor-arg name="objectKey"><value>Transfer</value></ > > constructor-arg> > > </bean> > > > I then call instance.Transfer.get() or save(), etc inside of the > > handler and it works fine. It loads a little slowly the first time > > while creating the object, but subsequent requests load fast, so I'm > > assuming they are cached. > > > However, if I do this: > > > rc.cacheTest = instance.Transfer.getCacheMonitor().getCachedClasses(); > > > And then dump the rc.cacheTest variable it always shows up as an empty > > array. > > > instance.Transfer.getCacheMonitor().getTotalCalculatedSize() always > > shows up as 0 > > > Why is my Transfer cache not showing anything? > > -- > E: [email protected] > T:http://www.twitter.com/neurotic > W:www.compoundtheory.com --~--~---------~--~----~------------~-------~--~----~ Before posting questions to the group please read: http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer You received this message because you are subscribed to the Google Groups "transfer-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/transfer-dev?hl=en -~----------~----~----~----~------~----~------~--~---
