[jira] [Commented] (OFBIZ-12118) OFBiz XML parsing issue when starting from a ofbiz.tar build - files missing from ofbiz.tar

2021-01-05 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17259480#comment-17259480
 ] 

Ioan Eugen Stan commented on OFBIZ-12118:
-

After further investigation it seems there are some missing files from the tar 
since I get errors when loading data.

> OFBiz XML parsing issue when starting from a ofbiz.tar build - files missing 
> from ofbiz.tar
> ---
>
> Key: OFBIZ-12118
> URL: https://issues.apache.org/jira/browse/OFBIZ-12118
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> Discussion: 
> [https://lists.apache.org/thread.html/r658047067bae1b776d60ac90bc03cfba56f718feaca0eb10209020bb%40%3Cuser.ofbiz.apache.org%3E]
>  
> ---
> I can't start OFBiz from the built ofbiz.tar . 
> My goal is to build ofbiz.tar and use it to build a docker image. 
>  
> Then use the image to deploy instances of OFBiz: 
> - load data 
> - run OFBiz 
>  
> [source,bash] 
>  
>  
> ./gradlew clean pullAllPluginsSource build 
>  
>  
> ./bin/ofbiz --load-data readers=seed,seed-initial,ext,ext-demo 
>  
> Config.java using configuration file load-data.properties 
> Set OFBIZ_HOME to - 
> /home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz 
> Shutdown hook disabled 
> 2021-01-05 12:00:10,622 |main |UtilXml     {{|E|}} 
> XmlFileLoader: File 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  process warning. Line: 22. Error message: schema_reference.4: Failed to read 
> schema document 'null', because 1) could not find the document; 2) the 
> document could not be read; 3) the root element of the document is not 
> . 
> 2021-01-05 12:00:10,627 |main |UtilXml     {{|E|}} 
> XmlFileLoader: File 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  process error. Line: 22. Error message: cvc-elt.1.a: Cannot find the 
> declaration of element 'component-loader'. 
> org.apache.ofbiz.base.start.StartupException: Cannot init() 
> component-container (org.apache.ofbiz.base.component.ComponentException: 
> Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed) (Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed))) 
>     at 
> org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:69) 
>     at 
> org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
>  
>     at 
> org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
>  
>     at org.apache.ofbiz.base.start.Start.main(Start.java:89) 
> Caused by: org.apache.ofbiz.base.container.ContainerException: 
> org.apache.ofbiz.base.component.ComponentException: Error reading the 
> component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed) (Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed)) 
>     at 
> org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:79)
>  
>     at 
> org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:57)
>  
>     at 
> org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) 
>     ... 3 more 
> Caused by: org.apache.ofbiz.base.component.ComponentException: Error reading 
> the component config file: 
> 

[jira] [Updated] (OFBIZ-12118) OFBiz XML parsing issue when starting from a ofbiz.tar build - files missing from ofbiz.tar

2021-01-05 Thread Ioan Eugen Stan (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-12118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ioan Eugen Stan updated OFBIZ-12118:

Summary: OFBiz XML parsing issue when starting from a ofbiz.tar build - 
files missing from ofbiz.tar  (was: OFBiz XML parsing issue when starting from 
a ofbiz.tar build)

> OFBiz XML parsing issue when starting from a ofbiz.tar build - files missing 
> from ofbiz.tar
> ---
>
> Key: OFBIZ-12118
> URL: https://issues.apache.org/jira/browse/OFBIZ-12118
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> Discussion: 
> [https://lists.apache.org/thread.html/r658047067bae1b776d60ac90bc03cfba56f718feaca0eb10209020bb%40%3Cuser.ofbiz.apache.org%3E]
>  
> ---
> I can't start OFBiz from the built ofbiz.tar . 
> My goal is to build ofbiz.tar and use it to build a docker image. 
>  
> Then use the image to deploy instances of OFBiz: 
> - load data 
> - run OFBiz 
>  
> [source,bash] 
>  
>  
> ./gradlew clean pullAllPluginsSource build 
>  
>  
> ./bin/ofbiz --load-data readers=seed,seed-initial,ext,ext-demo 
>  
> Config.java using configuration file load-data.properties 
> Set OFBIZ_HOME to - 
> /home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz 
> Shutdown hook disabled 
> 2021-01-05 12:00:10,622 |main |UtilXml     {{|E|}} 
> XmlFileLoader: File 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  process warning. Line: 22. Error message: schema_reference.4: Failed to read 
> schema document 'null', because 1) could not find the document; 2) the 
> document could not be read; 3) the root element of the document is not 
> . 
> 2021-01-05 12:00:10,627 |main |UtilXml     {{|E|}} 
> XmlFileLoader: File 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  process error. Line: 22. Error message: cvc-elt.1.a: Cannot find the 
> declaration of element 'component-loader'. 
> org.apache.ofbiz.base.start.StartupException: Cannot init() 
> component-container (org.apache.ofbiz.base.component.ComponentException: 
> Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed) (Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed))) 
>     at 
> org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:69) 
>     at 
> org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
>  
>     at 
> org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
>  
>     at org.apache.ofbiz.base.start.Start.main(Start.java:89) 
> Caused by: org.apache.ofbiz.base.container.ContainerException: 
> org.apache.ofbiz.base.component.ComponentException: Error reading the 
> component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed) (Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed)) 
>     at 
> org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:79)
>  
>     at 
> org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:57)
>  
>     at 
> org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) 
>     ... 3 more 
> Caused by: org.apache.ofbiz.base.component.ComponentException: Error reading 
> the component config file: 
> 

