Data load issue on https://demo-trunk.ofbiz.apache.org/

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

Data load issue on https://demo-trunk.ofbiz.apache.org/

Deepak Dixit-4
It seems data not loaded on demo-trunk
https://demo-trunk.ofbiz.apache.org/ecommerce/control/main
=========
A Product Store has not been defined for this ecommerce site. A Product
Store can be created using the ofbizsetup wizard.

==========


Kind Regards,
Deepak Dixit
Reply | Threaded
Open this post in threaded view
|

Re: Data load issue on https://demo-trunk.ofbiz.apache.org/

Jacques Le Roux
Administrator
Thanks Deepak,

Not sure what happened. I have no time to investigate at the moment. I took a copy of console.log. I'll investigate later. Trying to restart trunk for
now...

Jacques

Le 27/05/2019 à 09:08, Deepak Dixit a écrit :

> It seems data not loaded on demo-trunk
> https://demo-trunk.ofbiz.apache.org/ecommerce/control/main
> =========
> A Product Store has not been defined for this ecommerce site. A Product
> Store can be created using the ofbizsetup wizard.
>
> ==========
>
>
> Kind Regards,
> Deepak Dixit
>
Reply | Threaded
Open this post in threaded view
|

Re: Data load issue on https://demo-trunk.ofbiz.apache.org/

Jacques Le Roux
Administrator
As we know (or not :)) this needs a complete restart of all demos, currently running...

Jacques

Le 27/05/2019 à 10:53, Jacques Le Roux a écrit :

> Thanks Deepak,
>
> Not sure what happened. I have no time to investigate at the moment. I took a copy of console.log. I'll investigate later. Trying to restart trunk
> for now...
>
> Jacques
>
> Le 27/05/2019 à 09:08, Deepak Dixit a écrit :
>> It seems data not loaded on demo-trunk
>> https://demo-trunk.ofbiz.apache.org/ecommerce/control/main
>> =========
>> A Product Store has not been defined for this ecommerce site. A Product
>> Store can be created using the ofbizsetup wizard.
>>
>> ==========
>>
>>
>> Kind Regards,
>> Deepak Dixit
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Data load issue on https://demo-trunk.ofbiz.apache.org/

Jacques Le Roux
Administrator
There is something wrong with Mathieu's changes on (Refactor) EntityDataLoadContainer (OFBIZ-11070), reverting all for now

I did a cleanData loadAll locally, worked. Then I svn updated, got this:

C:\projectsASF\ofbiz>svn up
Mise à jour de '.' :
U    themes\rainbowstone\webapp\rainbowstone\javascript.css
U    themes\flatgrey\webapp\flatgrey\javascript.css
U framework\entityext\src\main\java\org\apache\ofbiz\entityext\data\EntityDataLoadContainer.java

Then doing again cleanData loadAll, got this:


2019-05-27 11:14:12,641 |kJoinPool-1-worker-3 |ServiceEcaUtil                |I| Loaded [5] Service ECA Rules from
file:/C:/projectsASF/ofbiz/plugins/bi/servicedef/secas.xml
2019-05-27 11:14:12,643 |main |EntitySaxReader               |E| Fatal Error reading XML on line 1, column 1
org.xml.sax.SAXParseException: Content is not allowed in prolog.
         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) [xercesImpl-2.9.1.jar:?]
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) [?:1.8.0_202]
         at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:225) [ofbiz.jar:?]
         at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:205) [ofbiz.jar:?]
         at org.apache.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:268) [ofbiz.jar:?]
         at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadData(EntityDataLoadContainer.java:432) [ofbiz.jar:?]
         at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadDataForDelegator(EntityDataLoadContainer.java:184) [ofbiz.jar:?]
         at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.init(EntityDataLoadContainer.java:116) [ofbiz.jar:?]
         at org.apache.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:143) [ofbiz.jar:?]
         at org.apache.ofbiz.base.container.ContainerLoader.loadContainersFromConfigurations(ContainerLoader.java:108) [ofbiz.jar:?]
         at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:78) [ofbiz.jar:?]
         at org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:201) [ofbiz.jar:?]
         at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70) [ofbiz.jar:?]
         at org.apache.ofbiz.base.start.Start.main(Start.java:85) [ofbiz.jar:?]
