Why changes in UiLabels.xml require a restart?

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

Why changes in UiLabels.xml require a restart?

eejaz.ahmed




I was expecting changes in UiLabel.xml file (found in particular application) should not require OFBiz restart. But it is not the case. I mad an experimental change in product component and refreshed OFBiz page. Changes were not updated. Then I cleared browser caches, no changes. I had to restart OFBiz application for this change to affect. Why a restart is required? Does ofbiz loads UI Labels at startup only?

Regards:

Ejaz Ahmed



         
Reply | Threaded
Open this post in threaded view
|

Re: Why changes in UiLabels.xml require a restart?

Florient
Hello Ahmed,

As far as I know, labels caches are server-side.
you can find a list of caches in 'Cache Maintenance' on the web tools
main page.
The one you are looking for is starting by 'properties.'

Regards,
Florient.

Le 22/12/2014 14:47, Ejaz Ahmed a écrit :

>
>
>
> I was expecting changes in UiLabel.xml file (found in particular application) should not require OFBiz restart. But it is not the case. I mad an experimental change in product component and refreshed OFBiz page. Changes were not updated. Then I cleared browser caches, no changes. I had to restart OFBiz application for this change to affect. Why a restart is required? Does ofbiz loads UI Labels at startup only?
>
> Regards:
>
> Ejaz Ahmed
>
>
>
>        
>
Reply | Threaded
Open this post in threaded view
|

Re: Why changes in UiLabels.xml require a restart?

Nick Rosser-2
In reply to this post by eejaz.ahmed
You have to clear OFBiz cache.

 From webtools -> cache maintenance. The specific store for labels is
properties.UtilPropertiesBundleCache

Nick

On 12/22/2014 8:47 AM, Ejaz Ahmed wrote:

>
>
>
> I was expecting changes in UiLabel.xml file (found in particular application) should not require OFBiz restart. But it is not the case. I mad an experimental change in product component and refreshed OFBiz page. Changes were not updated. Then I cleared browser caches, no changes. I had to restart OFBiz application for this change to affect. Why a restart is required? Does ofbiz loads UI Labels at startup only?
>
> Regards:
>
> Ejaz Ahmed
>
>
>
>