1 Reply Latest reply on Mar 6, 2007 7:37 AM by Manik Surtani

    Configure EvictionPolicy on JBoss 4.0.5 Doubt

    mp mp Newbie


      I'm trying to run the clusterstore EJB3 TrailBlazer POJO Clustering and Caching demo application.

      The demo src consists the file "clusterstore-cache-service.xml" and it is having the following code snippet for configuring TreeCache eviction policy.

       <!-- Specific eviction policy configurations. This is LRU -->
       <attribute name="EvictionPolicyConfig">
       <attribute name="wakeUpIntervalSeconds">5</attribute>
       <!-- Cache wide default -->
       <region name="/_default_">
       <attribute name="maxNodes">5000</attribute>
       <attribute name="timeToLiveSeconds">1000</attribute>
       <!-- The Credit Verification query cache -->
       <region name="/CreditVerification">
       <attribute name="maxNodes">1000</attribute>
       <attribute name="timeToLiveSeconds">5000</attribute>

      After deploying the demo application in the deploy directory of one node in the cluster(only one node available in the cluster), it gives the following Warnings.
      05:58:35,385 INFO [STDOUT] purchase for username1
      05:58:35,405 INFO [STDOUT] Send mesg to ccproc
      05:58:35,408 INFO [STDOUT] The Msg ID is ID:4-11728151154051
      05:57:50,727 INFO [STDOUT] Finalized order called
      05:57:50,728 WARN [TreeCache] node /CreditVerification not found
      05:57:55,822 INFO [STDOUT] Finalized order called
      05:57:55,823 WARN [TreeCache] node /CreditVerification not found
      05:58:00,946 INFO [STDOUT] Finalized order called
      05:58:00,947 WARN [TreeCache] node /CreditVerification not found
      05:58:35,424 INFO [STDOUT] Finalized order called
      05:58:35,425 WARN [TreeCache] node /CreditVerification not found

      Whats the problem here? Is there anyother file also need to specify the "region name"?
      Please help me to solve this.

      Thanks in Advance,