[jira] [Commented] (OFBIZ-12118) OFBiz XML parsing issue when starting from a ofbiz.tar build

2021-01-05 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17259272#comment-17259272
 ] 

Ioan Eugen Stan commented on OFBIZ-12118:
-

Disabling validation solves this issue.

This commit allows me to start ofbiz.

Probably there is another solution.

https://github.com/ieugen/ofbiz-framework/commit/54249aabfd173309f5ca7c2f574f62986bff08e6

> OFBiz XML parsing issue when starting from a ofbiz.tar build
> 
>
> Key: OFBIZ-12118
> URL: https://issues.apache.org/jira/browse/OFBIZ-12118
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> Discussion: 
> [https://lists.apache.org/thread.html/r658047067bae1b776d60ac90bc03cfba56f718feaca0eb10209020bb%40%3Cuser.ofbiz.apache.org%3E]
>  
> ---
> I can't start OFBiz from the built ofbiz.tar . 
> My goal is to build ofbiz.tar and use it to build a docker image. 
>  
> Then use the image to deploy instances of OFBiz: 
> - load data 
> - run OFBiz 
>  
> [source,bash] 
>  
>  
> ./gradlew clean pullAllPluginsSource build 
>  
>  
> ./bin/ofbiz --load-data readers=seed,seed-initial,ext,ext-demo 
>  
> Config.java using configuration file load-data.properties 
> Set OFBIZ_HOME to - 
> /home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz 
> Shutdown hook disabled 
> 2021-01-05 12:00:10,622 |main |UtilXml     {{|E|}} 
> XmlFileLoader: File 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  process warning. Line: 22. Error message: schema_reference.4: Failed to read 
> schema document 'null', because 1) could not find the document; 2) the 
> document could not be read; 3) the root element of the document is not 
> . 
> 2021-01-05 12:00:10,627 |main |UtilXml     {{|E|}} 
> XmlFileLoader: File 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  process error. Line: 22. Error message: cvc-elt.1.a: Cannot find the 
> declaration of element 'component-loader'. 
> org.apache.ofbiz.base.start.StartupException: Cannot init() 
> component-container (org.apache.ofbiz.base.component.ComponentException: 
> Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed) (Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed))) 
>     at 
> org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:69) 
>     at 
> org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
>  
>     at 
> org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
>  
>     at org.apache.ofbiz.base.start.Start.main(Start.java:89) 
> Caused by: org.apache.ofbiz.base.container.ContainerException: 
> org.apache.ofbiz.base.component.ComponentException: Error reading the 
> component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed) (Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed)) 
>     at 
> org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:79)
>  
>     at 
> org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:57)
>  
>     at 
> org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) 
>     ... 3 more 
> Caused by: org.apache.ofbiz.base.component.ComponentException: Error reading 
> the component config file: 
> 

[jira] [Commented] (OFBIZ-12118) OFBiz XML parsing issue when starting from a ofbiz.tar build

2021-01-05 Thread Ioan Eugen Stan (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17259069#comment-17259069
 ] 

Ioan Eugen Stan commented on OFBIZ-12118:
-

I suspect some files are missing from the generated binary or there is a 
dependency issue regarding XML libraries / classpath generated in ofbiz.tar .

