Facing problem with Cache behavior

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Facing problem with Cache behavior

Ravindra Mandre-2
Hi all ,

I have a screen on which almost 200 products are shown and to get details
of these products I used Cache true in most of the queries. But facing
problem with its behavior , if do clear cache then description , product
name , internal name all shows correct for listed products but after some
time say 1 or 2 days later , products starts showing some other products
name , internal name and description. sometimes the primary product
category description also gets messed up.
so currently doing the clear cache frequently.
Need some suggestion or solution for this problem if anyone faced in past .
Or I am missing something in cache settings.



Regards
Ravindra Mandre
Bangalore
Reply | Threaded
Open this post in threaded view
|

Re: Facing problem with Cache behavior

Deepak Agarwal-2
Have you modified framework/base/config/cache.properties , if not have a
look at it.

On Thu, May 17, 2012 at 2:21 PM, Ravindra Mandre <[hidden email]>wrote:

> Hi all ,
>
> I have a screen on which almost 200 products are shown and to get details
> of these products I used Cache true in most of the queries. But facing
> problem with its behavior , if do clear cache then description , product
> name , internal name all shows correct for listed products but after some
> time say 1 or 2 days later , products starts showing some other products
> name , internal name and description. sometimes the primary product
> category description also gets messed up.
> so currently doing the clear cache frequently.
> Need some suggestion or solution for this problem if anyone faced in past .
> Or I am missing something in cache settings.
>
>
>
> Regards
> Ravindra Mandre
> Bangalore
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: [hidden email]
> Mobile: +91 9910322604
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Facing problem with Cache behavior

devalpatel
Hi Deepak,

Where will i get the recommended production setup for cache.properties file in ofBiz ?

Means which properties needs to be commented out, and the values for other props ?? or can i use the default setup of cache.properties in production environment ?

Regards,

Deval
Reply | Threaded
Open this post in threaded view
|

Re: Facing problem with Cache behavior

Deepak Agarwal-2
https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide

On Thu, May 17, 2012 at 4:26 PM, devalpatel <[hidden email]> wrote:

> Hi Deepak,
>
> Where will i get the recommended production setup for cache.properties file
> in ofBiz ?
>
> Means which properties needs to be commented out, and the values for other
> props ?? or can i use the default setup of cache.properties in production
> environment ?
>
> Regards,
>
> Deval
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Facing-problem-with-Cache-behavior-tp4631873p4631877.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
> --
> Thanks,
> Deepak Agarwal,
>
> Paxcel Technologies Pvt Ltd.
> Hartron Complex, Sector 18, Gurgaon, India.
> E-Mail: [hidden email]
> Mobile: +91 9910322604
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Facing problem with Cache behavior

Ravindra Mandre-2
In reply to this post by Deepak Agarwal-2
Hi Deepak,

Thanks for you reply.
I have done general cache setting  for all options like widget , menu,
screen, groovy  etc . all have expire time is 10 seconds.

After doing all , facing this problem.


Regards
Ravindra Mandre
Bangalore



On Thu, May 17, 2012 at 3:12 PM, Deepak Agarwal <[hidden email]>wrote:

> Have you modified framework/base/config/cache.properties , if not have a
> look at it.
>
> On Thu, May 17, 2012 at 2:21 PM, Ravindra Mandre <[hidden email]
> >wrote:
>
> > Hi all ,
> >
> > I have a screen on which almost 200 products are shown and to get details
> > of these products I used Cache true in most of the queries. But facing
> > problem with its behavior , if do clear cache then description , product
> > name , internal name all shows correct for listed products but after some
> > time say 1 or 2 days later , products starts showing some other products
> > name , internal name and description. sometimes the primary product
> > category description also gets messed up.
> > so currently doing the clear cache frequently.
> > Need some suggestion or solution for this problem if anyone faced in
> past .
> > Or I am missing something in cache settings.
> >
> >
> >
> > Regards
> > Ravindra Mandre
> > Bangalore
> >
> > --
> > Thanks,
> > Deepak Agarwal,
> >
> > Paxcel Technologies Pvt Ltd.
> > Hartron Complex, Sector 18, Gurgaon, India.
> > E-Mail: [hidden email]
> > Mobile: +91 9910322604
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Facing problem with Cache behavior

