When a passivated object state is activated and modified  , the modified state is not passivated again .

 

I am using passivation as false to retain the object in secondary cache but the object may get modified in memory any time .

 

Modified state of the object is not getting passivated to file system . Any idea? .Attaching  the jboss config file.

 

      <!-- Cache Loader configuration block -->

      <attribute name="CacheLoaderConfig">

         <config>

            <!-- if passivation is true, only the first cache loader is used; the rest are ignored -->

            <!--  passivation should be false to retain the data in secondary cache otherwise node will be deleted after loading to the memery -->

            <passivation>false</passivation>

            <!-- comma delimited FQNs to preload -->

            <!-- <preload>/ASOF_POSITION</preload>  -->

            <shared>false</shared>

             <!-- we can now have multiple cache loaders, which get chained -->

   

 

         <cacheloader>

               <class>org.jboss.cache.loader.FileCacheLoader</class>

               <properties>

                  location=e:/trash/jbosscache

               </properties>

               <!-- whether the cache loader writes are asynchronous -->

               <async>true</async>

               <!-- if set to true, purges the contents of this cache loader when the cache starts up.

                    Defaults to false.  -->

               <purgeOnStartup>false</purgeOnStartup>

              

               <!-- only one cache loader in the chain may set fetchPersistentState to true.

                              An exception is thrown if more than one cache loader sets this to true. -->

               <fetchPersistentState>true</fetchPersistentState>

               <!-- determines whether this cache loader ignores writes - defaults to false. -->

               <ignoreModifications>false</ignoreModifications>

            </cacheloader> 

         </config>

      </attribute>

 

Regards,

Kavitha Durai,

The Rohatyn Group,

212-984-3512.

 


This e-mail communication and any attachments may contain confidential and privileged information and are for use by the intended addressee(s) only. If you are not the intended addressee, you have received this communication in error. Any dissemination or reproduction of this email or its contents is strictly prohibited and may be unlawful. If you suspect you have received this communication in error, please notify us immediately by replying to this message and delete it from your computer.Thank you.