> OFBiz XML parsing issue when starting from a ofbiz.tar build
> 
>
> Key: OFBIZ-12118
> URL: https://issues.apache.org/jira/browse/OFBIZ-12118
> Project: OFBiz
>  Issue Type: Bug
>  Components: ALL APPLICATIONS
>Affects Versions: Trunk
>Reporter: Ioan Eugen Stan
>Priority: Major
>
> Discussion: 
> [https://lists.apache.org/thread.html/r658047067bae1b776d60ac90bc03cfba56f718feaca0eb10209020bb%40%3Cuser.ofbiz.apache.org%3E]
>  
> ---
> I can't start OFBiz from the built ofbiz.tar . 
> My goal is to build ofbiz.tar and use it to build a docker image. 
>  
> Then use the image to deploy instances of OFBiz: 
> - load data 
> - run OFBiz 
>  
> [source,bash] 
>  
>  
> ./gradlew clean pullAllPluginsSource build 
>  
>  
> ./bin/ofbiz --load-data readers=seed,seed-initial,ext,ext-demo 
>  
> Config.java using configuration file load-data.properties 
> Set OFBIZ_HOME to - 
> /home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz 
> Shutdown hook disabled 
> 2021-01-05 12:00:10,622 |main |UtilXml     {{|E|}} 
> XmlFileLoader: File 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  process warning. Line: 22. Error message: schema_reference.4: Failed to read 
> schema document 'null', because 1) could not find the document; 2) the 
> document could not be read; 3) the root element of the document is not 
> . 
> 2021-01-05 12:00:10,627 |main |UtilXml     {{|E|}} 
> XmlFileLoader: File 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  process error. Line: 22. Error message: cvc-elt.1.a: Cannot find the 
> declaration of element 'component-loader'. 
> org.apache.ofbiz.base.start.StartupException: Cannot init() 
> component-container (org.apache.ofbiz.base.component.ComponentException: 
> Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed) (Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed))) 
>     at 
> org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:69) 
>     at 
> org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
>  
>     at 
> org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
>  
>     at org.apache.ofbiz.base.start.Start.main(Start.java:89) 
> Caused by: org.apache.ofbiz.base.container.ContainerException: 
> org.apache.ofbiz.base.component.ComponentException: Error reading the 
> component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed) (Error reading the component config file: 
> [jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
>  (Stream closed)) 
>     at 
> org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:79)
>  
>     at 
> org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:57)
>  
>     at 
> org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) 
>     ... 3 more 
> Caused by: org.apache.ofbiz.base.component.ComponentException: Error reading 
> the component config file: 
> 

[jira] [Created] (OFBIZ-12118) OFBiz XML parsing issue when starting from a ofbiz.tar build

2021-01-05 Thread Ioan Eugen Stan (Jira)
Ioan Eugen Stan created OFBIZ-12118:
---

 Summary: OFBiz XML parsing issue when starting from a ofbiz.tar 
build
 Key: OFBIZ-12118
 URL: https://issues.apache.org/jira/browse/OFBIZ-12118
 Project: OFBiz
  Issue Type: Bug
  Components: ALL APPLICATIONS
Affects Versions: Trunk
Reporter: Ioan Eugen Stan


Discussion: 
[https://lists.apache.org/thread.html/r658047067bae1b776d60ac90bc03cfba56f718feaca0eb10209020bb%40%3Cuser.ofbiz.apache.org%3E]

 

---

I can't start OFBiz from the built ofbiz.tar . 
My goal is to build ofbiz.tar and use it to build a docker image. 
 
Then use the image to deploy instances of OFBiz: 
- load data 
- run OFBiz 
 
[source,bash] 
 
 
./gradlew clean pullAllPluginsSource build 
 
 
./bin/ofbiz --load-data readers=seed,seed-initial,ext,ext-demo 
 
Config.java using configuration file load-data.properties 
Set OFBIZ_HOME to - 
/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz 
Shutdown hook disabled 
2021-01-05 12:00:10,622 |main |UtilXml     {{|E|}} 
XmlFileLoader: File 
[jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
 process warning. Line: 22. Error message: schema_reference.4: Failed to read 
schema document 'null', because 1) could not find the document; 2) the document 
could not be read; 3) the root element of the document is not . 
2021-01-05 12:00:10,627 |main |UtilXml     {{|E|}} 
XmlFileLoader: File 
[jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
 process error. Line: 22. Error message: cvc-elt.1.a: Cannot find the 
declaration of element 'component-loader'. 
org.apache.ofbiz.base.start.StartupException: Cannot init() component-container 
(org.apache.ofbiz.base.component.ComponentException: Error reading the 
component config file: 
[jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
 (Stream closed) (Error reading the component config file: 
[jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
 (Stream closed))) 
    at 
org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:69) 
    at 
org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146)
 
    at 
org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70)
 
    at org.apache.ofbiz.base.start.Start.main(Start.java:89) 
