Thank you all for the feedback. Here is the Jira ticket: https://issues.apache.org/jira/browse/OFBIZ-11665 -- Thanks & Regards Pawan Verma Technical Consultant *HotWax Systems* *Enterprise open source experts* http://www.hotwaxsystems.com
On Thu, May 7, 2020 at 2:58 PM Jacques Le Roux <[email protected]> wrote: > Hi, > > I have a look at the code, it's not obvious, a Jira fits > > Jacques > > Le 07/05/2020 à 07:45, James Yong a écrit : > > Hi Pawan, > > > > +1 to the use of more specific basePath for the search > > > > Regards, > > James > > > > On 2020/05/06 11:33:15, Pawan Verma <[email protected]> > wrote: > >> Hello Devs, > >> > >> Greetings for the day, I hope you all are doing well in this pandemic > >> situation. > >> > >> I wanted to bring your attention to a case where it takes a lot of time > to > >> load the themes to the cache. > >> On checking, I found that OFBiz searches all the Theme.xml files under > >> ofbiz.home with 'themes' as a partial path written under > >> ThemeFactory.pullModelThemesFromXmlToCache(). The problem occurs mainly > >> when the runtime data is huge in the system, and it increases the time > >> since the current code also scans the Theme.xml under runtime directory. > >> > >> What should we do to resolve this issue? > >> A solution comes to mind which is to include 'themes' directory in the > >> basePath for the searching of Theme.xml file. > >> > >> Please advise and share your thoughts. > >> -- > >> Thanks & Regards > >> Pawan Verma > >> Technical Consultant > >> *HotWax Systems* > >> *Enterprise open source experts* > >> http://www.hotwaxsystems.com > >> >
