Build failed

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

Build failed

Suraj Khurana
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
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Pritam Kute
Same here. About to write an email. :)

Thanks and Regards
--
Pritam Kute

On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Hannes Geist-2
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 <[hidden email]>
Reply-to: [hidden email]
To: [hidden email]
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 <
[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Deepak Dixit-4
In reply to this post by Pritam Kute
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 <[hidden email]>
wrote:

> Same here. About to write an email. :)
>
> Thanks and Regards
> --
> Pritam Kute
>
> On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
> [hidden email]> 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
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Hannes Geist-2
In reply to this post by Hannes Geist-2
Ok, easy solution: rename 

framework/entity/src/test 

to 

framework/entity/src/test_ 


for now.

-----Original Message-----
From: Hannes Geist <[hidden email]>
Reply-to: [hidden email]
To: [hidden email]
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 <[hidden email]>
Reply-to: [hidden email]
To: [hidden email]
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 <
[hidden email]> 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
>
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Michael Brohl-3
In reply to this post by Deepak Dixit-4
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 <[hidden email]>
> wrote:
>
>> Same here. About to write an email. :)
>>
>> Thanks and Regards
>> --
>> Pritam Kute
>>
>> On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
>> [hidden email]> 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
>>>


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Benjamin Jugl
In reply to this post by Hannes Geist-2
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 <[hidden email]>
> Reply-to: [hidden email]
> To: [hidden email]
> 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 <[hidden email]>
> Reply-to: [hidden email]
> To: [hidden email]
> 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 <
> [hidden email]> 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
>>

Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Deepak Dixit-4
In reply to this post by Michael Brohl-3
+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 <[hidden email]>
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 <
>> [hidden email]>
>> wrote:
>>
>> Same here. About to write an email. :)
>>>
>>> Thanks and Regards
>>> --
>>> Pritam Kute
>>>
>>> On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
>>> [hidden email]> 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
>>>>
>>>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Michael Brohl-3
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 <[hidden email]>
> 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 <
>>> [hidden email]>
>>> wrote:
>>>
>>> Same here. About to write an email. :)
>>>> Thanks and Regards
>>>> --
>>>> Pritam Kute
>>>>
>>>> On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
>>>> [hidden email]> 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
>>>>>
>>>>>
>>


smime.p7s (5K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Pierre Smits-3
In reply to this post by Deepak Dixit-4
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 <[hidden email]> 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 <[hidden email]
> >
> wrote:
>
> > Same here. About to write an email. :)
> >
> > Thanks and Regards
> > --
> > Pritam Kute
> >
> > On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
> > [hidden email]> 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
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Deepak Dixit-4
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 <[hidden email]> 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 <[hidden email]>
> 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 <
> [hidden email]
> > >
> > wrote:
> >
> > > Same here. About to write an email. :)
> > >
> > > Thanks and Regards
> > > --
> > > Pritam Kute
> > >
> > > On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
> > > [hidden email]> 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
> > > >
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

taher
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 <[hidden email]> 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 <[hidden email]> 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 <[hidden email]>
> > 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 <
> > [hidden email]
> > > >
> > > wrote:
> > >
> > > > Same here. About to write an email. :)
> > > >
> > > > Thanks and Regards
> > > > --
> > > > Pritam Kute
> > > >
> > > > On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
> > > > [hidden email]> 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
> > > > >
> > > >
> > >
> >
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

Deepak Dixit-4
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 <[hidden email]
> 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 <[hidden email]>
> 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 <[hidden email]>
> 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 <[hidden email]>
> > > 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 <
> > > [hidden email]
> > > > >
> > > > wrote:
> > > >
> > > > > Same here. About to write an email. :)
> > > > >
> > > > > Thanks and Regards
> > > > > --
> > > > > Pritam Kute
> > > > >
> > > > > On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
> > > > > [hidden email]> 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
> > > > > >
> > > > >
> > > >
> > >
>
Reply | Threaded
Open this post in threaded view
|

Re: Build failed

taher
Ahhh I see the tests were dependant on the remote dtds. Weird design

On Mon, Oct 1, 2018, 11:18 PM Deepak Dixit <[hidden email]> 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 <
> [hidden email]
> > 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 <[hidden email]>
> > 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 <[hidden email]>
> > 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 <[hidden email]>
> > > > 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 <
> > > > [hidden email]
> > > > > >
> > > > > wrote:
> > > > >
> > > > > > Same here. About to write an email. :)
> > > > > >
> > > > > > Thanks and Regards
> > > > > > --
> > > > > > Pritam Kute
> > > > > >
> > > > > > On Mon, Oct 1, 2018 at 4:43 PM Suraj Khurana <
> > > > > > [hidden email]> 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
> > > > > > >
> > > > > >
> > > > >
> > > >
> >
>