Caused by: org.apache.ofbiz.base.container.ContainerException: 
org.apache.ofbiz.base.component.ComponentException: Error reading the component 
config file: 
[jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
 (Stream closed) (Error reading the component config file: 
[jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
 (Stream closed)) 
    at 
org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:79)
 
    at 
org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:57)
 
    at 
org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) 
    ... 3 more 
Caused by: org.apache.ofbiz.base.component.ComponentException: Error reading 
the component config file: 
[jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml|jar:file:///home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml]
 (Stream closed) 
    at 
org.apache.ofbiz.base.component.ComponentLoaderConfig.parseDocumentFromUrl(ComponentLoaderConfig.java:168)
 
    at 
org.apache.ofbiz.base.component.ComponentLoaderConfig.getComponentsFromConfig(ComponentLoaderConfig.java:80)
 
    at 
org.apache.ofbiz.base.component.ComponentLoaderConfig.getRootComponents(ComponentLoaderConfig.java:70)
 
    at 
org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:74)
 
    ... 5 more 
Caused by: 

[jira] [Commented] (OFBIZ-11333) Cookie Consent In E-Commerce

2021-01-05 Thread Aditya Sharma (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-11333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17258970#comment-17258970
 ] 

Aditya Sharma commented on OFBIZ-11333:
---

Hi [~mbrohl],
I think we can close it