Mike Z
In reply to this post by devalpatel
This is a great question.  I believe that by default the cache settings are
"developer friendly", but I haven't yet seen recommendations for
 "production friendly" e-commerce settings.


On Thu, May 17, 2012 at 3:56 AM, devalpatel <[hidden email]> wrote:

> Hi Deepak,
>
> Where will i get the recommended production setup for cache.properties file
> in ofBiz ?
>
> Means which properties needs to be commented out, and the values for other
> props ?? or can i use the default setup of cache.properties in production
> environment ?
>
> Regards,
>
> Deval
>
> --
> View this message in context:
> http://ofbiz.135035.n4.nabble.com/Facing-problem-with-Cache-behavior-tp4631873p4631877.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: Facing problem with Cache behavior

Jacques Le Roux
Administrator
Are you both kidding?

https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-CacheSettings

Jacques


From: "Mike" <[hidden email]>

> This is a great question.  I believe that by default the cache settings are
> "developer friendly", but I haven't yet seen recommendations for
> "production friendly" e-commerce settings.
>
>
> On Thu, May 17, 2012 at 3:56 AM, devalpatel <[hidden email]> wrote:
>
>> Hi Deepak,
>>
>> Where will i get the recommended production setup for cache.properties file
>> in ofBiz ?
>>
>> Means which properties needs to be commented out, and the values for other
>> props ?? or can i use the default setup of cache.properties in production
>> environment ?
>>
>> Regards,
>>
>> Deval
>>
>> --
>> View this message in context:
>> http://ofbiz.135035.n4.nabble.com/Facing-problem-with-Cache-behavior-tp4631873p4631877.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Facing problem with Cache behavior

Ravindra Mandre-2
Hi Jacques ,

I am not kidding , facing this problem from last 2  months.
Suggested settings are done for production. looks like need to debug more :)




On Thu, May 17, 2012 at 10:45 PM, Jacques Le Roux <
[hidden email]> wrote:

> Are you both kidding?
>
> https://cwiki.apache.org/**confluence/display/OFBTECH/**
> Apache+OFBiz+Technical+**Production+Setup+Guide#**
> ApacheOFBizTechnicalProduction**SetupGuide-CacheSettings<https://cwiki.apache.org/confluence/display/OFBTECH/Apache+OFBiz+Technical+Production+Setup+Guide#ApacheOFBizTechnicalProductionSetupGuide-CacheSettings>
>
> Jacques
>
>
> From: "Mike" <[hidden email]>
>
>  This is a great question.  I believe that by default the cache settings
>> are
>> "developer friendly", but I haven't yet seen recommendations for
>> "production friendly" e-commerce settings.
>>
>>
>> On Thu, May 17, 2012 at 3:56 AM, devalpatel <[hidden email]>
>> wrote:
>>
>>  Hi Deepak,
>>>
>>> Where will i get the recommended production setup for cache.properties
>>> file
>>> in ofBiz ?
>>>
>>> Means which properties needs to be commented out, and the values for
>>> other
>>> props ?? or can i use the default setup of cache.properties in production
>>> environment ?
>>>
>>> Regards,
>>>
>>> Deval
>>>
>>> --
>>> View this message in context:
>>> http://ofbiz.135035.n4.nabble.**com/Facing-problem-with-Cache-**
>>> behavior-tp4631873p4631877.**html<http://ofbiz.135035.n4.nabble.com/Facing-problem-with-Cache-behavior-tp4631873p4631877.html>
>>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>>
>>


--
Regards
Ravindra Mandre
Bangalore