You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Suraj Khurana <su...@hotwaxsystems.com> on 2018/10/01 11:12:27 UTC
Build failed
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
Re: Build failed
Posted by Taher Alkhateeb <sl...@gmail.com>.
Ahhh I see the tests were dependant on the remote dtds. Weird design
On Mon, Oct 1, 2018, 11:18 PM Deepak Dixit <de...@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 <
> slidingfilaments@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 <de...@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 <pi...@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 <de...@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.kute@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.khurana@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
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
>
Re: Build failed
Posted by Pierre Gaudin <pi...@cheznous.bzh>.
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 <de...@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 <
>> slidingfilaments@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 <de...@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 <pi...@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 <de...@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.kute@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.khurana@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
>>>>>>>>
Re: Build failed
Posted by Mohammad Kathawala <mo...@hotwaxsystems.com>.
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 <de...@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 <
> slidingfilaments@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 <de...@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 <pi...@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 <de...@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.kute@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.khurana@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
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
>
Re: Build failed
Posted by Deepak Dixit <de...@hotwax.co>.
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 <slidingfilaments@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 <de...@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 <pi...@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 <de...@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.kute@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.khurana@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
> > > > > >
> > > > >
> > > >
> > >
>
Re: Build failed
Posted by Taher Alkhateeb <sl...@gmail.com>.
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 <de...@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 <pi...@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 <de...@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.kute@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.khurana@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
> > > > >
> > > >
> > >
> >
Re: Build failed
Posted by Deepak Dixit <de...@hotwax.co>.
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 <pi...@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 <de...@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.kute@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.khurana@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
> > > >
> > >
> >
>
Re: Build failed
Posted by Pierre Smits <pi...@apache.org>.
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 <de...@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.kute@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.khurana@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
> > >
> >
>
Re: Build failed
Posted by Michael Brohl <mi...@ecomify.de>.
Yes, you are right, Deepak.
Renaming only works for coming releases. So wee need exceptional
conditions for the https redirect. Better file a Jira and collect what
we have to serve on the http port, there might be other resources as
well (no time to check now).
Thanks,
Michael
Am 01.10.18 um 13:55 schrieb Deepak Dixit:
> +1
> Thanks, Michale, We can do for newer releases/trunk.
> But for older releases, we need to have backward compatibility as well.
>
> Thanks & Regards
> --
> Deepak Dixit
>
>
> On Mon, Oct 1, 2018 at 5:23 PM, Michael Brohl <mi...@ecomify.de>
> wrote:
>
>> I think we should consequently rename the schema location and any other
>> resources depending on the official website to the https address.
>>
>> Regards,
>>
>> Michael
>>
>>
>> Am 01.10.18 um 13:41 schrieb Deepak Dixit:
>>
>> 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.kute@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.khurana@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
>>>>>
>>>>>
>>
Re: Build failed
Posted by Deepak Dixit <de...@hotwax.co>.
+1
Thanks, Michale, We can do for newer releases/trunk.
But for older releases, we need to have backward compatibility as well.
Thanks & Regards
--
Deepak Dixit
On Mon, Oct 1, 2018 at 5:23 PM, Michael Brohl <mi...@ecomify.de>
wrote:
> I think we should consequently rename the schema location and any other
> resources depending on the official website to the https address.
>
> Regards,
>
> Michael
>
>
> Am 01.10.18 um 13:41 schrieb Deepak Dixit:
>
> 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.kute@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.khurana@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
>>>>
>>>>
>
>
Re: Build failed
Posted by Michael Brohl <mi...@ecomify.de>.
I think we should consequently rename the schema location and any other
resources depending on the official website to the https address.
Regards,
Michael
Am 01.10.18 um 13:41 schrieb Deepak Dixit:
> 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 <pr...@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.khurana@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
>>>
Re: Build failed
Posted by Deepak Dixit <de...@hotwax.co>.
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 <pr...@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.khurana@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
> >
>
Re: Build failed
Posted by Benjamin Jugl <be...@ecomify.de>.
Or use, what we have and disable tests via gradle:
./gradlew ofbiz -x test
Am 01.10.18 um 13:43 schrieb Hannes Geist:
> Ok, easy solution: rename
>
> framework/entity/src/test
>
> to
>
> framework/entity/src/test_
>
>
> for now.
>
> -----Original Message-----
> From: Hannes Geist <hg...@hgeist.com>
> Reply-to: hg@hgeist.com
> To: dev@ofbiz.apache.org
> Subject: Re: Build failed
> Date: Mon, 01 Oct 2018 13:39:21 +0200
>
> Same. Is there any way to disable the Test system for now?
>
> I tried commenting out all test-suite entries in components already,
> doesnt work.
>
> I need the system urgently for a customer demo.
>
> Best regards
>
> Hannes Geist
>
> -----Original Message-----
> From: Pritam Kute <pr...@hotwaxsystems.com>
> Reply-to: dev@ofbiz.apache.org
> To: dev@ofbiz.apache.org
> Subject: Re: Build failed
> Date: Mon, 1 Oct 2018 16:56:54 +0530
>
> Same here. About to write an email. :)
>
> Thanks and Regards
> --
> Pritam Kute
>
> On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
> suraj.khurana@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
>>
Re: Build failed
Posted by Hannes Geist <hg...@hgeist.com>.
Ok, easy solution: rename
framework/entity/src/test
to
framework/entity/src/test_
for now.
-----Original Message-----
From: Hannes Geist <hg...@hgeist.com>
Reply-to: hg@hgeist.com
To: dev@ofbiz.apache.org
Subject: Re: Build failed
Date: Mon, 01 Oct 2018 13:39:21 +0200
Same. Is there any way to disable the Test system for now?
I tried commenting out all test-suite entries in components already,
doesnt work.
I need the system urgently for a customer demo.
Best regards
Hannes Geist
-----Original Message-----
From: Pritam Kute <pr...@hotwaxsystems.com>
Reply-to: dev@ofbiz.apache.org
To: dev@ofbiz.apache.org
Subject: Re: Build failed
Date: Mon, 1 Oct 2018 16:56:54 +0530
Same here. About to write an email. :)
Thanks and Regards
--
Pritam Kute
On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
suraj.khurana@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
>
Re: Build failed
Posted by Hannes Geist <hg...@hgeist.com>.
Same. Is there any way to disable the Test system for now?
I tried commenting out all test-suite entries in components already,
doesnt work.
I need the system urgently for a customer demo.
Best regards
Hannes Geist
-----Original Message-----
From: Pritam Kute <pr...@hotwaxsystems.com>
Reply-to: dev@ofbiz.apache.org
To: dev@ofbiz.apache.org
Subject: Re: Build failed
Date: Mon, 1 Oct 2018 16:56:54 +0530
Same here. About to write an email. :)
Thanks and Regards
--
Pritam Kute
On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
suraj.khurana@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
>
Re: Build failed
Posted by Pritam Kute <pr...@hotwaxsystems.com>.
Same here. About to write an email. :)
Thanks and Regards
--
Pritam Kute
On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
suraj.khurana@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
>