> Cookie Consent In E-Commerce
> 
>
> Key: OFBIZ-11333
> URL: https://issues.apache.org/jira/browse/OFBIZ-11333
> Project: OFBiz
>  Issue Type: New Feature
>  Components: ecommerce
>Affects Versions: Release Branch 18.12, Release Branch 17.12, Trunk
>Reporter: Deepak Nigam
>Assignee: Aditya Sharma
>Priority: Minor
>  Labels: compliance, law
>
> This ticket has been cloned from OFBIZ-10639: in the original ticket the work 
> was completed and committed only to the Release Branch 16.11; this new ticket 
> has been created to implement a solution for the other branches.
> =
> As per discussion on Dev ML [https://markmail.org/message/rcatehtckz6vlvuv] 
> The Cookie Law is a piece of privacy legislation that requires websites to 
> get consent from visitors to store or retrieve any information on their 
> computer, smartphone or tablet. It was designed to protect online privacy, by 
> making consumers aware of how information about them is collected and used 
> online, and give them a choice to allow it or not. 
>   
>  The EU Cookie Legislation began as a directive from the European Union. Some 
> variation on the policy has since been adopted by all countries within the EU.
>   
>  The EU Cookie Legislation requires 4 actions from website owners who use 
> cookies:
>  1. When someone visits your website, you need to let them know that your 
> site uses cookies. 
>  2. You need to provide detailed information regarding how that cookie data 
> will be utilized. 
>  3. You need to provide visitors with some means of accepting or refusing the 
> use of cookies in your site. 
>  4. If they refuse, you need to ensure that cookies will not be placed on 
> their machine.
>  
>  For more information about EU cookie policy, please visit 
> [here|http://ec.europa.eu/ipg/basics/legal/cookies/index_en.htm].
>   
>  As this crucial feature is missing in OFBiz E-Commerce application, we 
> should work towards its implementation. There are numerous open-source jQuery 
> plugins available which we can use.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (OFBIZ-10729) Add subscribe email on website mailing list page

2021-01-05 Thread Aditya Sharma (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-10729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17258968#comment-17258968
 ] 

Aditya Sharma commented on OFBIZ-10729:
---

Created a PR for it and added an image for the preview. I kept the instructions 
for subscription as it is because the original ones were consistent with the 
unsubscribe ones. I will soon merge.

> Add subscribe email on website mailing list page
> 
>
> Key: OFBIZ-10729
> URL: https://issues.apache.org/jira/browse/OFBIZ-10729
> Project: OFBiz
>  Issue Type: Improvement
>  Components: site
>Reporter: Deepak Dixit
>Assignee: Aditya Sharma
>Priority: Major
> Attachments: OFBIZ-10729-Alt.patch, OFBIZ-10729.patch, 
> OFBIZ-10729.patch, SubscribeMailingList-Mid.png, 
> SubscribeMailingList-Top-Alt.png, SubscribeMailingList-bottom.png, 
> SubscribeMailingList.png, SubscribeMailingList.png, 
> SubscribeMailingListAlt-1.png, SubscribeMailingListAlt-2.png, 
> image-2021-01-05-20-12-26-274.png
>
>
> As per current implementation, we have a link of lists.apache.org for 
> subscribing mailing list, 
> When a user visited lists.apache.org website it has the option to subscribe, 
> this tries to open email client, if no email client setup on a user machine, 
> so its difficult to subscribe. 
> We can add an alternate option as well along with lists.apache.org link. A 
> simple text with subscribe email address. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (OFBIZ-10729) Add subscribe email on website mailing list page

2021-01-05 Thread Aditya Sharma (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-10729?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Aditya Sharma updated OFBIZ-10729:
--
Attachment: image-2021-01-05-20-12-26-274.png

> Add subscribe email on website mailing list page
> 
>
> Key: OFBIZ-10729
> URL: https://issues.apache.org/jira/browse/OFBIZ-10729
> Project: OFBiz
>  Issue Type: Improvement
>  Components: site
>Reporter: Deepak Dixit
>Assignee: Aditya Sharma
>Priority: Major
> Attachments: OFBIZ-10729-Alt.patch, OFBIZ-10729.patch, 
> OFBIZ-10729.patch, SubscribeMailingList-Mid.png, 
> SubscribeMailingList-Top-Alt.png, SubscribeMailingList-bottom.png, 
> SubscribeMailingList.png, SubscribeMailingList.png, 
> SubscribeMailingListAlt-1.png, SubscribeMailingListAlt-2.png, 
> image-2021-01-05-20-12-26-274.png
>
>
> As per current implementation, we have a link of lists.apache.org for 
> subscribing mailing list, 
> When a user visited lists.apache.org website it has the option to subscribe, 
> this tries to open email client, if no email client setup on a user machine, 
> so its difficult to subscribe. 
> We can add an alternate option as well along with lists.apache.org link. A 
> simple text with subscribe email address. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[GitHub] [ofbiz-site] adityasharma7 commented on pull request #7: Improved: Add subscribe email on website mailing list page (OFBIZ-10729)

2021-01-05 Thread GitBox


adityasharma7 commented on pull request #7:
URL: https://github.com/apache/ofbiz-site/pull/7#issuecomment-754676904


   Here is the quick preview
   
![image](https://user-images.githubusercontent.com/15027245/103659278-38b2e600-4f92-11eb-81c3-a3c126278056.png)
   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [ofbiz-site] adityasharma7 merged pull request #6: Improved: upgraded jQuery to 1.12 and removed jQuery ui

2021-01-05 Thread GitBox


adityasharma7 merged pull request #6:
URL: https://github.com/apache/ofbiz-site/pull/6


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [ofbiz-site] adityasharma7 commented on pull request #6: Improved: upgraded jQuery to 1.12 and removed jQuery ui

2021-01-05 Thread GitBox


adityasharma7 commented on pull request #6:
URL: https://github.com/apache/ofbiz-site/pull/6#issuecomment-754673654


   Thanks everyone for the review :)



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [ofbiz-site] adityasharma7 opened a new pull request #7: Improved: Add subscribe email on website mailing list page (OFBIZ-10729)

2021-01-05 Thread GitBox


adityasharma7 opened a new pull request #7:
URL: https://github.com/apache/ofbiz-site/pull/7


   Currently, we have a link of lists.apache.org for subscribing mailing list,
   When a user visited lists.apache.org website it has the option to subscribe, 
this tries to open email client, if no email client setup on a user machine, so 
its difficult to subscribe.
   
   We can add an alternate option as well along with lists.apache.org link. A 
simple text with subscribe email address.



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [ofbiz-site] jacopoc commented on pull request #6: Improved: upgraded jQuery to 1.12 and removed jQuery ui

2021-01-05 Thread GitBox


jacopoc commented on pull request #6:
URL: https://github.com/apache/ofbiz-site/pull/6#issuecomment-754556896


   Looks good to me!



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org