Looks like you're missing the "<parameters>" tag around your
"<parameter>" tags.

-- Jason

On Feb 14, 10:02 am, Derrick Jackson <[email protected]>
wrote:
> Folks,
>
> I am attempting to use multiple caching strategies in an application with
> the following setup:
>
>    - MachII 1.8.1 production
>    - OpenBD 1.4
>
> I have successfully used multiple strategies before but in this instance I
> am getting a run time error:  *
> *
>
>    - Cache strategy with name 'officeDataCache' is not defined.
>    - Available cache strategies: 'Default'
>
> Here is my MachII information:
>
> <event-handler event="EventName" access="public">
> <cache strategyName="officeDataCache">
> <event-arg name="pageTitle" value="My Furniture" />
> </cache>
> ...(other event items)
> </event-handler>
>
> <property name="Caching" type="MachII.caching.CachingProperty">
> <parameter name="defaultCacheName" value="default" />
> <parameter name="officeDataCache">
> <struct>
> <key name="type" value="MachII.caching.strategies.TimeSpanCache" />
> <key name="scope" value="application" />
> <key name="timespan" value="0,1,0,0" />
> <key name="cleanupIntervalInMinutes" value="3" />
> </struct>
> </parameter>
> <parameter name="default">
> <struct>
> <key name="type" value="MachII.caching.strategies.TimeSpanCache" />
> <key name="scope" value="application" />
> <key name="timespan" value="30,0,0,0" />
> <key name="cleanupIntervalInMinutes" value="3" />
> </struct>
> </parameter>
> </property>
>
> Nothing is jumping out at me as to why my strategy is not being recognized.
> Do any of you see anything strange with this?

-- 
Come see Team Mach-II at OpenCFSummit - Feb 21-23, Dallas, TX - 
http://www.opencfsummit.org/

To post to this group, send email to [email protected]
For more options and to unsubscribe, visit this group at 
http://groups.google.com/group/mach-ii-for-coldfusion?hl=en

SVN: http://svn.mach-ii.com/machii/
Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/

Reply via email to