Hello Mohammad Kathawala, We have the same problem since yesterday as well. We also found that the name space https://ofbiz.apache.org/dtds/entity-config.xsd was responding oddly randomly.
Regards, Pierre Le 19/07/2021 à 10:01, Mohammad Kathawala a écrit : > Hello All, > > We are again getting this build failure issue suddenly from yesterday in > our project. It was working fine before that. We are using release 17.12. > Do we have any permanent fix for this? > As per the patch on this ticket > https://issues.apache.org/jira/browse/OFBIZ-10590 if I update every > *noNamespaceSchemaLocation* with *https *then it works fine. > My question is if we have changed the redirect rule condition in the past, > why is this issue suddenly occurring again? Is there a change in the > resource location recently? > > Any help would be appreciated. > > Kind Regards, > Mohammad Kathawala > Senior Technical Consultant > *HotWax Systems* > *Enterprise open source experts* > cell: +91-7772858789 > office: 0731-409-3684 > http://www.hotwaxsystems.com > > > On Tue, Oct 2, 2018 at 1:48 AM Deepak Dixit <deepak.di...@hotwax.co> wrote: > >> I am sure that this is due to the changes done in the ofbiz website, After >> updating the redirect rule condition it's fixed. >> http to https redirect affect all the older version as well, all the ofbiz >> versions usinging http://ofbiz.apache.org/dtds/* as a namespace. >> >> Thanks Benjamin Jugl and Pierre Smits for your suggestion :) >> >> Thanks & Regards >> -- >> Deepak Dixit >> >> >> On Tue, Oct 2, 2018 at 12:56 AM, Taher Alkhateeb < >> slidingfilame...@gmail.com >>> wrote: >>> I have a feeling this has nothing to do with this commit, I have an >>> older working copy that is also crashing. >>> >>> This could mean that the problem is somewhere in the gradle >>> dependencies, something corrupted or wrong in JCenter perhaps? >>> On Mon, Oct 1, 2018 at 4:42 PM Deepak Dixit <deepak.di...@hotwax.co> >>> wrote: >>>> This should be fixed at r#1842499 >>>> >>>> Here is the ticket for further work as mentioned by Michale. >>>> https://issues.apache.org/jira/browse/OFBIZ-10590 >>>> >>>> Thanks & Regards >>>> -- >>>> Deepak Dixit >>>> >>>> >>>> On Mon, Oct 1, 2018 at 5:59 PM, Pierre Smits <pierresm...@apache.org> >>> wrote: >>>>> Upgrading the references in the code base to >>>>> https://ofbiz.apache.org/dtds/entity-config.xsd should do the trick, >>>>> correct? >>>>> >>>>> Best regards, >>>>> >>>>> Pierre Smits >>>>> >>>>> *Apache Trafodion <https://trafodion.apache.org>, Vice President* >>>>> *Apache Directory <https://directory.apache.org>, PMC Member* >>>>> Apache Incubator <https://incubator.apache.org>, committer >>>>> *Apache OFBiz <https://ofbiz.apache.org>, contributor (without >>> privileges) >>>>> since 2008* >>>>> Apache Steve <https://steve.apache.org>, committer >>>>> >>>>> >>>>> On Mon, Oct 1, 2018 at 1:42 PM Deepak Dixit <deepak.di...@hotwax.co> >>>>> wrote: >>>>> >>>>>> I think its due to changes done at r#1842437 >>>>>> >>>>>> While build using debug mode found following warning >>>>>> ==================== >>>>>> >>>>>> 17:04:57.839 [DEBUG] [TestEventLogger] 2018-10-01 17:04:57,839 >>> |Test >>>>>> worker |UtilXml |W| >>>>>> [UtilXml.LocalResolver.resolveEntity] could not find LOCAL >>> DTD/Schema >>>>> with >>>>>> publicId [null] and the file/resource is [entity-config.xsd] >>>>>> ==================== >>>>>> >>>>>> UtilXml fails to read the entity-config.xsd file as >> entityengine.xml >>>>> using >>>>>> the following URL >>>>>> >>>>>> http://ofbiz.apache.org/dtds/entity-config.xsd >>>>>> >>>>>> >>>>>> I think we need to update the noNamespaceSchemaLocation or exclude >>> the >>>>>> dtds folder in redirect rule. >>>>>> Exclusion looks good to me in this case. >>>>>> >>>>>> any other opinion? >>>>>> >>>>>> >>>>>> Thanks & Regards >>>>>> -- >>>>>> Deepak Dixit >>>>>> >>>>>> >>>>>> On Mon, Oct 1, 2018 at 4:56 PM, Pritam Kute < >>>>> pritam.k...@hotwaxsystems.com >>>>>> wrote: >>>>>> >>>>>>> Same here. About to write an email. :) >>>>>>> >>>>>>> Thanks and Regards >>>>>>> -- >>>>>>> Pritam Kute >>>>>>> >>>>>>> On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana < >>>>>>> suraj.khur...@hotwaxsystems.com> wrote: >>>>>>> >>>>>>>> Hello team, >>>>>>>> >>>>>>>> I am getting this exception after re-starting OFBiz server. I >>> used >>>>>>>> ./gradlew cleanAll ofbiz and got this exception: >>>>>>>> >>>>>>>> =============================== >>>>>>>> >>>>>>>> :test >>>>>>>> >>>>>>>> org.apache.ofbiz.entity.util.EntitySaxReaderTests > parse >> FAILED >>>>>>>> java.lang.IllegalStateException at >>> EntitySaxReaderTests.java:82 >>>>>>>> org.apache.ofbiz.entity.DelegatorUnitTests > >>>>>>>> delegatorCreationUsingConstructorFailsIfConfigurationIsMissing >>>>> FAILED >>>>>>>> java.lang.AssertionError >>>>>>>> >>>>>>>> org.apache.ofbiz.entity.DelegatorUnitTests > >>>>>>>> delegatorCreationUsingFactoryGetDelegator FAILED >>>>>>>> java.lang.AssertionError at DelegatorUnitTests.java:87 >>>>>>>> >>>>>>>> org.apache.ofbiz.entity.DelegatorUnitTests > >>>>>>>> delegatorCreationUsingFactoryGetInstance FAILED >>>>>>>> java.lang.AssertionError at DelegatorUnitTests.java:75 >>>>>>>> >>>>>>>> org.apache.ofbiz.entity.DelegatorUnitTests > >>>>>>>> delegatorCreationUsingConstructor FAILED >>>>>>>> org.apache.ofbiz.entity.GenericEntityConfException at >>>>>>>> DelegatorUnitTests.java:63 >>>>>>>> >>>>>>>> 29 tests completed, 5 failed >>>>>>>> :test FAILED >>>>>>>> >>>>>>>> FAILURE: Build failed with an exception. >>>>>>>> >>>>>>>> =============================== >>>>>>>> >>>>>>>> Is anyone else facing similar issue ? >>>>>>>> >>>>>>>> -- >>>>>>>> Best Regards, >>>>>>>> Suraj Khurana >>>>>>>> Omnichannel OMS Technical Expert >>>>>>>> HotWax Systems >>>>>>>>