2019-05-27 11:14:12,648 |main |EntitySaxReader               |E| An error occurred saving the data, rolling back transaction (true)
org.xml.sax.SAXException: Fatal Error reading XML on line 1, column 1
         at org.apache.ofbiz.entity.util.EntitySaxReader.fatalError(EntitySaxReader.java:599) ~[ofbiz.jar:?]
         at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:195) ~[?:1.8.0_202]
         at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:225) [ofbiz.jar:?]
         at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:205) [ofbiz.jar:?]
         at org.apache.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:268) [ofbiz.jar:?]
         at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadData(EntityDataLoadContainer.java:432) [ofbiz.jar:?]
         at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadDataForDelegator(EntityDataLoadContainer.java:184) [ofbiz.jar:?]
         at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.init(EntityDataLoadContainer.java:116) [ofbiz.jar:?]
         at org.apache.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:143) [ofbiz.jar:?]
         at org.apache.ofbiz.base.container.ContainerLoader.loadContainersFromConfigurations(ContainerLoader.java:108) [ofbiz.jar:?]
         at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:78) [ofbiz.jar:?]
         at org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:201) [ofbiz.jar:?]
         at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70) [ofbiz.jar:?]
         at org.apache.ofbiz.base.start.Start.main(Start.java:85) [ofbiz.jar:?]
Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog.
         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source) ~[xercesImpl-2.9.1.jar:?]
         ... 26 more
2019-05-27 11:14:12,650 |kJoinPool-1-worker-7 |ServiceEcaUtil                |I| Loaded [86] Service ECA Rules from
file:/C:/projectsASF/ofbiz/applications/order/servicedef/secas.xml
2019-05-27 11:14:12,653 |main |TransactionUtil               |I| Transaction rolled back
org.apache.ofbiz.base.start.StartupException: Cannot init() dataload-container (org.apache.ofbiz.entity.GenericEntityException: [loadData]: Error
loading XML Resource "file:/C:/projectsASF/ofbiz/framework/base/dtd/"; Error was: A transac
tion error occurred reading data (A transaction error occurred reading data) ([loadData]: Error loading XML Resource
"file:/C:/projectsASF/ofbiz/framework/base/dtd/"; Error was: A transaction error occurred reading data (A transaction er
ror occurred reading data)))
         at org.apache.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:145)
         at org.apache.ofbiz.base.container.ContainerLoader.loadContainersFromConfigurations(ContainerLoader.java:108)
         at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:78)
         at org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:201)
         at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
         at org.apache.ofbiz.base.start.Start.main(Start.java:85)
Caused by: org.apache.ofbiz.base.container.ContainerException: org.apache.ofbiz.entity.GenericEntityException: [loadData]: Error loading XML Resource
"file:/C:/projectsASF/ofbiz/framework/base/dtd/"; Error was: A transaction error occurr
ed reading data (A transaction error occurred reading data) ([loadData]: Error loading XML Resource "file:/C:/projectsASF/ofbiz/framework/base/dtd/";
Error was: A transaction error occurred reading data (A transaction error occurred read
ing data))
         at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadData(EntityDataLoadContainer.java:440)
         at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadDataForDelegator(EntityDataLoadContainer.java:184)
         at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.init(EntityDataLoadContainer.java:116)
         at org.apache.ofbiz.base.container.ContainerLoader.loadContainer(ContainerLoader.java:143)
         ... 5 more
Caused by: org.apache.ofbiz.entity.GenericEntityException: [loadData]: Error loading XML Resource "file:/C:/projectsASF/ofbiz/framework/base/dtd/";
Error was: A transaction error occurred reading data (A transaction error occurred readin
g data)
         at org.apache.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:275)
         at org.apache.ofbiz.entityext.data.EntityDataLoadContainer.loadData(EntityDataLoadContainer.java:432)
         ... 8 more
Caused by: org.xml.sax.SAXException: A transaction error occurred reading data
org.xml.sax.SAXException: Fatal Error reading XML on line 1, column 1
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
         at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:240)
         at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:205)
         at org.apache.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:268)
         ... 9 more
Caused by: org.xml.sax.SAXException: Fatal Error reading XML on line 1, column 1
org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
         at org.apache.ofbiz.entity.util.EntitySaxReader.fatalError(EntitySaxReader.java:599)
         at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
         at org.apache.xerces.impl.XMLScanner.reportFatalError(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentScannerImpl$PrologDispatcher.dispatch(Unknown Source)
         at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
         at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
         at org.apache.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:225)
         ... 11 more
Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.
         at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)

This was reproducible

Restarting demos again

Jacques


Le 27/05/2019 à 10:59, Jacques Le Roux a écrit :

> As we know (or not :)) this needs a complete restart of all demos, currently running...
>
> Jacques
>
> Le 27/05/2019 à 10:53, Jacques Le Roux a écrit :
>> Thanks Deepak,
>>
>> Not sure what happened. I have no time to investigate at the moment. I took a copy of console.log. I'll investigate later. Trying to restart trunk
>> for now...
>>
>> Jacques
>>
>> Le 27/05/2019 à 09:08, Deepak Dixit a écrit :
>>> It seems data not loaded on demo-trunk
>>> https://demo-trunk.ofbiz.apache.org/ecommerce/control/main
>>> =========
>>> A Product Store has not been defined for this ecommerce site. A Product
>>> Store can be created using the ofbizsetup wizard.
>>>
>>> ==========
>>>
>>>
>>> Kind Regards,
>>> Deepak Dixit
>>>
>>
>