[GitHub] [ofbiz-framework] sonarcloud[bot] commented on pull request #250: OFBIZ-12118 Fixes issue with starting ofbiz via jar

2021-01-06 Thread GitBox


sonarcloud[bot] commented on pull request #250:
URL: https://github.com/apache/ofbiz-framework/pull/250#issuecomment-755787484


   Kudos, SonarCloud Quality Gate passed!
   
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=250=false=BUG)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=250=false=BUG)
 [0 
Bugs](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=250=false=BUG)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=250=false=VULNERABILITY)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=250=false=VULNERABILITY)
 [0 
Vulnerabilities](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=250=false=VULNERABILITY)
  
   [](https://sonarcloud.io/project/security_hotspots?id=apache_ofbiz-framework=250=false=SECURITY_HOTSPOT)
 [](https://sonarcloud.io/project/security_hotspots?id=apache_ofbiz-framework=250=false=SECURITY_HOTSPOT)
 [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_ofbiz-framework=250=false=SECURITY_HOTSPOT)
  
   [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=250=false=CODE_SMELL)
 [](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=250=false=CODE_SMELL)
 [0 Code 
Smells](https://sonarcloud.io/project/issues?id=apache_ofbiz-framework=250=false=CODE_SMELL)
   
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=250)
 No Coverage information  
   [](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=250=new_duplicated_lines_density=list)
 [0.0% 
Duplication](https://sonarcloud.io/component_measures?id=apache_ofbiz-framework=250=new_duplicated_lines_density=list)
   
   



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




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

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


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

Ioan Eugen Stan edited comment on OFBIZ-12118 at 1/7/21, 12:01 AM:
---

PR available [https://github.com/apache/ofbiz-framework/pull/250]

  [~gvasmatkar] Could you please confirm the fix?

 

I can now build an ofbiz.tar that I can unpack and run my application.


was (Author: ieugen):
PR available [https://github.com/apache/ofbiz-framework/pull/250]

 

 [~gvasmatkar] Could you please confirm the fix?

> 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: 

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

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


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

Ioan Eugen Stan edited comment on OFBIZ-12118 at 1/7/21, 12:00 AM:
---

PR available [https://github.com/apache/ofbiz-framework/pull/250]

 

 [~gvasmatkar] Could you please confirm the fix?


was (Author: ieugen):
PR available [https://github.com/apache/ofbiz-framework/pull/250]

 

 [~gvasmatkar] Could you please test the fix?

> 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 

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

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


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

Ioan Eugen Stan commented on OFBIZ-12118:
-

PR available [https://github.com/apache/ofbiz-framework/pull/250]

 

 [~gvasmatkar] Could you please test the fix?

> 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: 
> 

[GitHub] [ofbiz-framework] ieugen opened a new pull request #250: OFBIZ-12118 Fixes issue with starting ofbiz via jar

2021-01-06 Thread GitBox


ieugen opened a new pull request #250:
URL: https://github.com/apache/ofbiz-framework/pull/250


   * There is a bug in XML parsing within jar files (JarURLConnection)
   * Setting setUseCaches(boolean) solves it
   
   Fixed: OFBIZ-12118 
   
   Explanation: There is a bug when parsing xml inside a jar via URL.
   
   
https://issues.apache.org/jira/browse/OFBIZ-12118?focusedCommentId=17260119=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17260119
   
   Thanks: Girish and Daniel 
   



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




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

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


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

Ioan Eugen Stan commented on OFBIZ-12118:
-

I think I found the issue and a fix, will submit a PR: 
[https://github.com/eclipse-ee4j/glassfish/issues/22552] .
{code:java}
URLConnection connection = url.openConnection();
// https://issues.apache.org/jira/browse/OFBIZ-12118
connection.setUseCaches(false);
try (InputStream is = connection.getInputStream();){
return readXmlDocument(is, validate, url.toString());
}
{code}
 

 

> 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: 

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

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


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

Ioan Eugen Stan commented on OFBIZ-12118:
-

I did a directory diff using meld tool and it seems that the directories are 
identical.

This leads me to think the issue is in the ofbiz.jar (or other jars built by 
the project).

> 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-12038) Open Screen file from browser

2021-01-06 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-12038:
-

Commit f484b0d3184c3312bd4e70a69c26e154d86ce1a4 in ofbiz-framework's branch 
refs/heads/trunk from James Yong
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=f484b0d ]

Fixed: Open Screen file from browser (OFBIZ-12038)

Fix named borders not rendered for sub-screens.


> Open Screen file from browser
> -
>
> Key: OFBIZ-12038
> URL: https://issues.apache.org/jira/browse/OFBIZ-12038
> Project: OFBiz
>  Issue Type: Improvement
>  Components: base
>Affects Versions: Upcoming Branch
>Reporter: James Yong
>Assignee: James Yong
>Priority: Minor
> Fix For: Upcoming Branch
>
> Attachments: OFBIZ-12038.patch, OFBIZ-12038.patch
>
>
> User can choose to open screen definition file from the browser by clicking 
> on the named border. Server will send a command to open the source file.
> Save time looking for the screen definition file.
> This feature depends on setting the following properties correctly
> widget.dev.namedBorder
> widget.dev.cmd.openSourceFile



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


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

2021-01-06 Thread Aditya Sharma (Jira)


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

Aditya Sharma edited comment on OFBIZ-10729 at 1/6/21, 3:04 PM:


Merged the changes.
 Reflecting at [https://ofbiz.apache.org/mailing-lists.html]

Thanks [~deepak] , [~jleroux]  and [~swapnilmmane]!
 Closing for now.


was (Author: aditya.sharma):
Merged the changes.
Reflecting at https://ofbiz.apache.org/mailing-lists.html

Thanks [~jleroux]  and [~swapnilmmane]!
Closing for now.

> 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] [Comment Edited] (OFBIZ-10729) Add subscribe email on website mailing list page

2021-01-06 Thread Aditya Sharma (Jira)


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

Aditya Sharma edited comment on OFBIZ-10729 at 1/6/21, 3:04 PM:


Merged the changes.
 Reflecting at [https://ofbiz.apache.org/mailing-lists.html]

Thanks [~deepak] , [~jleroux]  and [~swapnilmmane]!
 Closing now.


was (Author: aditya.sharma):
Merged the changes.
 Reflecting at [https://ofbiz.apache.org/mailing-lists.html]

Thanks [~deepak] , [~jleroux]  and [~swapnilmmane]!
 Closing for now.

> 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] [Closed] (OFBIZ-10729) Add subscribe email on website mailing list page

2021-01-06 Thread Aditya Sharma (Jira)


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

Aditya Sharma closed OFBIZ-10729.
-
Resolution: Done

> 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] [Commented] (OFBIZ-10729) Add subscribe email on website mailing list page

2021-01-06 Thread Aditya Sharma (Jira)


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

Aditya Sharma commented on OFBIZ-10729:
---

Merged the changes.
Reflecting at https://ofbiz.apache.org/mailing-lists.html

Thanks [~jleroux]  and [~swapnilmmane]!
Closing for now.

> 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] [Commented] (OFBIZ-10729) Add subscribe email on website mailing list page

2021-01-06 Thread ASF subversion and git services (Jira)


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

ASF subversion and git services commented on OFBIZ-10729:
-

Commit 76a576b34746b7f4fce97af682b878f5f544dda6 in ofbiz-site's branch 
refs/heads/master from Aditya Sharma
[ https://gitbox.apache.org/repos/asf?p=ofbiz-site.git;h=76a576b ]

Improved: Add subscribe email on website mailing list page (OFBIZ-10729) (#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.

> 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 merged pull request #7: Improved: Add subscribe email on website mailing list page (OFBIZ-10729)

2021-01-06 Thread GitBox


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


   



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




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

2021-01-06 Thread Jacques Le Roux (Jira)


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

Jacques Le Roux commented on OFBIZ-11333:
-

I agree, +1 for closing, it works.

> 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)