[jira] [Created] (OFBIZ-7954) Add NLP function to parse text content
Shi Jinghai created OFBIZ-7954: -- Summary: Add NLP function to parse text content Key: OFBIZ-7954 URL: https://issues.apache.org/jira/browse/OFBIZ-7954 Project: OFBiz Issue Type: Improvement Affects Versions: Trunk Reporter: Shi Jinghai Assignee: Shi Jinghai Priority: Minor NLP(Natural Language Processing) is an amazing tech can help us to improve our beloved OFBiz. NLP can be used to train your own model to parse product attributes and understand what it is, before importing the product, or used as an online CRM text robot to answer simple questions. We will try to add a new nlp component, and we hope we can get some help from the community. AFAIK, two apache projects are working on NLP: http://tika.apache.org/ http://opennlp.apache.org/ The Stanford NLP is used in tika: http://nlp.stanford.edu/ While implementing this component, we found an ebay paper on this topic is very useful: http://aclweb.org/anthology/D/D11/D11-1144.pdf Kind Regards, -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-7034) Showing QRCodes in PDF
[ https://issues.apache.org/jira/browse/OFBIZ-7034?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15297725#comment-15297725 ] Shi Jinghai commented on OFBIZ-7034: I played this issue 2 weeks ago. I agree with Pierre, the fop-qrcode-zxing is a good solution. I'll try to submit the code to trunk and release 15.12 this week. > Showing QRCodes in PDF > -- > > Key: OFBIZ-7034 > URL: https://issues.apache.org/jira/browse/OFBIZ-7034 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example >Affects Versions: Trunk, Release Branch 15.12 >Reporter: Murugeswari >Assignee: Shi Jinghai > > Hi Folks, > I have to generate a pdf which should have Barcode as well as QRCode so > I followed this one OFBIZ-4154. > In trunk version, I run with demo data and tried to create a PDF with > QRCode by using this link > https://localhost:8443/example/control/ExampleReportPdfBarcode?exampleId=EX01. > But it fails to render QRCode but BarCodes are rendered successfully. > In console I get following error. > {code} > [java] 2016-05-04 12:29:34,677 |http-nio-8080-exec-5 |ControlServlet >|T| [[[qrcode(Domain:http://localhost)] Request Done- > total:0.245,since last([qrcode(Domain:ht...):0.245]] > [java] 2016-05-04 12:29:34,686 |ttp-nio-8443-exec-17 |FOUserAgent >|E| Image not available. URI: > /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20. > Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format > is not supported. No ImagePreloader found for > /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20 > (See position 43:308) > [java] org.apache.xmlgraphics.image.loader.ImageException: The file > format is not supported. No ImagePreloader found for > /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20 > [java] at > org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:181) > ~[xmlgraphics-commons-2.0.1.jar:2.0.1] > [java] at > org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:128) > ~[xmlgraphics-commons-2.0.1.jar:2.0.1] > [java] at > org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:123) > ~[xmlgraphics-commons-2.0.1.jar:2.0.1] > [java] at > org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:81) > [fop-2.0.jar:?] > [java] at org.apache.fop.fo.FObj.processNode(FObj.java:129) > [fop-2.0.jar:?] > [java] at > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:291) > [fop-2.0.jar:?] > [java] at > org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:179) > [fop-2.0.jar:?] > {code} > Same thing tested with Release15.12 here also it fails to render QRCode and > same exception was caught . -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OFBIZ-7034) Showing QRCodes in PDF
[ https://issues.apache.org/jira/browse/OFBIZ-7034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-7034: -- Assignee: Shi Jinghai > Showing QRCodes in PDF > -- > > Key: OFBIZ-7034 > URL: https://issues.apache.org/jira/browse/OFBIZ-7034 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example >Affects Versions: Trunk, Release Branch 15.12 >Reporter: Murugeswari >Assignee: Shi Jinghai > > Hi Folks, > I have to generate a pdf which should have Barcode as well as QRCode so > I followed this one OFBIZ-4154. > In trunk version, I run with demo data and tried to create a PDF with > QRCode by using this link > https://localhost:8443/example/control/ExampleReportPdfBarcode?exampleId=EX01. > But it fails to render QRCode but BarCodes are rendered successfully. > In console I get following error. > {code} > [java] 2016-05-04 12:29:34,677 |http-nio-8080-exec-5 |ControlServlet >|T| [[[qrcode(Domain:http://localhost)] Request Done- > total:0.245,since last([qrcode(Domain:ht...):0.245]] > [java] 2016-05-04 12:29:34,686 |ttp-nio-8443-exec-17 |FOUserAgent >|E| Image not available. URI: > /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20. > Reason: org.apache.xmlgraphics.image.loader.ImageException: The file format > is not supported. No ImagePreloader found for > /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20 > (See position 43:308) > [java] org.apache.xmlgraphics.image.loader.ImageException: The file > format is not supported. No ImagePreloader found for > /example/control/qrcode;jsessionid=62AC52C9641B9948F98F73CD0D53DF6B.jvm1?message=Example%201=bmp=UTF-8=true=20=20 > [java] at > org.apache.xmlgraphics.image.loader.ImageManager.preloadImage(ImageManager.java:181) > ~[xmlgraphics-commons-2.0.1.jar:2.0.1] > [java] at > org.apache.xmlgraphics.image.loader.cache.ImageCache.needImageInfo(ImageCache.java:128) > ~[xmlgraphics-commons-2.0.1.jar:2.0.1] > [java] at > org.apache.xmlgraphics.image.loader.ImageManager.getImageInfo(ImageManager.java:123) > ~[xmlgraphics-commons-2.0.1.jar:2.0.1] > [java] at > org.apache.fop.fo.flow.ExternalGraphic.bind(ExternalGraphic.java:81) > [fop-2.0.jar:?] > [java] at org.apache.fop.fo.FObj.processNode(FObj.java:129) > [fop-2.0.jar:?] > [java] at > org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:291) > [fop-2.0.jar:?] > [java] at > org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:179) > [fop-2.0.jar:?] > {code} > Same thing tested with Release15.12 here also it fails to render QRCode and > same exception was caught . -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-7026) Remove duplicated jars under solr component
[ https://issues.apache.org/jira/browse/OFBIZ-7026?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15261577#comment-15261577 ] Shi Jinghai commented on OFBIZ-7026: Removed the jars duplicated under ./specialpurpose/solr/webapp/solr/WEB-INF/lib/, rev. 1741386 (trunk) and rev. 1741387 (release 15.12). > Remove duplicated jars under solr component > --- > > Key: OFBIZ-7026 > URL: https://issues.apache.org/jira/browse/OFBIZ-7026 > Project: OFBiz > Issue Type: Improvement > Components: framework, specialpurpose/solr >Affects Versions: Upcoming Branch, Release Branch 15.12 >Reporter: Shi Jinghai >Assignee: Shi Jinghai >Priority: Trivial > > Jacques found the following jars duplicated: > ./specialpurpose/solr/lib/runtime/joda-time-2.2.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/joda-time-2.2.jar > > ./specialpurpose/solr/lib/runtime/lucene-codecs-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-codecs-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-highlighter-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-highlighter-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-join-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-join-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-queries-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-queries-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-spatial-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-spatial-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-suggest-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-suggest-5.3.1.jar > Christian found the following jars duplicated: > ./framework/base/lib/clhm-release-1.0-lru.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar > Other jars duplicated: > ./framework/base/lib/jackson-core-2.4.2.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/jackson-core-2.5.4.jar -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-7026) Remove duplicated jars under solr component
[ https://issues.apache.org/jira/browse/OFBIZ-7026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-7026: --- Summary: Remove duplicated jars under solr component (was: Remove duplicated jars under ) > Remove duplicated jars under solr component > --- > > Key: OFBIZ-7026 > URL: https://issues.apache.org/jira/browse/OFBIZ-7026 > Project: OFBiz > Issue Type: Improvement > Components: framework, specialpurpose/solr >Affects Versions: Upcoming Branch, Release Branch 15.12 >Reporter: Shi Jinghai >Assignee: Shi Jinghai >Priority: Trivial > > Jacques found the following jars duplicated: > ./specialpurpose/solr/lib/runtime/joda-time-2.2.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/joda-time-2.2.jar > > ./specialpurpose/solr/lib/runtime/lucene-codecs-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-codecs-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-highlighter-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-highlighter-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-join-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-join-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-queries-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-queries-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-spatial-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-spatial-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-suggest-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-suggest-5.3.1.jar > Christian found the following jars duplicated: > ./framework/base/lib/clhm-release-1.0-lru.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar > Other jars duplicated: > ./framework/base/lib/jackson-core-2.4.2.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/jackson-core-2.5.4.jar -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OFBIZ-7026) Remove duplicated jars under
[ https://issues.apache.org/jira/browse/OFBIZ-7026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-7026: -- Assignee: Shi Jinghai > Remove duplicated jars under > - > > Key: OFBIZ-7026 > URL: https://issues.apache.org/jira/browse/OFBIZ-7026 > Project: OFBiz > Issue Type: Improvement > Components: framework, specialpurpose/solr >Affects Versions: Upcoming Branch, Release Branch 15.12 >Reporter: Shi Jinghai >Assignee: Shi Jinghai >Priority: Trivial > > Jacques found the following jars duplicated: > ./specialpurpose/solr/lib/runtime/joda-time-2.2.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/joda-time-2.2.jar > > ./specialpurpose/solr/lib/runtime/lucene-codecs-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-codecs-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-highlighter-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-highlighter-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-join-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-join-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-queries-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-queries-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-spatial-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-spatial-5.3.1.jar > ./specialpurpose/solr/lib/runtime/lucene-suggest-5.3.1.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-suggest-5.3.1.jar > Christian found the following jars duplicated: > ./framework/base/lib/clhm-release-1.0-lru.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar > Other jars duplicated: > ./framework/base/lib/jackson-core-2.4.2.jar > ./specialpurpose/solr/webapp/solr/WEB-INF/lib/jackson-core-2.5.4.jar -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-7026) Remove duplicated jars under
Shi Jinghai created OFBIZ-7026: -- Summary: Remove duplicated jars under Key: OFBIZ-7026 URL: https://issues.apache.org/jira/browse/OFBIZ-7026 Project: OFBiz Issue Type: Improvement Components: framework, specialpurpose/solr Affects Versions: Release Branch 15.12, Upcoming Branch Reporter: Shi Jinghai Priority: Trivial Jacques found the following jars duplicated: ./specialpurpose/solr/lib/runtime/joda-time-2.2.jar ./specialpurpose/solr/webapp/solr/WEB-INF/lib/joda-time-2.2.jar ./specialpurpose/solr/lib/runtime/lucene-codecs-5.3.1.jar ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-codecs-5.3.1.jar ./specialpurpose/solr/lib/runtime/lucene-highlighter-5.3.1.jar ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-highlighter-5.3.1.jar ./specialpurpose/solr/lib/runtime/lucene-join-5.3.1.jar ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-join-5.3.1.jar ./specialpurpose/solr/lib/runtime/lucene-queries-5.3.1.jar ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-queries-5.3.1.jar ./specialpurpose/solr/lib/runtime/lucene-spatial-5.3.1.jar ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-spatial-5.3.1.jar ./specialpurpose/solr/lib/runtime/lucene-suggest-5.3.1.jar ./specialpurpose/solr/webapp/solr/WEB-INF/lib/lucene-suggest-5.3.1.jar Christian found the following jars duplicated: ./framework/base/lib/clhm-release-1.0-lru.jar ./specialpurpose/solr/webapp/solr/WEB-INF/lib/concurrentlinkedhashmap-lru-1.2.jar Other jars duplicated: ./framework/base/lib/jackson-core-2.4.2.jar ./specialpurpose/solr/webapp/solr/WEB-INF/lib/jackson-core-2.5.4.jar -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OFBIZ-6715) Solr rebuild problem
[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai closed OFBIZ-6715. -- Resolution: Fixed Backported to release 15.12 branch (rev. 1739578). > Solr rebuild problem > > > Key: OFBIZ-6715 > URL: https://issues.apache.org/jira/browse/OFBIZ-6715 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Ingo Wolfmayr >Assignee: Shi Jinghai > Fix For: 15.12.01 > > Attachments: OFBIZ-6715_shi.jinghai_20160208.patch, erromessage.txt, > schema.xml, solr_path.patch, stopwords_de.txt, stopwords_en.txt, > stopwords_fr.txt > > > When I run service "rebuildSolrIndex" I get the following exception: > |E| Request scheduleServiceSync caused an error with the following message: > Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] > target threw an unexpected exception > (org/apache/http/entity/mime/content/ContentBody) > On startup: > |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist > |W| Can't find (or read) directory to add to classloader: lib (resolved as: > /OFBIZHOME/specialpurpose/solr/home/lib). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6715) Solr rebuild problem
[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15245062#comment-15245062 ] Shi Jinghai commented on OFBIZ-6715: Thanks Jacques, Let me backport it to R15.12. I'll complete this today. Kind Regards, > Solr rebuild problem > > > Key: OFBIZ-6715 > URL: https://issues.apache.org/jira/browse/OFBIZ-6715 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Ingo Wolfmayr >Assignee: Shi Jinghai > Fix For: 15.12.01 > > Attachments: OFBIZ-6715_shi.jinghai_20160208.patch, erromessage.txt, > schema.xml, solr_path.patch, stopwords_de.txt, stopwords_en.txt, > stopwords_fr.txt > > > When I run service "rebuildSolrIndex" I get the following exception: > |E| Request scheduleServiceSync caused an error with the following message: > Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] > target threw an unexpected exception > (org/apache/http/entity/mime/content/ContentBody) > On startup: > |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist > |W| Can't find (or read) directory to add to classloader: lib (resolved as: > /OFBIZHOME/specialpurpose/solr/home/lib). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OFBIZ-6715) Solr rebuild problem
[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6715: -- Assignee: Shi Jinghai (was: Jacques Le Roux) > Solr rebuild problem > > > Key: OFBIZ-6715 > URL: https://issues.apache.org/jira/browse/OFBIZ-6715 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Ingo Wolfmayr >Assignee: Shi Jinghai > Fix For: 15.12.01 > > Attachments: OFBIZ-6715_shi.jinghai_20160208.patch, erromessage.txt, > schema.xml, solr_path.patch, stopwords_de.txt, stopwords_en.txt, > stopwords_fr.txt > > > When I run service "rebuildSolrIndex" I get the following exception: > |E| Request scheduleServiceSync caused an error with the following message: > Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] > target threw an unexpected exception > (org/apache/http/entity/mime/content/ContentBody) > On startup: > |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist > |W| Can't find (or read) directory to add to classloader: lib (resolved as: > /OFBIZHOME/specialpurpose/solr/home/lib). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OFBIZ-6715) Solr rebuild problem
[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai closed OFBIZ-6715. -- Resolution: Fixed Fix Version/s: Upcoming Branch Thanks Ingo for the feedback! I close this issue for now. If there's any problem or improvement, please reopen it or create a new one. > Solr rebuild problem > > > Key: OFBIZ-6715 > URL: https://issues.apache.org/jira/browse/OFBIZ-6715 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Ingo Wolfmayr >Assignee: Shi Jinghai > Fix For: Upcoming Branch > > Attachments: OFBIZ-6715_shi.jinghai_20160208.patch, erromessage.txt, > schema.xml, solr_path.patch, stopwords_de.txt, stopwords_en.txt, > stopwords_fr.txt > > > When I run service "rebuildSolrIndex" I get the following exception: > |E| Request scheduleServiceSync caused an error with the following message: > Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] > target threw an unexpected exception > (org/apache/http/entity/mime/content/ContentBody) > On startup: > |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist > |W| Can't find (or read) directory to add to classloader: lib (resolved as: > /OFBIZHOME/specialpurpose/solr/home/lib). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OFBIZ-6755) Update the passport component to use httpclient/core-4.4.1 instead of commons-httpclient-3.1
[ https://issues.apache.org/jira/browse/OFBIZ-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai closed OFBIZ-6755. -- Resolution: Fixed Fixed in rev. 1738407. > Update the passport component to use httpclient/core-4.4.1 instead of > commons-httpclient-3.1 > > > Key: OFBIZ-6755 > URL: https://issues.apache.org/jira/browse/OFBIZ-6755 > Project: OFBiz > Issue Type: Sub-task > Components: specialpurpose/passport >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai > Fix For: Upcoming Branch > > > The passport component uses commons-httpclient-3.1. This librairies is not > only deprecated but also faces a number of vulnerabilties: > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-5262 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3577 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-6153 > The solution is to update to httpclient/core-4.4.1 that we have already in > base/lib -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Issue Comment Deleted] (OFBIZ-6755) Update the passport component to use httpclient/core-4.4.1 instead of commons-httpclient-3.1
[ https://issues.apache.org/jira/browse/OFBIZ-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-6755: --- Comment: was deleted (was: Hi Jacques, Let me test the changes now. I'll feed back in one hour. -邮件原件- 发件人: Jacques Le Roux (JIRA) [mailto:j...@apache.org] 发送时间: 2016年4月4日 17:41 收件人: huaru...@hotmail.com 主题: [jira] [Commented] (OFBIZ-6755) Update the passport component to use httpclient/core-4.4.1 instead of commons-httpclient-3.1 [ https://issues.apache.org/jira/browse/OFBIZ-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15223879#comment-15223879 ] Jacques Le Roux commented on OFBIZ-6755: Hi Jinghai, I'd like to backport r1735021 (and 1736890) in R15.12, what do you think? -- This message was sent by Atlassian JIRA (v6.3.4#6332) ) > Update the passport component to use httpclient/core-4.4.1 instead of > commons-httpclient-3.1 > > > Key: OFBIZ-6755 > URL: https://issues.apache.org/jira/browse/OFBIZ-6755 > Project: OFBiz > Issue Type: Sub-task > Components: specialpurpose/passport >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai > Fix For: Upcoming Branch > > > The passport component uses commons-httpclient-3.1. This librairies is not > only deprecated but also faces a number of vulnerabilties: > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-5262 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3577 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-6153 > The solution is to update to httpclient/core-4.4.1 that we have already in > base/lib -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6755) Update the passport component to use httpclient/core-4.4.1 instead of commons-httpclient-3.1
[ https://issues.apache.org/jira/browse/OFBIZ-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15223931#comment-15223931 ] Shi Jinghai commented on OFBIZ-6755: Hi Jacques, I found I couldn't test this issue as I don't have an internet ip:port to my computor in my workplace. Sorry for such a bad feedback. No sure if anybody has tested the changes. > Update the passport component to use httpclient/core-4.4.1 instead of > commons-httpclient-3.1 > > > Key: OFBIZ-6755 > URL: https://issues.apache.org/jira/browse/OFBIZ-6755 > Project: OFBiz > Issue Type: Sub-task > Components: specialpurpose/passport >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai > Fix For: Upcoming Branch > > > The passport component uses commons-httpclient-3.1. This librairies is not > only deprecated but also faces a number of vulnerabilties: > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-5262 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3577 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-6153 > The solution is to update to httpclient/core-4.4.1 that we have already in > base/lib -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6755) Update the passport component to use httpclient/core-4.4.1 instead of commons-httpclient-3.1
[ https://issues.apache.org/jira/browse/OFBIZ-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15223886#comment-15223886 ] Shi Jinghai commented on OFBIZ-6755: Hi Jacques, Let me test the changes now. I'll feed back in one hour. -邮件原件- 发件人: Jacques Le Roux (JIRA) [mailto:j...@apache.org] 发送时间: 2016年4月4日 17:41 收件人: huaru...@hotmail.com 主题: [jira] [Commented] (OFBIZ-6755) Update the passport component to use httpclient/core-4.4.1 instead of commons-httpclient-3.1 [ https://issues.apache.org/jira/browse/OFBIZ-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15223879#comment-15223879 ] Jacques Le Roux commented on OFBIZ-6755: Hi Jinghai, I'd like to backport r1735021 (and 1736890) in R15.12, what do you think? -- This message was sent by Atlassian JIRA (v6.3.4#6332) > Update the passport component to use httpclient/core-4.4.1 instead of > commons-httpclient-3.1 > > > Key: OFBIZ-6755 > URL: https://issues.apache.org/jira/browse/OFBIZ-6755 > Project: OFBiz > Issue Type: Sub-task > Components: specialpurpose/passport >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai > Fix For: Upcoming Branch > > > The passport component uses commons-httpclient-3.1. This librairies is not > only deprecated but also faces a number of vulnerabilties: > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-5262 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3577 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-6153 > The solution is to update to httpclient/core-4.4.1 that we have already in > base/lib -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6755) Update the passport component to use httpclient/core-4.4.1 instead of commons-httpclient-3.1
[ https://issues.apache.org/jira/browse/OFBIZ-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15194776#comment-15194776 ] Shi Jinghai commented on OFBIZ-6755: I submitted several changes on this issue (rev. 1735021). I'll try to test them later. > Update the passport component to use httpclient/core-4.4.1 instead of > commons-httpclient-3.1 > > > Key: OFBIZ-6755 > URL: https://issues.apache.org/jira/browse/OFBIZ-6755 > Project: OFBiz > Issue Type: Sub-task > Components: specialpurpose/passport >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai > Fix For: Upcoming Branch > > > The passport component uses commons-httpclient-3.1. This librairies is not > only deprecated but also faces a number of vulnerabilties: > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-5262 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3577 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-6153 > The solution is to update to httpclient/core-4.4.1 that we have already in > base/lib -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OFBIZ-6755) Update the passport component to use httpclient/core-4.4.1 instead of commons-httpclient-3.1
[ https://issues.apache.org/jira/browse/OFBIZ-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6755: -- Assignee: Shi Jinghai (was: Jacques Le Roux) > Update the passport component to use httpclient/core-4.4.1 instead of > commons-httpclient-3.1 > > > Key: OFBIZ-6755 > URL: https://issues.apache.org/jira/browse/OFBIZ-6755 > Project: OFBiz > Issue Type: Sub-task > Components: specialpurpose/passport >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai > Fix For: Upcoming Branch > > > The passport component uses commons-httpclient-3.1. This librairies is not > only deprecated but also faces a number of vulnerabilties: > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-5262 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3577 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-6153 > The solution is to update to httpclient-4.5.1 + httpcore-4.4.3 instead > Note that we need to keep commons-httpclient-3.1 because it's needed by > Axis2-1.6.3 which is the latest Axis2 release :/. I got this test error when > removed from service/lib: > {code} > RPC service error (org/apache/commons/httpclient/HttpException) > org.ofbiz.service.GenericServiceException: RPC service error > (org/apache/commons/httpclient/HttpException) > at > org.ofbiz.service.engine.SOAPClientEngine.serviceInvoker(SOAPClientEngine.java:94) > at org.ofbiz.service.engine.SOAPClientEngine.runSync(SOAPClientEngine.java:71) > at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:395) > at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) > at > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88) > at > org.ofbiz.service.test.ServiceSOAPTests.testSOAPService(ServiceSOAPTests.java:54) > at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146) > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:237) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:408) > at org.ofbiz.base.start.Start.start(Start.java:434) > at org.ofbiz.base.start.Start.main(Start.java:135) > Caused by: org.apache.axis2.deployment.DeploymentException: > org/apache/commons/httpclient/HttpException > at > org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:699) > at > org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:123) > at > org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857) > at > org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) > at > org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151) > at org.apache.axis2.client.ServiceClient.(ServiceClient.java:144) > at org.apache.axis2.client.ServiceClient.(ServiceClient.java:251) > at > org.ofbiz.service.engine.SOAPClientEngine.serviceInvoker(SOAPClientEngine.java:88) > Caused by: java.lang.NoClassDefFoundError: > org/apache/commons/httpclient/HttpException > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) > at java.lang.Class.getConstructor0(Class.java:3075) > at java.lang.Class.newInstance(Class.java:412) > at > org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:684) > Caused by: java.lang.ClassNotFoundException: > org.apache.commons.httpclient.HttpException > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6755) Update the passport component to use httpclient/core-4.4.1 instead of commons-httpclient-3.1
[ https://issues.apache.org/jira/browse/OFBIZ-6755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15190196#comment-15190196 ] Shi Jinghai commented on OFBIZ-6755: Hi Jacques, Could you assign this issue to me? I'm eager to fix it. Kind Regards, Shi Jinghai > Update the passport component to use httpclient/core-4.4.1 instead of > commons-httpclient-3.1 > > > Key: OFBIZ-6755 > URL: https://issues.apache.org/jira/browse/OFBIZ-6755 > Project: OFBiz > Issue Type: Sub-task > Components: specialpurpose/passport >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Jacques Le Roux > Fix For: Upcoming Branch > > > The passport component uses commons-httpclient-3.1. This librairies is not > only deprecated but also faces a number of vulnerabilties: > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-5262 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3577 > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-6153 > The solution is to update to httpclient-4.5.1 + httpcore-4.4.3 instead > Note that we need to keep commons-httpclient-3.1 because it's needed by > Axis2-1.6.3 which is the latest Axis2 release :/. I got this test error when > removed from service/lib: > {code} > RPC service error (org/apache/commons/httpclient/HttpException) > org.ofbiz.service.GenericServiceException: RPC service error > (org/apache/commons/httpclient/HttpException) > at > org.ofbiz.service.engine.SOAPClientEngine.serviceInvoker(SOAPClientEngine.java:94) > at org.ofbiz.service.engine.SOAPClientEngine.runSync(SOAPClientEngine.java:71) > at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:395) > at org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:227) > at > org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:88) > at > org.ofbiz.service.test.ServiceSOAPTests.testSOAPService(ServiceSOAPTests.java:54) > at org.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:146) > at org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:237) > at org.ofbiz.base.start.Start.startStartLoaders(Start.java:408) > at org.ofbiz.base.start.Start.start(Start.java:434) > at org.ofbiz.base.start.Start.main(Start.java:135) > Caused by: org.apache.axis2.deployment.DeploymentException: > org/apache/commons/httpclient/HttpException > at > org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:699) > at > org.apache.axis2.deployment.AxisConfigBuilder.populateConfig(AxisConfigBuilder.java:123) > at > org.apache.axis2.deployment.DeploymentEngine.populateAxisConfiguration(DeploymentEngine.java:857) > at > org.apache.axis2.deployment.FileSystemConfigurator.getAxisConfiguration(FileSystemConfigurator.java:116) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:64) > at > org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:210) > at > org.apache.axis2.client.ServiceClient.configureServiceClient(ServiceClient.java:151) > at org.apache.axis2.client.ServiceClient.(ServiceClient.java:144) > at org.apache.axis2.client.ServiceClient.(ServiceClient.java:251) > at > org.ofbiz.service.engine.SOAPClientEngine.serviceInvoker(SOAPClientEngine.java:88) > Caused by: java.lang.NoClassDefFoundError: > org/apache/commons/httpclient/HttpException > at java.lang.Class.getDeclaredConstructors0(Native Method) > at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) > at java.lang.Class.getConstructor0(Class.java:3075) > at java.lang.Class.newInstance(Class.java:412) > at > org.apache.axis2.deployment.AxisConfigBuilder.processTransportSenders(AxisConfigBuilder.java:684) > Caused by: java.lang.ClassNotFoundException: > org.apache.commons.httpclient.HttpException > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6715) Solr rebuild problem
[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15150117#comment-15150117 ] Shi Jinghai commented on OFBIZ-6715: Thanks Ingo! Hope your test can make the implement more usable. I have added an "indexName" attribute to solr services, so I think supporting multiple tenants is ready. But, I'm not sure where to config the indexName, in web.xml or somewhere else? Hope you can make a decision on this problem as well as your test. Kind Regards, Shi Jinghai > Solr rebuild problem > > > Key: OFBIZ-6715 > URL: https://issues.apache.org/jira/browse/OFBIZ-6715 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Ingo Wolfmayr >Assignee: Shi Jinghai > Attachments: OFBIZ-6715_shi.jinghai_20160208.patch, erromessage.txt, > schema.xml, solr_path.patch, stopwords_de.txt, stopwords_en.txt, > stopwords_fr.txt > > > When I run service "rebuildSolrIndex" I get the following exception: > |E| Request scheduleServiceSync caused an error with the following message: > Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] > target threw an unexpected exception > (org/apache/http/entity/mime/content/ContentBody) > On startup: > |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist > |W| Can't find (or read) directory to add to classloader: lib (resolved as: > /OFBIZHOME/specialpurpose/solr/home/lib). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6715) Solr rebuild problem
[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15146521#comment-15146521 ] Shi Jinghai commented on OFBIZ-6715: Hi Ingo, I just submitted a piece of code to trunk rev.1730320. The rebuildSolrIndex service should work now. It would be great appreciated if you can test other solr services as well. When all done, I want to move getAllowAllHttpClient() method to UtilHttp.java and upgrade jackson jars to version 2.5.4. Kind Regards, Shi Jinghai > Solr rebuild problem > > > Key: OFBIZ-6715 > URL: https://issues.apache.org/jira/browse/OFBIZ-6715 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Ingo Wolfmayr >Assignee: Shi Jinghai > Attachments: OFBIZ-6715_shi.jinghai_20160208.patch, erromessage.txt, > schema.xml, solr_path.patch, stopwords_de.txt, stopwords_en.txt, > stopwords_fr.txt > > > When I run service "rebuildSolrIndex" I get the following exception: > |E| Request scheduleServiceSync caused an error with the following message: > Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] > target threw an unexpected exception > (org/apache/http/entity/mime/content/ContentBody) > On startup: > |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist > |W| Can't find (or read) directory to add to classloader: lib (resolved as: > /OFBIZHOME/specialpurpose/solr/home/lib). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6715) Solr rebuild problem
[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-6715: --- Attachment: OFBIZ-6715_shi.jinghai_20160208.patch Hi Ingo, Here's a patch which requires further polish. As you know, it's our new year holiday now, I'll come back in Feb. 12 and continue working on this issue then. You can try this patch if you're in a hurry. Kind Regards, Shi Jinghai > Solr rebuild problem > > > Key: OFBIZ-6715 > URL: https://issues.apache.org/jira/browse/OFBIZ-6715 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Ingo Wolfmayr >Assignee: Shi Jinghai > Attachments: OFBIZ-6715_shi.jinghai_20160208.patch, erromessage.txt, > schema.xml, solr_path.patch, stopwords_de.txt, stopwords_en.txt, > stopwords_fr.txt > > > When I run service "rebuildSolrIndex" I get the following exception: > |E| Request scheduleServiceSync caused an error with the following message: > Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] > target threw an unexpected exception > (org/apache/http/entity/mime/content/ContentBody) > On startup: > |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist > |W| Can't find (or read) directory to add to classloader: lib (resolved as: > /OFBIZHOME/specialpurpose/solr/home/lib). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6715) Solr rebuild problem
[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15131779#comment-15131779 ] Shi Jinghai commented on OFBIZ-6715: Hi Ingo, I'll work on this issue this weekend. I'll submit the code to trunk. Sorry for not working on this issue so long. Regards, Shi Jinghai > Solr rebuild problem > > > Key: OFBIZ-6715 > URL: https://issues.apache.org/jira/browse/OFBIZ-6715 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Ingo Wolfmayr >Assignee: Shi Jinghai > Attachments: erromessage.txt, schema.xml, solr_path.patch, > stopwords_de.txt, stopwords_en.txt, stopwords_fr.txt > > > When I run service "rebuildSolrIndex" I get the following exception: > |E| Request scheduleServiceSync caused an error with the following message: > Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] > target threw an unexpected exception > (org/apache/http/entity/mime/content/ContentBody) > On startup: > |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist > |W| Can't find (or read) directory to add to classloader: lib (resolved as: > /OFBIZHOME/specialpurpose/solr/home/lib). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6610) Upgrade Solr and Lucene librairies to version 5
[ https://issues.apache.org/jira/browse/OFBIZ-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15055571#comment-15055571 ] Shi Jinghai commented on OFBIZ-6610: Hi Jacques, I think this issue could be closed. Kind Regards, > Upgrade Solr and Lucene librairies to version 5 > --- > > Key: OFBIZ-6610 > URL: https://issues.apache.org/jira/browse/OFBIZ-6610 > Project: OFBiz > Issue Type: Task > Components: specialpurpose/lucene, specialpurpose/solr >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai >Priority: Minor > Fix For: Upcoming Branch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6715) Solr rebuild problem
[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15044227#comment-15044227 ] Shi Jinghai commented on OFBIZ-6715: Hi Ingo, I confirmed the errors you described. 1. I agree to remove the line "" in ofbiz-compnent.xml. 2. On the exception "threw an unexpected exception (org/apache/http/entity/mime/content/ContentBody)": I moved httpmime-4.4.1.jar from specialpurpose/solr/webapp/solr/WEB-INF/lib to specialpurpose/solr/lib/runtime/ to resolve it. 3. On the login required message "http://localhost:8080/solr: Expected mime type application/octet-stream but got application/json. {"responseHeader":{"message":"To update a Solr index in OFBiz, you have to login first and have the permission to do so.","status":401}}": I added a login request before the update request and made them use same HttpContext to remove this problem. 4. Now I met a problem as following: 2015-12-06 20:25:35,041 |http-bio-8443-exec-1 |SolrProductSearch |E| Error from server at https://localhost:8443/solr/#/solrdefault/update: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.65 - Error report HTTP Status 405 - HTTP method POST is not supported by this URLtype Status reportmessage HTTP method POST is not supported by this URLdescription The specified HTTP method is not allowed for the requested resource.Apache Tomcat/7.0.65 org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at https://localhost:8443/solr/#/solrdefault/update: Expected mime type application/octet-stream but got text/html. Apache Tomcat/7.0.65 - Error report HTTP Status 405 - HTTP method POST is not supported by this URLtype Status reportmessage HTTP method POST is not supported by this URLdescription The specified HTTP method is not allowed for the requested resource.Apache Tomcat/7.0.65 at org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:528) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17] at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:234) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17] at org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:226) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17] at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:135) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17] at org.apache.solr.client.solrj.SolrClient.deleteByQuery(SolrClient.java:896) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17] at org.apache.solr.client.solrj.SolrClient.deleteByQuery(SolrClient.java:859) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17] at org.apache.solr.client.solrj.SolrClient.deleteByQuery(SolrClient.java:874) ~[solr-solrj-5.3.1.jar:5.3.1 1703449 - noble - 2015-09-17 01:48:17] at org.ofbiz.solr.SolrProductSearch.rebuildSolrIndex(SolrProductSearch.java:692) [ofbiz-solr.jar:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0_60] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0_60] at org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100) [ofbiz-service.jar:?] at org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57) [ofbiz-service.jar:?] at
[jira] [Assigned] (OFBIZ-6715) Solr rebuild problem
[ https://issues.apache.org/jira/browse/OFBIZ-6715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6715: -- Assignee: Shi Jinghai > Solr rebuild problem > > > Key: OFBIZ-6715 > URL: https://issues.apache.org/jira/browse/OFBIZ-6715 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Ingo Wolfmayr >Assignee: Shi Jinghai > Attachments: erromessage.txt, solr_path.patch > > > When I run service "rebuildSolrIndex" I get the following exception: > |E| Request scheduleServiceSync caused an error with the following message: > Der Service Dispatcher hat eine Exception geworfen:Service [rebuildSolrIndex] > target threw an unexpected exception > (org/apache/http/entity/mime/content/ContentBody) > On startup: > |W| Location 'OFBIZHOME/specialpurpose/solr/conf' does not exist > |W| Can't find (or read) directory to add to classloader: lib (resolved as: > /OFBIZHOME/specialpurpose/solr/home/lib). -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6659) When i working with Login with Linkedin In of biz the it is not showing UI part
[ https://issues.apache.org/jira/browse/OFBIZ-6659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-6659: --- Attachment: screenshot-3.jpg Hide and seek, Jacques found my trick. Could you find it, Jawahar? > When i working with Login with Linkedin In of biz the it is not showing UI > part > --- > > Key: OFBIZ-6659 > URL: https://issues.apache.org/jira/browse/OFBIZ-6659 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/passport >Affects Versions: 12.04.05 > Environment: windows >Reporter: jawahar >Assignee: Jacques Le Roux > Attachments: OFBiz-6659-passport-release12.04.patch, > screenshot-1.png, screenshot-2.png, screenshot-3.jpg > > > {code} > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://passport/widget/PassportScreens.xml#ListThirdPartyLogins]: > java.lang.IllegalArgumentException: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method (Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method) > > exception report > -- > [java] Error in request handler: > [java] Exception: org.ofbiz.widget.screen.ScreenRenderException > [java] Message: Error rendering screen > [component://passport/widget/PassportScreens.xml#ListThirdPartyLogins]: > java.lang.IllegalArgumentException: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method (Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method) > [java] cause > - > [java] Exception: java.lang.IllegalArgumentException > [java] Message: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method > [java] stack trace > --- > [java] java.lang.IllegalArgumentException: Error running script at > location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6659) When i working with Login with Linkedin In of biz the it is not showing UI part
[ https://issues.apache.org/jira/browse/OFBIZ-6659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14946099#comment-14946099 ] Shi Jinghai commented on OFBIZ-6659: Hi Jawahar, First of all, calm down and drink 1/3 cup coffee please. Then, you can download ofbiz 12.04 from http://svn.apache.org/repos/asf/ofbiz/branches/release12.04, stop here, click Revision and fill in 1706654, click finish. You can drink 1/3 cup coffee and wait the download completed. View the specialpurpose folder, you can find the passport component, that's the right version you can't miss. Copy it to your project, config, rebuild and run. It should work ... like a charm. Now you can drink the final 1/3 cup coffee. Cheers, PS: Still not work? Forgive me ... I can't help further. The error message in the screenshot is clearly caused by findByAnd method, remove the last 2 parameters should make it work. > When i working with Login with Linkedin In of biz the it is not showing UI > part > --- > > Key: OFBIZ-6659 > URL: https://issues.apache.org/jira/browse/OFBIZ-6659 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/passport >Affects Versions: 12.04.05 > Environment: windows >Reporter: jawahar >Assignee: Jacques Le Roux > Attachments: OFBiz-6659-passport-release12.04.patch, screenshot-1.png > > > {code} > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://passport/widget/PassportScreens.xml#ListThirdPartyLogins]: > java.lang.IllegalArgumentException: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method (Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method) > > exception report > -- > [java] Error in request handler: > [java] Exception: org.ofbiz.widget.screen.ScreenRenderException > [java] Message: Error rendering screen > [component://passport/widget/PassportScreens.xml#ListThirdPartyLogins]: > java.lang.IllegalArgumentException: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method (Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method) > [java] cause > - > [java] Exception: java.lang.IllegalArgumentException > [java] Message: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method > [java] stack trace > --- > [java] java.lang.IllegalArgumentException: Error running script at > location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6610) Upgrade Solr and Lucene librairies to version 5
[ https://issues.apache.org/jira/browse/OFBIZ-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14944980#comment-14944980 ] Shi Jinghai commented on OFBIZ-6610: I submitted a new solr compnent to trunk rev.1707042, here are the changes: 1. Upgrade the solr/lucene component to the latest 5.3.1. 2. Angular related js and html files are removed. 3. The jquery-1.7.2.min.js is removed as it's not used in solr. 4. Change specialpurpose/solr/conf to specialpurpose/solr/home. 5. Move specialpurpose/solr/solrdefault to specialpurpose/solr/home/solrdefault. 6. The files under specialpurpose/solr/home/solrdefault are all from solr-5.3.1 package/server/solr/configsets/sample_techproducts_configs/, the solrconfig.xml is configured: ${solr.data.dir:runtime/indexes} > Upgrade Solr and Lucene librairies to version 5 > --- > > Key: OFBIZ-6610 > URL: https://issues.apache.org/jira/browse/OFBIZ-6610 > Project: OFBiz > Issue Type: Task > Components: specialpurpose/lucene, specialpurpose/solr >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai >Priority: Minor > Fix For: Upcoming Branch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6659) When i working with Login with Linkedin In of biz the it is not showing UI part
[ https://issues.apache.org/jira/browse/OFBIZ-6659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14942602#comment-14942602 ] Shi Jinghai commented on OFBIZ-6659: Hi jawahar, I just modified release-12.04 branch (rev. 1706654): 1. Added passport component to release-12.04 branch. 2. Fixed groovy and java errors caused by findByAnd method. 3. The third party login section is displayed on /ecommerce/control/checkLogin page (see README for details). Please feedback if it works for you. Regards, > When i working with Login with Linkedin In of biz the it is not showing UI > part > --- > > Key: OFBIZ-6659 > URL: https://issues.apache.org/jira/browse/OFBIZ-6659 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/passport >Affects Versions: 12.04.05 > Environment: windows >Reporter: jawahar > > {code} > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://passport/widget/PassportScreens.xml#ListThirdPartyLogins]: > java.lang.IllegalArgumentException: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method (Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method) > > exception report > -- > [java] Error in request handler: > [java] Exception: org.ofbiz.widget.screen.ScreenRenderException > [java] Message: Error rendering screen > [component://passport/widget/PassportScreens.xml#ListThirdPartyLogins]: > java.lang.IllegalArgumentException: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method (Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method) > [java] cause > - > [java] Exception: java.lang.IllegalArgumentException > [java] Message: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method > [java] stack trace > --- > [java] java.lang.IllegalArgumentException: Error running script at > location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6659) When i working with Login with Linkedin In of biz the it is not showing UI part
[ https://issues.apache.org/jira/browse/OFBIZ-6659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14942609#comment-14942609 ] Shi Jinghai commented on OFBIZ-6659: Oh I see. Thank you Jacques for this tip! I'll modify the trunk. > When i working with Login with Linkedin In of biz the it is not showing UI > part > --- > > Key: OFBIZ-6659 > URL: https://issues.apache.org/jira/browse/OFBIZ-6659 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/passport >Affects Versions: 12.04.05 > Environment: windows >Reporter: jawahar > > {code} > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://passport/widget/PassportScreens.xml#ListThirdPartyLogins]: > java.lang.IllegalArgumentException: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method (Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method) > > exception report > -- > [java] Error in request handler: > [java] Exception: org.ofbiz.widget.screen.ScreenRenderException > [java] Message: Error rendering screen > [component://passport/widget/PassportScreens.xml#ListThirdPartyLogins]: > java.lang.IllegalArgumentException: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method (Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method) > [java] cause > - > [java] Exception: java.lang.IllegalArgumentException > [java] Message: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method > [java] stack trace > --- > [java] java.lang.IllegalArgumentException: Error running script at > location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6659) When i working with Login with Linkedin In of biz the it is not showing UI part
[ https://issues.apache.org/jira/browse/OFBIZ-6659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-6659: --- Attachment: OFBiz-6659-passport-release12.04.patch Hi jawahar, Please try this patch on release-12.04. > When i working with Login with Linkedin In of biz the it is not showing UI > part > --- > > Key: OFBIZ-6659 > URL: https://issues.apache.org/jira/browse/OFBIZ-6659 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/passport >Affects Versions: 12.04.05 > Environment: windows >Reporter: jawahar > Attachments: OFBiz-6659-passport-release12.04.patch > > > {code} > org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen > [component://passport/widget/PassportScreens.xml#ListThirdPartyLogins]: > java.lang.IllegalArgumentException: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method (Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method) > > exception report > -- > [java] Error in request handler: > [java] Exception: org.ofbiz.widget.screen.ScreenRenderException > [java] Message: Error rendering screen > [component://passport/widget/PassportScreens.xml#ListThirdPartyLogins]: > java.lang.IllegalArgumentException: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method (Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method) > [java] cause > - > [java] Exception: java.lang.IllegalArgumentException > [java] Message: Error running script at location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method > [java] stack trace > --- > [java] java.lang.IllegalArgumentException: Error running script at > location > [component://passport/webapp/passport/WEB-INF/actions/login/getThirdPartyLogins.groovy]: > java.lang.IllegalArgumentException: You must pass an even sized array to the > toMap method > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OFBIZ-6610) Upgrade Solr and Lucene librairies to version 5
[ https://issues.apache.org/jira/browse/OFBIZ-6610?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6610: -- Assignee: Shi Jinghai > Upgrade Solr and Lucene librairies to version 5 > --- > > Key: OFBIZ-6610 > URL: https://issues.apache.org/jira/browse/OFBIZ-6610 > Project: OFBiz > Issue Type: Task > Components: specialpurpose/lucene, specialpurpose/solr >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai >Priority: Minor > Fix For: Upcoming Branch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6616) Upgrade solr to 4.10.3 or later
[ https://issues.apache.org/jira/browse/OFBIZ-6616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14742386#comment-14742386 ] Shi Jinghai commented on OFBIZ-6616: Sorry Jacques, I didn't notice the OFBIZ-6610. Closed this one. > Upgrade solr to 4.10.3 or later > --- > > Key: OFBIZ-6616 > URL: https://issues.apache.org/jira/browse/OFBIZ-6616 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/lucene, specialpurpose/solr >Affects Versions: Trunk >Reporter: Shi Jinghai >Assignee: Shi Jinghai >Priority: Minor > Fix For: Upcoming Branch > > > As Jacques mentioned in OFBIZ-5042, Solr 4.9.0 has a vulnerable problem: > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3628 > so we should upgrade solr to 4.10.3 and later. > Which solr version should we choose? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OFBIZ-6616) Upgrade solr to 4.10.3 or later
[ https://issues.apache.org/jira/browse/OFBIZ-6616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai closed OFBIZ-6616. -- Resolution: Duplicate Closed as this duplicates to OFBIZ-6610. > Upgrade solr to 4.10.3 or later > --- > > Key: OFBIZ-6616 > URL: https://issues.apache.org/jira/browse/OFBIZ-6616 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/lucene, specialpurpose/solr >Affects Versions: Trunk >Reporter: Shi Jinghai >Assignee: Shi Jinghai >Priority: Minor > Fix For: Upcoming Branch > > > As Jacques mentioned in OFBIZ-5042, Solr 4.9.0 has a vulnerable problem: > https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3628 > so we should upgrade solr to 4.10.3 and later. > Which solr version should we choose? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OFBIZ-4154) Use ZXing to generate QR 2d barcode
[ https://issues.apache.org/jira/browse/OFBIZ-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai closed OFBIZ-4154. -- Resolution: Fixed Fix Version/s: Upcoming Branch It's in trunk. Example page is here: http://demo-trunk-ofbiz.apache.org/example/control/ExampleReportPdfBarcode?exampleId=EX01 > Use ZXing to generate QR 2d barcode > --- > > Key: OFBIZ-4154 > URL: https://issues.apache.org/jira/browse/OFBIZ-4154 > Project: OFBiz > Issue Type: New Feature >Affects Versions: Trunk, Upcoming Branch >Reporter: Shi Yusen >Assignee: Shi Jinghai >Priority: Trivial > Fix For: Upcoming Branch > > Attachments: greetings.png, ofbiz-trunk-zxing.patch, > zxing-core-1.6.jar, zxing-javase-1.6.jar > > Original Estimate: 24h > Remaining Estimate: 24h > > QR 2d barcode gives me a lot of fun when I use an adroid mobile. After google > search, without any difficulty I found zxing: > http://code.google.com/p/zxing/, it's in Apache License. > I'll submit a sample component of zxing to generate 2d qr barcode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6616) Upgrade solr to 4.10.3 or later
Shi Jinghai created OFBIZ-6616: -- Summary: Upgrade solr to 4.10.3 or later Key: OFBIZ-6616 URL: https://issues.apache.org/jira/browse/OFBIZ-6616 Project: OFBiz Issue Type: Improvement Components: specialpurpose/lucene, specialpurpose/solr Affects Versions: Trunk Reporter: Shi Jinghai Assignee: Shi Jinghai Priority: Minor Fix For: Upcoming Branch As Jacques mentioned in OFBIZ-5042, Solr 4.9.0 has a vulnerable problem: https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-3628 so we should upgrade solr to 4.10.3 and later. Which solr version should we choose? -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6617) Add a solr example page of product search pipeline
Shi Jinghai created OFBIZ-6617: -- Summary: Add a solr example page of product search pipeline Key: OFBIZ-6617 URL: https://issues.apache.org/jira/browse/OFBIZ-6617 Project: OFBiz Issue Type: New Feature Components: specialpurpose/solr Affects Versions: Trunk Reporter: Shi Jinghai Priority: Trivial Fix For: Upcoming Branch The example page will look similar to http://find.searchhub.org/p:lucene,solr?q=solr.xml=lucid The left area of the example page will be a pipeline with different categories and results. The right area will be result list with product description, release date, price and etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14732436#comment-14732436 ] Shi Jinghai commented on OFBIZ-5042: I added permission check on /update, /update/json, /update/csv and /update/extract requests in trunk rev. 1701495. These requests are defined in an index's solrconfig.xml. Test case steps: 1. To make test the permission check on solr update requests easier, you can change session time out to 1 minute in specialpurpose/solr/webapp/solr/WEB-INF/web.xml. 2. Login solr, in "Core Selector" choose "solrdefault" -> "Documents", click "Submit Document", the response of this request will be "success". 3. Wait session timeout and click "Submit Document", the response will be "error", "Unauthorized" (http response code 401). If the user has logged in and doesn't have permission, the response will be error 403. > Apache Solr Implementation > -- > > Key: OFBIZ-5042 > URL: https://issues.apache.org/jira/browse/OFBIZ-5042 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/solr >Reporter: Paul Piper >Assignee: Jacques Le Roux > Labels: component, feature, solr > Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in > specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - > solr in specialpurpose.patch, OFBIZ-5042-OFBizComponent.patch, > OFBIZ-5042-OriginalDescription.txt, ofbiz-solr-logo-screenshot.jpg, > ofbiz-solr-logo.png, solr in specialpurpose splitted.z01, solr in > specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in > specialpurpose.zip, solr-v1.00-r4284.zip > > > Apache Solr, a modern search engine, seems to be one of the most commonly > requested feature within the OFBiz community. > The original text of the description can be found under the attachments. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6596) The Solr redirection does not work in trunk demo
[ https://issues.apache.org/jira/browse/OFBIZ-6596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14731960#comment-14731960 ] Shi Jinghai commented on OFBIZ-6596: I submitted a trunk rev. 1701379. Scheme https check is removed, and http://demo-trunk-ofbiz.apache.org/solr/ can be displayed correctly now. > The Solr redirection does not work in trunk demo > > > Key: OFBIZ-6596 > URL: https://issues.apache.org/jira/browse/OFBIZ-6596 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai >Priority: Minor > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6601) example component causes exceptions
[ https://issues.apache.org/jira/browse/OFBIZ-6601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14732185#comment-14732185 ] Shi Jinghai commented on OFBIZ-6601: Thanks Wai! I submitted a patch to try to resolve this issue: 1. Add specialpurpose/webapp/exampleext/error/error.jsp to display error page. 2. Move specialpurpose/example/widget/exampleext to specialpurpose/exampleext/widget/example. It's in trunk rev. 1701441. > example component causes exceptions > --- > > Key: OFBIZ-6601 > URL: https://issues.apache.org/jira/browse/OFBIZ-6601 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example >Affects Versions: Trunk > Environment: Try this link > https://localhost:8443/exampleext/control/EditExample?exampleId=EX02 >Reporter: Wai >Assignee: Shi Jinghai > Fix For: Upcoming Branch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OFBIZ-6601) example component causes exceptions
[ https://issues.apache.org/jira/browse/OFBIZ-6601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6601: -- Assignee: Shi Jinghai > example component causes exceptions > --- > > Key: OFBIZ-6601 > URL: https://issues.apache.org/jira/browse/OFBIZ-6601 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example >Affects Versions: Trunk > Environment: Try this link > https://localhost:8443/exampleext/control/EditExample?exampleId=EX02 >Reporter: Wai >Assignee: Shi Jinghai > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6601) example component causes exceptions
[ https://issues.apache.org/jira/browse/OFBIZ-6601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-6601: --- Fix Version/s: Upcoming Branch > example component causes exceptions > --- > > Key: OFBIZ-6601 > URL: https://issues.apache.org/jira/browse/OFBIZ-6601 > Project: OFBiz > Issue Type: Bug > Components: specialpurpose/example >Affects Versions: Trunk > Environment: Try this link > https://localhost:8443/exampleext/control/EditExample?exampleId=EX02 >Reporter: Wai >Assignee: Shi Jinghai > Fix For: Upcoming Branch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OFBIZ-6596) The Solr redirection does not work in trunk demo
[ https://issues.apache.org/jira/browse/OFBIZ-6596?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6596: -- Assignee: Shi Jinghai > The Solr redirection does not work in trunk demo > > > Key: OFBIZ-6596 > URL: https://issues.apache.org/jira/browse/OFBIZ-6596 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai >Priority: Minor > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6596) The Solr redirection does not work in trunk demo
[ https://issues.apache.org/jira/browse/OFBIZ-6596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14727048#comment-14727048 ] Shi Jinghai commented on OFBIZ-6596: I submitted some changes to trunk rev. 1700739: 1. Use response.sendRedirect to forward url to login page instead of the response.setHeader("location", url), this avoids the warning messages from EntityUtilProperties. Besides, when testing in similar config as demo-ofbiz-trunk is (only 80 and 443 open, port 80 -> 8080, port 443 -> 8443), this change can keep the url to 80 or 443. 2. Replace tabs to spaces in several java files. Hope it works on demo-ofbiz-trunk. > The Solr redirection does not work in trunk demo > > > Key: OFBIZ-6596 > URL: https://issues.apache.org/jira/browse/OFBIZ-6596 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai >Priority: Minor > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6596) The Solr redirection does not work in trunk demo
[ https://issues.apache.org/jira/browse/OFBIZ-6596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14727085#comment-14727085 ] Shi Jinghai commented on OFBIZ-6596: Just tested locally, not work well. > The Solr redirection does not work in trunk demo > > > Key: OFBIZ-6596 > URL: https://issues.apache.org/jira/browse/OFBIZ-6596 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/solr >Affects Versions: Trunk >Reporter: Jacques Le Roux >Assignee: Shi Jinghai >Priority: Minor > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14724979#comment-14724979 ] Shi Jinghai commented on OFBIZ-5042: Thanks Pierre! I'll check this problem. > Apache Solr Implementation > -- > > Key: OFBIZ-5042 > URL: https://issues.apache.org/jira/browse/OFBIZ-5042 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Reporter: Paul Piper >Assignee: Jacques Le Roux > Labels: component, feature, solr > Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in > specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - > solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in > specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in > specialpurpose.zip, solr-v1.00-r4284.zip > > > Apache Solr, a modern search engine, seems to be one of the most commonly > requested feature within the OFBiz community. With my agency, ilscipio, we > have done several Apache Solr implementations in the past, and we felt that > we could contribute this feature to the community. Currently, Solr is greatly > used within syracus.net (our standalone store) and serves to generate the > categories & search functionalities. From our team mainly Pascal Proulx, > Jonatan Soto and I were involved in this feature (albeit more having > contributed to it. We created a standalone component which can be integrated > into any running ofbiz implementation. It was tested against OFBiz 09.04 - > 12.04.. > = > Solr Component for Apache Ofbiz > = > This document describes the Ofbiz solr component, an Ofbiz > (http://ofbiz.apache.org/) > implementation of the Apache Solr search platform > (http://lucene.apache.org/solr/). > The solr component includes an Ofbiz service-based wrapper layer to the > Apache Solr > webapp queries as well as the native Apache Solr web interface itself. > Currently, the solr component focuses on Product data. > Note: This document is a work in progress; information is subject to change. > Contents: > 1. Installation > 2. Configuration > 3. Data Indexing > 4. Data Querying > 5. Implementation Concerns > 6. Known Bugs, Limitations and Issues > - > 1. Installation > - > To install solr in an Ofbiz setting, simply extract the solr directory and > and sub-folders to the hot-deploy folder. > Afterward, the solr home system property (solr.solr.home) must be set to the > value > hot-deploy/solr manually using one of the following methods: > * solr.solr.home in batch/script file: > Add the parameter "-Dsolr.solr.home=hot-deploy/solr" to the Java command > invocation for ofbiz.jar. > e.g.: > "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m > -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar > * solr.solr.home in Ant build configuration: > In your root Ofbiz build.xml file, add the element " value="-Dsolr.solr.home=hot-deploy/solr"/>" > to the "" invocation of the appropriate Ant > target(s) (run, start, run-install, etc.). > e.g.: > {code} > > > > > > > > > {code} > *** > It may be possible to specify solr home using other methods (JNDI, web.xml), > but at the time > of this writing, this was the most reliable method known. > - > 2. Configuration > - > The solr component can run out-of-the-box without configuration, but many > files, settings and interfaces allow custom settings. Some of these include: > * Ofbiz configurations: > ** System properties: > *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, > see Data Indexing) > ** Config files: > *** solr/config/solrconfig.properties - Ofbiz solr service behavior control > *** ofbiz-component.xml - Standard Ofbiz component config > * Apache Solr configurations: > ** System properties: > *** solr.solr.home - Solr home (see Installation) > ** Config files: > *** solr.xml - Base solr config > *** conf/schema.xml - Solr index schema > *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config > ** Interfaces: > *** /solr/admin/ - Webapp admin interface (see below) > *** > It is possible to set extensive native Solr configuration using > the admin webapp interface noted above. It should be accessible at the > address: > http://localhost:8080/solr/admin/ > (where 8080 is your server's http port) > Please refer to the Apache Solr documentation for usage of this interface > and other native Solr configuration details. >
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725061#comment-14725061 ] Shi Jinghai commented on OFBIZ-5042: Yes, thanks. I think this is reason why Pierre has a build problem. I'll submit the patch to trunk. > Apache Solr Implementation > -- > > Key: OFBIZ-5042 > URL: https://issues.apache.org/jira/browse/OFBIZ-5042 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Reporter: Paul Piper >Assignee: Jacques Le Roux > Labels: component, feature, solr > Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in > specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - > solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in > specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in > specialpurpose.zip, solr-v1.00-r4284.zip > > > Apache Solr, a modern search engine, seems to be one of the most commonly > requested feature within the OFBiz community. With my agency, ilscipio, we > have done several Apache Solr implementations in the past, and we felt that > we could contribute this feature to the community. Currently, Solr is greatly > used within syracus.net (our standalone store) and serves to generate the > categories & search functionalities. From our team mainly Pascal Proulx, > Jonatan Soto and I were involved in this feature (albeit more having > contributed to it. We created a standalone component which can be integrated > into any running ofbiz implementation. It was tested against OFBiz 09.04 - > 12.04.. > = > Solr Component for Apache Ofbiz > = > This document describes the Ofbiz solr component, an Ofbiz > (http://ofbiz.apache.org/) > implementation of the Apache Solr search platform > (http://lucene.apache.org/solr/). > The solr component includes an Ofbiz service-based wrapper layer to the > Apache Solr > webapp queries as well as the native Apache Solr web interface itself. > Currently, the solr component focuses on Product data. > Note: This document is a work in progress; information is subject to change. > Contents: > 1. Installation > 2. Configuration > 3. Data Indexing > 4. Data Querying > 5. Implementation Concerns > 6. Known Bugs, Limitations and Issues > - > 1. Installation > - > To install solr in an Ofbiz setting, simply extract the solr directory and > and sub-folders to the hot-deploy folder. > Afterward, the solr home system property (solr.solr.home) must be set to the > value > hot-deploy/solr manually using one of the following methods: > * solr.solr.home in batch/script file: > Add the parameter "-Dsolr.solr.home=hot-deploy/solr" to the Java command > invocation for ofbiz.jar. > e.g.: > "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m > -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar > * solr.solr.home in Ant build configuration: > In your root Ofbiz build.xml file, add the element " value="-Dsolr.solr.home=hot-deploy/solr"/>" > to the "" invocation of the appropriate Ant > target(s) (run, start, run-install, etc.). > e.g.: > {code} > > > > > > > > > {code} > *** > It may be possible to specify solr home using other methods (JNDI, web.xml), > but at the time > of this writing, this was the most reliable method known. > - > 2. Configuration > - > The solr component can run out-of-the-box without configuration, but many > files, settings and interfaces allow custom settings. Some of these include: > * Ofbiz configurations: > ** System properties: > *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, > see Data Indexing) > ** Config files: > *** solr/config/solrconfig.properties - Ofbiz solr service behavior control > *** ofbiz-component.xml - Standard Ofbiz component config > * Apache Solr configurations: > ** System properties: > *** solr.solr.home - Solr home (see Installation) > ** Config files: > *** solr.xml - Base solr config > *** conf/schema.xml - Solr index schema > *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config > ** Interfaces: > *** /solr/admin/ - Webapp admin interface (see below) > *** > It is possible to set extensive native Solr configuration using > the admin webapp interface noted above. It should be accessible at the > address: > http://localhost:8080/solr/admin/ > (where 8080 is your server's http port) > Please refer to the Apache Solr documentation for usage of this interface >
[jira] [Assigned] (OFBIZ-6591) ofbiz does not compile
[ https://issues.apache.org/jira/browse/OFBIZ-6591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6591: -- Assignee: Shi Jinghai > ofbiz does not compile > -- > > Key: OFBIZ-6591 > URL: https://issues.apache.org/jira/browse/OFBIZ-6591 > Project: OFBiz > Issue Type: Bug > Components: ALL APPLICATIONS >Affects Versions: Trunk >Reporter: Wai >Assignee: Shi Jinghai > Attachments: OFBIZ-6591.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14724997#comment-14724997 ] Shi Jinghai commented on OFBIZ-5042: Please check whether lucene component is enabled. Solr component depends on it. > Apache Solr Implementation > -- > > Key: OFBIZ-5042 > URL: https://issues.apache.org/jira/browse/OFBIZ-5042 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Reporter: Paul Piper >Assignee: Jacques Le Roux > Labels: component, feature, solr > Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in > specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - > solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in > specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in > specialpurpose.zip, solr-v1.00-r4284.zip > > > Apache Solr, a modern search engine, seems to be one of the most commonly > requested feature within the OFBiz community. With my agency, ilscipio, we > have done several Apache Solr implementations in the past, and we felt that > we could contribute this feature to the community. Currently, Solr is greatly > used within syracus.net (our standalone store) and serves to generate the > categories & search functionalities. From our team mainly Pascal Proulx, > Jonatan Soto and I were involved in this feature (albeit more having > contributed to it. We created a standalone component which can be integrated > into any running ofbiz implementation. It was tested against OFBiz 09.04 - > 12.04.. > = > Solr Component for Apache Ofbiz > = > This document describes the Ofbiz solr component, an Ofbiz > (http://ofbiz.apache.org/) > implementation of the Apache Solr search platform > (http://lucene.apache.org/solr/). > The solr component includes an Ofbiz service-based wrapper layer to the > Apache Solr > webapp queries as well as the native Apache Solr web interface itself. > Currently, the solr component focuses on Product data. > Note: This document is a work in progress; information is subject to change. > Contents: > 1. Installation > 2. Configuration > 3. Data Indexing > 4. Data Querying > 5. Implementation Concerns > 6. Known Bugs, Limitations and Issues > - > 1. Installation > - > To install solr in an Ofbiz setting, simply extract the solr directory and > and sub-folders to the hot-deploy folder. > Afterward, the solr home system property (solr.solr.home) must be set to the > value > hot-deploy/solr manually using one of the following methods: > * solr.solr.home in batch/script file: > Add the parameter "-Dsolr.solr.home=hot-deploy/solr" to the Java command > invocation for ofbiz.jar. > e.g.: > "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m > -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar > * solr.solr.home in Ant build configuration: > In your root Ofbiz build.xml file, add the element " value="-Dsolr.solr.home=hot-deploy/solr"/>" > to the "" invocation of the appropriate Ant > target(s) (run, start, run-install, etc.). > e.g.: > {code} > > > > > > > > > {code} > *** > It may be possible to specify solr home using other methods (JNDI, web.xml), > but at the time > of this writing, this was the most reliable method known. > - > 2. Configuration > - > The solr component can run out-of-the-box without configuration, but many > files, settings and interfaces allow custom settings. Some of these include: > * Ofbiz configurations: > ** System properties: > *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, > see Data Indexing) > ** Config files: > *** solr/config/solrconfig.properties - Ofbiz solr service behavior control > *** ofbiz-component.xml - Standard Ofbiz component config > * Apache Solr configurations: > ** System properties: > *** solr.solr.home - Solr home (see Installation) > ** Config files: > *** solr.xml - Base solr config > *** conf/schema.xml - Solr index schema > *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config > ** Interfaces: > *** /solr/admin/ - Webapp admin interface (see below) > *** > It is possible to set extensive native Solr configuration using > the admin webapp interface noted above. It should be accessible at the > address: > http://localhost:8080/solr/admin/ > (where 8080 is your server's http port) > Please refer to the Apache Solr documentation for usage of this interface > and other native
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725106#comment-14725106 ] Shi Jinghai commented on OFBIZ-5042: Pierre, I have updated specialpurpse/LICENSE to include all jars under specialpurpose/solr/, trunk rev. 1700461. Thanks, > Apache Solr Implementation > -- > > Key: OFBIZ-5042 > URL: https://issues.apache.org/jira/browse/OFBIZ-5042 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Reporter: Paul Piper >Assignee: Jacques Le Roux > Labels: component, feature, solr > Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in > specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - > solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in > specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in > specialpurpose.zip, solr-v1.00-r4284.zip > > > Apache Solr, a modern search engine, seems to be one of the most commonly > requested feature within the OFBiz community. With my agency, ilscipio, we > have done several Apache Solr implementations in the past, and we felt that > we could contribute this feature to the community. Currently, Solr is greatly > used within syracus.net (our standalone store) and serves to generate the > categories & search functionalities. From our team mainly Pascal Proulx, > Jonatan Soto and I were involved in this feature (albeit more having > contributed to it. We created a standalone component which can be integrated > into any running ofbiz implementation. It was tested against OFBiz 09.04 - > 12.04.. > = > Solr Component for Apache Ofbiz > = > This document describes the Ofbiz solr component, an Ofbiz > (http://ofbiz.apache.org/) > implementation of the Apache Solr search platform > (http://lucene.apache.org/solr/). > The solr component includes an Ofbiz service-based wrapper layer to the > Apache Solr > webapp queries as well as the native Apache Solr web interface itself. > Currently, the solr component focuses on Product data. > Note: This document is a work in progress; information is subject to change. > Contents: > 1. Installation > 2. Configuration > 3. Data Indexing > 4. Data Querying > 5. Implementation Concerns > 6. Known Bugs, Limitations and Issues > - > 1. Installation > - > To install solr in an Ofbiz setting, simply extract the solr directory and > and sub-folders to the hot-deploy folder. > Afterward, the solr home system property (solr.solr.home) must be set to the > value > hot-deploy/solr manually using one of the following methods: > * solr.solr.home in batch/script file: > Add the parameter "-Dsolr.solr.home=hot-deploy/solr" to the Java command > invocation for ofbiz.jar. > e.g.: > "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m > -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar > * solr.solr.home in Ant build configuration: > In your root Ofbiz build.xml file, add the element " value="-Dsolr.solr.home=hot-deploy/solr"/>" > to the "" invocation of the appropriate Ant > target(s) (run, start, run-install, etc.). > e.g.: > {code} > > > > > > > > > {code} > *** > It may be possible to specify solr home using other methods (JNDI, web.xml), > but at the time > of this writing, this was the most reliable method known. > - > 2. Configuration > - > The solr component can run out-of-the-box without configuration, but many > files, settings and interfaces allow custom settings. Some of these include: > * Ofbiz configurations: > ** System properties: > *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, > see Data Indexing) > ** Config files: > *** solr/config/solrconfig.properties - Ofbiz solr service behavior control > *** ofbiz-component.xml - Standard Ofbiz component config > * Apache Solr configurations: > ** System properties: > *** solr.solr.home - Solr home (see Installation) > ** Config files: > *** solr.xml - Base solr config > *** conf/schema.xml - Solr index schema > *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config > ** Interfaces: > *** /solr/admin/ - Webapp admin interface (see below) > *** > It is possible to set extensive native Solr configuration using > the admin webapp interface noted above. It should be accessible at the > address: > http://localhost:8080/solr/admin/ > (where 8080 is your server's http port) > Please refer to the Apache Solr documentation for
[jira] [Commented] (OFBIZ-6591) ofbiz does not compile
[ https://issues.apache.org/jira/browse/OFBIZ-6591?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725079#comment-14725079 ] Shi Jinghai commented on OFBIZ-6591: The patch is in trunk rev. 1700448. Thanks Wai and Jacques! > ofbiz does not compile > -- > > Key: OFBIZ-6591 > URL: https://issues.apache.org/jira/browse/OFBIZ-6591 > Project: OFBiz > Issue Type: Bug > Components: ALL APPLICATIONS >Affects Versions: Trunk >Reporter: Wai >Assignee: Shi Jinghai > Attachments: OFBIZ-6591.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14726761#comment-14726761 ] Shi Jinghai commented on OFBIZ-5042: I tried to login solr on demo-trunk-ofbiz and still got too many redirects problem. In the log from webtools: {code} 2015-09-02 04:26:19,520 |http-bio-8080-exec-6 |ConfigXMLReader |I| controller loaded: 0.0s, 4 requests, 0 views in jndi:/0.0.0.0/solr/WEB-INF/controller.xml 2015-09-02 04:26:19,528 |http-bio-8080-exec-6 |ConfigXMLReader |I| controller loaded: 0.0s, 40 requests, 19 views in file:/home/ofbizDemo/trunk/framework/common/webcommon/WEB-INF/common-controller.xml 2015-09-02 04:26:19,535 |http-bio-8080-exec-6 |ConfigXMLReader |I| controller loaded: 0.0s, 0 requests, 0 views in file:/home/ofbizDemo/trunk/framework/common/webcommon/WEB-INF/handlers-controller.xml 2015-09-02 04:26:19,543 |http-bio-8080-exec-6 |ConfigXMLReader |I| controller loaded: 0.0s, 4 requests, 0 views in file:/home/ofbizDemo/trunk/applications/commonext/webapp/WEB-INF/controller.xml 2015-09-02 04:26:20,892 |http-bio-8080-exec-9 |EntityUtilProperties |W| Could not get a system property for port.http : null 2015-09-02 04:26:20,892 |http-bio-8080-exec-9 |EntityUtilProperties |W| Could not get a system property for force.http.host : null 2015-09-02 04:26:20,892 |http-bio-8080-exec-9 |EntityUtilProperties |W| Could not get a system property for port.https : null 2015-09-02 04:26:20,892 |http-bio-8080-exec-9 |EntityUtilProperties |W| Could not get a system property for force.https.host : null 2015-09-02 04:26:20,893 |http-bio-8080-exec-9 |EntityUtilProperties |W| Could not get a system property for port.https.enabled : null 2015-09-02 04:26:25,012 |http-bio-8080-exec-1 |ControlEventListener |I| Creating session: 737AB35A90C0CBB3761533CF15782A68.jvm1 2015-09-02 04:26:25,013 |http-bio-8080-exec-1 |ControlServlet |T| [[[main(Domain:http://ofbiz-vm.apache.org)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] {code} I'm working on this problem. > Apache Solr Implementation > -- > > Key: OFBIZ-5042 > URL: https://issues.apache.org/jira/browse/OFBIZ-5042 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/solr >Reporter: Paul Piper >Assignee: Jacques Le Roux > Labels: component, feature, solr > Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in > specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - > solr in specialpurpose.patch, OFBIZ-5042-OFBizComponent.patch, > ofbiz-solr-logo-screenshot.jpg, ofbiz-solr-logo.png, solr in specialpurpose > splitted.z01, solr in specialpurpose splitted.z02, solr in specialpurpose > splitted.zip, solr in specialpurpose.zip, solr-v1.00-r4284.zip > > > Apache Solr, a modern search engine, seems to be one of the most commonly > requested feature within the OFBiz community. With my agency, ilscipio, we > have done several Apache Solr implementations in the past, and we felt that > we could contribute this feature to the community. Currently, Solr is greatly > used within syracus.net (our standalone store) and serves to generate the > categories & search functionalities. From our team mainly Pascal Proulx, > Jonatan Soto and I were involved in this feature (albeit more having > contributed to it. We created a standalone component which can be integrated > into any running ofbiz implementation. It was tested against OFBiz 09.04 - > 12.04.. > = > Solr Component for Apache Ofbiz > = > This document describes the Ofbiz solr component, an Ofbiz > (http://ofbiz.apache.org/) > implementation of the Apache Solr search platform > (http://lucene.apache.org/solr/). > The solr component includes an Ofbiz service-based wrapper layer to the > Apache Solr > webapp queries as well as the native Apache Solr web interface itself. > Currently, the solr component focuses on Product data. > Note: This document is a work in progress; information is subject to change. > Contents: > 1. Installation > 2. Configuration > 3. Data Indexing > 4. Data Querying > 5. Implementation Concerns > 6. Known Bugs, Limitations and Issues > - > 1. Installation > - > To install solr in an Ofbiz setting, simply extract the solr directory and > and sub-folders to the hot-deploy folder. > Afterward, the solr home system property (solr.solr.home) must be set to the > value > hot-deploy/solr manually using one of the following methods: > * solr.solr.home in batch/script file: > Add the parameter "-Dsolr.solr.home=hot-deploy/solr" to the Java command > invocation for ofbiz.jar. > e.g.: >
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14725580#comment-14725580 ] Shi Jinghai commented on OFBIZ-5042: Thanks Pierre! Your patch is in trunk rev. 1700599. > Apache Solr Implementation > -- > > Key: OFBIZ-5042 > URL: https://issues.apache.org/jira/browse/OFBIZ-5042 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/solr >Reporter: Paul Piper >Assignee: Jacques Le Roux > Labels: component, feature, solr > Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in > specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - > solr in specialpurpose.patch, OFBIZ-5042-OFBizComponent.patch, solr in > specialpurpose splitted.z01, solr in specialpurpose splitted.z02, solr in > specialpurpose splitted.zip, solr in specialpurpose.zip, solr-v1.00-r4284.zip > > > Apache Solr, a modern search engine, seems to be one of the most commonly > requested feature within the OFBiz community. With my agency, ilscipio, we > have done several Apache Solr implementations in the past, and we felt that > we could contribute this feature to the community. Currently, Solr is greatly > used within syracus.net (our standalone store) and serves to generate the > categories & search functionalities. From our team mainly Pascal Proulx, > Jonatan Soto and I were involved in this feature (albeit more having > contributed to it. We created a standalone component which can be integrated > into any running ofbiz implementation. It was tested against OFBiz 09.04 - > 12.04.. > = > Solr Component for Apache Ofbiz > = > This document describes the Ofbiz solr component, an Ofbiz > (http://ofbiz.apache.org/) > implementation of the Apache Solr search platform > (http://lucene.apache.org/solr/). > The solr component includes an Ofbiz service-based wrapper layer to the > Apache Solr > webapp queries as well as the native Apache Solr web interface itself. > Currently, the solr component focuses on Product data. > Note: This document is a work in progress; information is subject to change. > Contents: > 1. Installation > 2. Configuration > 3. Data Indexing > 4. Data Querying > 5. Implementation Concerns > 6. Known Bugs, Limitations and Issues > - > 1. Installation > - > To install solr in an Ofbiz setting, simply extract the solr directory and > and sub-folders to the hot-deploy folder. > Afterward, the solr home system property (solr.solr.home) must be set to the > value > hot-deploy/solr manually using one of the following methods: > * solr.solr.home in batch/script file: > Add the parameter "-Dsolr.solr.home=hot-deploy/solr" to the Java command > invocation for ofbiz.jar. > e.g.: > "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m > -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar > * solr.solr.home in Ant build configuration: > In your root Ofbiz build.xml file, add the element " value="-Dsolr.solr.home=hot-deploy/solr"/>" > to the "" invocation of the appropriate Ant > target(s) (run, start, run-install, etc.). > e.g.: > {code} > > > > > > > > > {code} > *** > It may be possible to specify solr home using other methods (JNDI, web.xml), > but at the time > of this writing, this was the most reliable method known. > - > 2. Configuration > - > The solr component can run out-of-the-box without configuration, but many > files, settings and interfaces allow custom settings. Some of these include: > * Ofbiz configurations: > ** System properties: > *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, > see Data Indexing) > ** Config files: > *** solr/config/solrconfig.properties - Ofbiz solr service behavior control > *** ofbiz-component.xml - Standard Ofbiz component config > * Apache Solr configurations: > ** System properties: > *** solr.solr.home - Solr home (see Installation) > ** Config files: > *** solr.xml - Base solr config > *** conf/schema.xml - Solr index schema > *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config > ** Interfaces: > *** /solr/admin/ - Webapp admin interface (see below) > *** > It is possible to set extensive native Solr configuration using > the admin webapp interface noted above. It should be accessible at the > address: > http://localhost:8080/solr/admin/ > (where 8080 is your server's http port) > Please refer to the Apache Solr documentation for usage of this interface > and other
[jira] [Updated] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-5042: --- Attachment: ofbiz-solr-logo.png ofbiz-solr-logo-screenshot.jpg The ofbiz-solr-logo.png is a new logo I want to replace the solr logo. Not sure whether it's ok to go. > Apache Solr Implementation > -- > > Key: OFBIZ-5042 > URL: https://issues.apache.org/jira/browse/OFBIZ-5042 > Project: OFBiz > Issue Type: Improvement > Components: specialpurpose/solr >Reporter: Paul Piper >Assignee: Jacques Le Roux > Labels: component, feature, solr > Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in > specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - > solr in specialpurpose.patch, OFBIZ-5042-OFBizComponent.patch, > ofbiz-solr-logo-screenshot.jpg, ofbiz-solr-logo.png, solr in specialpurpose > splitted.z01, solr in specialpurpose splitted.z02, solr in specialpurpose > splitted.zip, solr in specialpurpose.zip, solr-v1.00-r4284.zip > > > Apache Solr, a modern search engine, seems to be one of the most commonly > requested feature within the OFBiz community. With my agency, ilscipio, we > have done several Apache Solr implementations in the past, and we felt that > we could contribute this feature to the community. Currently, Solr is greatly > used within syracus.net (our standalone store) and serves to generate the > categories & search functionalities. From our team mainly Pascal Proulx, > Jonatan Soto and I were involved in this feature (albeit more having > contributed to it. We created a standalone component which can be integrated > into any running ofbiz implementation. It was tested against OFBiz 09.04 - > 12.04.. > = > Solr Component for Apache Ofbiz > = > This document describes the Ofbiz solr component, an Ofbiz > (http://ofbiz.apache.org/) > implementation of the Apache Solr search platform > (http://lucene.apache.org/solr/). > The solr component includes an Ofbiz service-based wrapper layer to the > Apache Solr > webapp queries as well as the native Apache Solr web interface itself. > Currently, the solr component focuses on Product data. > Note: This document is a work in progress; information is subject to change. > Contents: > 1. Installation > 2. Configuration > 3. Data Indexing > 4. Data Querying > 5. Implementation Concerns > 6. Known Bugs, Limitations and Issues > - > 1. Installation > - > To install solr in an Ofbiz setting, simply extract the solr directory and > and sub-folders to the hot-deploy folder. > Afterward, the solr home system property (solr.solr.home) must be set to the > value > hot-deploy/solr manually using one of the following methods: > * solr.solr.home in batch/script file: > Add the parameter "-Dsolr.solr.home=hot-deploy/solr" to the Java command > invocation for ofbiz.jar. > e.g.: > "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m > -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar > * solr.solr.home in Ant build configuration: > In your root Ofbiz build.xml file, add the element " value="-Dsolr.solr.home=hot-deploy/solr"/>" > to the "" invocation of the appropriate Ant > target(s) (run, start, run-install, etc.). > e.g.: > {code} > > > > > > > > > {code} > *** > It may be possible to specify solr home using other methods (JNDI, web.xml), > but at the time > of this writing, this was the most reliable method known. > - > 2. Configuration > - > The solr component can run out-of-the-box without configuration, but many > files, settings and interfaces allow custom settings. Some of these include: > * Ofbiz configurations: > ** System properties: > *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, > see Data Indexing) > ** Config files: > *** solr/config/solrconfig.properties - Ofbiz solr service behavior control > *** ofbiz-component.xml - Standard Ofbiz component config > * Apache Solr configurations: > ** System properties: > *** solr.solr.home - Solr home (see Installation) > ** Config files: > *** solr.xml - Base solr config > *** conf/schema.xml - Solr index schema > *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config > ** Interfaces: > *** /solr/admin/ - Webapp admin interface (see below) > *** > It is possible to set extensive native Solr configuration using > the admin webapp interface noted above. It should be accessible at the > address: >
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14724723#comment-14724723 ] Shi Jinghai commented on OFBIZ-5042: Thanks Pierre! I'll check the licenses of the jars and update the /LICENSE file. > Apache Solr Implementation > -- > > Key: OFBIZ-5042 > URL: https://issues.apache.org/jira/browse/OFBIZ-5042 > Project: OFBiz > Issue Type: Improvement > Components: ALL COMPONENTS >Reporter: Paul Piper >Assignee: Jacques Le Roux > Labels: component, feature, solr > Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in > specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - > solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in > specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in > specialpurpose.zip, solr-v1.00-r4284.zip > > > Apache Solr, a modern search engine, seems to be one of the most commonly > requested feature within the OFBiz community. With my agency, ilscipio, we > have done several Apache Solr implementations in the past, and we felt that > we could contribute this feature to the community. Currently, Solr is greatly > used within syracus.net (our standalone store) and serves to generate the > categories & search functionalities. From our team mainly Pascal Proulx, > Jonatan Soto and I were involved in this feature (albeit more having > contributed to it. We created a standalone component which can be integrated > into any running ofbiz implementation. It was tested against OFBiz 09.04 - > 12.04.. > = > Solr Component for Apache Ofbiz > = > This document describes the Ofbiz solr component, an Ofbiz > (http://ofbiz.apache.org/) > implementation of the Apache Solr search platform > (http://lucene.apache.org/solr/). > The solr component includes an Ofbiz service-based wrapper layer to the > Apache Solr > webapp queries as well as the native Apache Solr web interface itself. > Currently, the solr component focuses on Product data. > Note: This document is a work in progress; information is subject to change. > Contents: > 1. Installation > 2. Configuration > 3. Data Indexing > 4. Data Querying > 5. Implementation Concerns > 6. Known Bugs, Limitations and Issues > - > 1. Installation > - > To install solr in an Ofbiz setting, simply extract the solr directory and > and sub-folders to the hot-deploy folder. > Afterward, the solr home system property (solr.solr.home) must be set to the > value > hot-deploy/solr manually using one of the following methods: > * solr.solr.home in batch/script file: > Add the parameter "-Dsolr.solr.home=hot-deploy/solr" to the Java command > invocation for ofbiz.jar. > e.g.: > "%JAVA_HOME%\bin\java" -Xms128M -Xmx512M -XX:MaxPermSize=512m > -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar > * solr.solr.home in Ant build configuration: > In your root Ofbiz build.xml file, add the element " value="-Dsolr.solr.home=hot-deploy/solr"/>" > to the "" invocation of the appropriate Ant > target(s) (run, start, run-install, etc.). > e.g.: > {code} > > > > > > > > > {code} > *** > It may be possible to specify solr home using other methods (JNDI, web.xml), > but at the time > of this writing, this was the most reliable method known. > - > 2. Configuration > - > The solr component can run out-of-the-box without configuration, but many > files, settings and interfaces allow custom settings. Some of these include: > * Ofbiz configurations: > ** System properties: > *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, > see Data Indexing) > ** Config files: > *** solr/config/solrconfig.properties - Ofbiz solr service behavior control > *** ofbiz-component.xml - Standard Ofbiz component config > * Apache Solr configurations: > ** System properties: > *** solr.solr.home - Solr home (see Installation) > ** Config files: > *** solr.xml - Base solr config > *** conf/schema.xml - Solr index schema > *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config > ** Interfaces: > *** /solr/admin/ - Webapp admin interface (see below) > *** > It is possible to set extensive native Solr configuration using > the admin webapp interface noted above. It should be accessible at the > address: > http://localhost:8080/solr/admin/ > (where 8080 is your server's http port) > Please refer to the Apache Solr documentation for usage of this interface > and other native
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14721526#comment-14721526 ] Shi Jinghai commented on OFBIZ-5042: I submitted some code on this task into trunk, the changes are: 1. Put the patch into trunk. 2. Added access control to solr /admin/ pages. 3. Upgraded solr to 4.9.0 to match Lucene version in trunk. 4. Removed solr.solr.home, used SolrResourceLoader loader = new SolrResourceLoader(specialpurpose/solr/conf); instead. Test cases are: 1. For a logged in admin user, visit http://localhost:8080/solr/, the page will be forwarded to https://localhost:8443/solr/ 2. For an anonymous use, visit http://localhost:8080/solr/, the page will be forwarded to https://localhost:8443/solr/control/checkLogin. 3. After login, the page will be forwarded to /solr/#/. 4. When session timeout, click on solr admin pages, the url will be forwarded to /solr/control/checkLogin. The files under specialpurpose/solr/webapp/solr are solr.war of solr 4.9.0. Only specialpurpose/solr/webapp/solr/js/scripts/cores.js is changed to fulfill forward admin pages to checkLogin page, the places changed are marked by /** OFBiz customization **/ comment. In next phase, I'll 1. add example(s) to use the solr. 2. add access control to solr /update request properly. 3. if possible, upgrade lucene and solr to the latest release. Apache Solr Implementation -- Key: OFBIZ-5042 URL: https://issues.apache.org/jira/browse/OFBIZ-5042 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Reporter: Paul Piper Assignee: Jacques Le Roux Labels: component, feature, solr Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in specialpurpose.zip, solr-v1.00-r4284.zip Apache Solr, a modern search engine, seems to be one of the most commonly requested feature within the OFBiz community. With my agency, ilscipio, we have done several Apache Solr implementations in the past, and we felt that we could contribute this feature to the community. Currently, Solr is greatly used within syracus.net (our standalone store) and serves to generate the categories search functionalities. From our team mainly Pascal Proulx, Jonatan Soto and I were involved in this feature (albeit more having contributed to it. We created a standalone component which can be integrated into any running ofbiz implementation. It was tested against OFBiz 09.04 - 12.04.. = Solr Component for Apache Ofbiz = This document describes the Ofbiz solr component, an Ofbiz (http://ofbiz.apache.org/) implementation of the Apache Solr search platform (http://lucene.apache.org/solr/). The solr component includes an Ofbiz service-based wrapper layer to the Apache Solr webapp queries as well as the native Apache Solr web interface itself. Currently, the solr component focuses on Product data. Note: This document is a work in progress; information is subject to change. Contents: 1. Installation 2. Configuration 3. Data Indexing 4. Data Querying 5. Implementation Concerns 6. Known Bugs, Limitations and Issues - 1. Installation - To install solr in an Ofbiz setting, simply extract the solr directory and and sub-folders to the hot-deploy folder. Afterward, the solr home system property (solr.solr.home) must be set to the value hot-deploy/solr manually using one of the following methods: * solr.solr.home in batch/script file: Add the parameter -Dsolr.solr.home=hot-deploy/solr to the Java command invocation for ofbiz.jar. e.g.: %JAVA_HOME%\bin\java -Xms128M -Xmx512M -XX:MaxPermSize=512m -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar * solr.solr.home in Ant build configuration: In your root Ofbiz build.xml file, add the element jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ to the java jar=ofbiz.jar... invocation of the appropriate Ant target(s) (run, start, run-install, etc.). e.g.: {code} target name=start description=Start OFBiz java jar=ofbiz.jar fork=true jvmarg value=${memory.initial.param}/ jvmarg value=${memory.max.param}/ jvmarg value=${memory.maxpermsize.param}/ jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ /java /target {code} *** It may be possible to specify solr home using other methods (JNDI, web.xml), but at the
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14721911#comment-14721911 ] Shi Jinghai commented on OFBIZ-5042: Yes, I think so. I guess what I have to do is only update Lucene jars. Apache Solr Implementation -- Key: OFBIZ-5042 URL: https://issues.apache.org/jira/browse/OFBIZ-5042 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Reporter: Paul Piper Assignee: Jacques Le Roux Labels: component, feature, solr Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in specialpurpose.zip, solr-v1.00-r4284.zip Apache Solr, a modern search engine, seems to be one of the most commonly requested feature within the OFBiz community. With my agency, ilscipio, we have done several Apache Solr implementations in the past, and we felt that we could contribute this feature to the community. Currently, Solr is greatly used within syracus.net (our standalone store) and serves to generate the categories search functionalities. From our team mainly Pascal Proulx, Jonatan Soto and I were involved in this feature (albeit more having contributed to it. We created a standalone component which can be integrated into any running ofbiz implementation. It was tested against OFBiz 09.04 - 12.04.. = Solr Component for Apache Ofbiz = This document describes the Ofbiz solr component, an Ofbiz (http://ofbiz.apache.org/) implementation of the Apache Solr search platform (http://lucene.apache.org/solr/). The solr component includes an Ofbiz service-based wrapper layer to the Apache Solr webapp queries as well as the native Apache Solr web interface itself. Currently, the solr component focuses on Product data. Note: This document is a work in progress; information is subject to change. Contents: 1. Installation 2. Configuration 3. Data Indexing 4. Data Querying 5. Implementation Concerns 6. Known Bugs, Limitations and Issues - 1. Installation - To install solr in an Ofbiz setting, simply extract the solr directory and and sub-folders to the hot-deploy folder. Afterward, the solr home system property (solr.solr.home) must be set to the value hot-deploy/solr manually using one of the following methods: * solr.solr.home in batch/script file: Add the parameter -Dsolr.solr.home=hot-deploy/solr to the Java command invocation for ofbiz.jar. e.g.: %JAVA_HOME%\bin\java -Xms128M -Xmx512M -XX:MaxPermSize=512m -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar * solr.solr.home in Ant build configuration: In your root Ofbiz build.xml file, add the element jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ to the java jar=ofbiz.jar... invocation of the appropriate Ant target(s) (run, start, run-install, etc.). e.g.: {code} target name=start description=Start OFBiz java jar=ofbiz.jar fork=true jvmarg value=${memory.initial.param}/ jvmarg value=${memory.max.param}/ jvmarg value=${memory.maxpermsize.param}/ jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ /java /target {code} *** It may be possible to specify solr home using other methods (JNDI, web.xml), but at the time of this writing, this was the most reliable method known. - 2. Configuration - The solr component can run out-of-the-box without configuration, but many files, settings and interfaces allow custom settings. Some of these include: * Ofbiz configurations: ** System properties: *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, see Data Indexing) ** Config files: *** solr/config/solrconfig.properties - Ofbiz solr service behavior control *** ofbiz-component.xml - Standard Ofbiz component config * Apache Solr configurations: ** System properties: *** solr.solr.home - Solr home (see Installation) ** Config files: *** solr.xml - Base solr config *** conf/schema.xml - Solr index schema *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config ** Interfaces: *** /solr/admin/ - Webapp admin interface (see below) *** It is possible to set extensive native Solr configuration using the admin webapp interface noted above. It should be accessible at the address:
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14708906#comment-14708906 ] Shi Jinghai commented on OFBIZ-5042: Solr is from Lucene, Lucene from Tomcat. Does it mean Solr will support his mistress Jetty only? I can't believe it. Hahahaha, but this will be my favorite topic. Apache Solr Implementation -- Key: OFBIZ-5042 URL: https://issues.apache.org/jira/browse/OFBIZ-5042 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Reporter: Paul Piper Assignee: Jacques Le Roux Labels: component, feature, solr Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in specialpurpose.zip, solr-v1.00-r4284.zip Apache Solr, a modern search engine, seems to be one of the most commonly requested feature within the OFBiz community. With my agency, ilscipio, we have done several Apache Solr implementations in the past, and we felt that we could contribute this feature to the community. Currently, Solr is greatly used within syracus.net (our standalone store) and serves to generate the categories search functionalities. From our team mainly Pascal Proulx, Jonatan Soto and I were involved in this feature (albeit more having contributed to it. We created a standalone component which can be integrated into any running ofbiz implementation. It was tested against OFBiz 09.04 - 12.04.. = Solr Component for Apache Ofbiz = This document describes the Ofbiz solr component, an Ofbiz (http://ofbiz.apache.org/) implementation of the Apache Solr search platform (http://lucene.apache.org/solr/). The solr component includes an Ofbiz service-based wrapper layer to the Apache Solr webapp queries as well as the native Apache Solr web interface itself. Currently, the solr component focuses on Product data. Note: This document is a work in progress; information is subject to change. Contents: 1. Installation 2. Configuration 3. Data Indexing 4. Data Querying 5. Implementation Concerns 6. Known Bugs, Limitations and Issues - 1. Installation - To install solr in an Ofbiz setting, simply extract the solr directory and and sub-folders to the hot-deploy folder. Afterward, the solr home system property (solr.solr.home) must be set to the value hot-deploy/solr manually using one of the following methods: * solr.solr.home in batch/script file: Add the parameter -Dsolr.solr.home=hot-deploy/solr to the Java command invocation for ofbiz.jar. e.g.: %JAVA_HOME%\bin\java -Xms128M -Xmx512M -XX:MaxPermSize=512m -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar * solr.solr.home in Ant build configuration: In your root Ofbiz build.xml file, add the element jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ to the java jar=ofbiz.jar... invocation of the appropriate Ant target(s) (run, start, run-install, etc.). e.g.: {code} target name=start description=Start OFBiz java jar=ofbiz.jar fork=true jvmarg value=${memory.initial.param}/ jvmarg value=${memory.max.param}/ jvmarg value=${memory.maxpermsize.param}/ jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ /java /target {code} *** It may be possible to specify solr home using other methods (JNDI, web.xml), but at the time of this writing, this was the most reliable method known. - 2. Configuration - The solr component can run out-of-the-box without configuration, but many files, settings and interfaces allow custom settings. Some of these include: * Ofbiz configurations: ** System properties: *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, see Data Indexing) ** Config files: *** solr/config/solrconfig.properties - Ofbiz solr service behavior control *** ofbiz-component.xml - Standard Ofbiz component config * Apache Solr configurations: ** System properties: *** solr.solr.home - Solr home (see Installation) ** Config files: *** solr.xml - Base solr config *** conf/schema.xml - Solr index schema *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config ** Interfaces: *** /solr/admin/ - Webapp admin interface (see below) *** It is possible to set extensive native Solr configuration using the
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14708329#comment-14708329 ] Shi Jinghai commented on OFBIZ-5042: If no objection, I'll try to add the solr component into trunk/specialpurpose/solr in 2 or 3 weeks and upgrade to solr-4.9 match the lucene component. Apache Solr Implementation -- Key: OFBIZ-5042 URL: https://issues.apache.org/jira/browse/OFBIZ-5042 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Reporter: Paul Piper Assignee: Jacques Le Roux Labels: component, feature, solr Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in specialpurpose.zip, solr-v1.00-r4284.zip Apache Solr, a modern search engine, seems to be one of the most commonly requested feature within the OFBiz community. With my agency, ilscipio, we have done several Apache Solr implementations in the past, and we felt that we could contribute this feature to the community. Currently, Solr is greatly used within syracus.net (our standalone store) and serves to generate the categories search functionalities. From our team mainly Pascal Proulx, Jonatan Soto and I were involved in this feature (albeit more having contributed to it. We created a standalone component which can be integrated into any running ofbiz implementation. It was tested against OFBiz 09.04 - 12.04.. = Solr Component for Apache Ofbiz = This document describes the Ofbiz solr component, an Ofbiz (http://ofbiz.apache.org/) implementation of the Apache Solr search platform (http://lucene.apache.org/solr/). The solr component includes an Ofbiz service-based wrapper layer to the Apache Solr webapp queries as well as the native Apache Solr web interface itself. Currently, the solr component focuses on Product data. Note: This document is a work in progress; information is subject to change. Contents: 1. Installation 2. Configuration 3. Data Indexing 4. Data Querying 5. Implementation Concerns 6. Known Bugs, Limitations and Issues - 1. Installation - To install solr in an Ofbiz setting, simply extract the solr directory and and sub-folders to the hot-deploy folder. Afterward, the solr home system property (solr.solr.home) must be set to the value hot-deploy/solr manually using one of the following methods: * solr.solr.home in batch/script file: Add the parameter -Dsolr.solr.home=hot-deploy/solr to the Java command invocation for ofbiz.jar. e.g.: %JAVA_HOME%\bin\java -Xms128M -Xmx512M -XX:MaxPermSize=512m -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar * solr.solr.home in Ant build configuration: In your root Ofbiz build.xml file, add the element jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ to the java jar=ofbiz.jar... invocation of the appropriate Ant target(s) (run, start, run-install, etc.). e.g.: {code} target name=start description=Start OFBiz java jar=ofbiz.jar fork=true jvmarg value=${memory.initial.param}/ jvmarg value=${memory.max.param}/ jvmarg value=${memory.maxpermsize.param}/ jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ /java /target {code} *** It may be possible to specify solr home using other methods (JNDI, web.xml), but at the time of this writing, this was the most reliable method known. - 2. Configuration - The solr component can run out-of-the-box without configuration, but many files, settings and interfaces allow custom settings. Some of these include: * Ofbiz configurations: ** System properties: *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, see Data Indexing) ** Config files: *** solr/config/solrconfig.properties - Ofbiz solr service behavior control *** ofbiz-component.xml - Standard Ofbiz component config * Apache Solr configurations: ** System properties: *** solr.solr.home - Solr home (see Installation) ** Config files: *** solr.xml - Base solr config *** conf/schema.xml - Solr index schema *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config ** Interfaces: *** /solr/admin/ - Webapp admin interface (see below) *** It is possible to set extensive native Solr configuration using the admin webapp
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14708397#comment-14708397 ] Shi Jinghai commented on OFBIZ-5042: Thanks Pierre! I'll try to get this by 2 steps: upgrade solr to 4.9.0 and then I'll check what version both lucene and solor can reach. Apache Solr Implementation -- Key: OFBIZ-5042 URL: https://issues.apache.org/jira/browse/OFBIZ-5042 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Reporter: Paul Piper Assignee: Jacques Le Roux Labels: component, feature, solr Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in specialpurpose.zip, solr-v1.00-r4284.zip Apache Solr, a modern search engine, seems to be one of the most commonly requested feature within the OFBiz community. With my agency, ilscipio, we have done several Apache Solr implementations in the past, and we felt that we could contribute this feature to the community. Currently, Solr is greatly used within syracus.net (our standalone store) and serves to generate the categories search functionalities. From our team mainly Pascal Proulx, Jonatan Soto and I were involved in this feature (albeit more having contributed to it. We created a standalone component which can be integrated into any running ofbiz implementation. It was tested against OFBiz 09.04 - 12.04.. = Solr Component for Apache Ofbiz = This document describes the Ofbiz solr component, an Ofbiz (http://ofbiz.apache.org/) implementation of the Apache Solr search platform (http://lucene.apache.org/solr/). The solr component includes an Ofbiz service-based wrapper layer to the Apache Solr webapp queries as well as the native Apache Solr web interface itself. Currently, the solr component focuses on Product data. Note: This document is a work in progress; information is subject to change. Contents: 1. Installation 2. Configuration 3. Data Indexing 4. Data Querying 5. Implementation Concerns 6. Known Bugs, Limitations and Issues - 1. Installation - To install solr in an Ofbiz setting, simply extract the solr directory and and sub-folders to the hot-deploy folder. Afterward, the solr home system property (solr.solr.home) must be set to the value hot-deploy/solr manually using one of the following methods: * solr.solr.home in batch/script file: Add the parameter -Dsolr.solr.home=hot-deploy/solr to the Java command invocation for ofbiz.jar. e.g.: %JAVA_HOME%\bin\java -Xms128M -Xmx512M -XX:MaxPermSize=512m -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar * solr.solr.home in Ant build configuration: In your root Ofbiz build.xml file, add the element jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ to the java jar=ofbiz.jar... invocation of the appropriate Ant target(s) (run, start, run-install, etc.). e.g.: {code} target name=start description=Start OFBiz java jar=ofbiz.jar fork=true jvmarg value=${memory.initial.param}/ jvmarg value=${memory.max.param}/ jvmarg value=${memory.maxpermsize.param}/ jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ /java /target {code} *** It may be possible to specify solr home using other methods (JNDI, web.xml), but at the time of this writing, this was the most reliable method known. - 2. Configuration - The solr component can run out-of-the-box without configuration, but many files, settings and interfaces allow custom settings. Some of these include: * Ofbiz configurations: ** System properties: *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, see Data Indexing) ** Config files: *** solr/config/solrconfig.properties - Ofbiz solr service behavior control *** ofbiz-component.xml - Standard Ofbiz component config * Apache Solr configurations: ** System properties: *** solr.solr.home - Solr home (see Installation) ** Config files: *** solr.xml - Base solr config *** conf/schema.xml - Solr index schema *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config ** Interfaces: *** /solr/admin/ - Webapp admin interface (see below) *** It is possible to set extensive native Solr configuration using the admin webapp interface noted
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14708362#comment-14708362 ] Shi Jinghai commented on OFBIZ-5042: To Jacques: Thank you Jacques! I downloaded the solr in specialpurpose.zip and am working on upgrading it. I wish it's the latest version. To Pierre: I think the solr component will not affect current implement of Lucene elements, besides, it depends on the lucent component. In my mind, solr will be used as http/json/xml search request interface and lucene indexes management tool. Apache Solr Implementation -- Key: OFBIZ-5042 URL: https://issues.apache.org/jira/browse/OFBIZ-5042 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Reporter: Paul Piper Assignee: Jacques Le Roux Labels: component, feature, solr Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in specialpurpose.zip, solr-v1.00-r4284.zip Apache Solr, a modern search engine, seems to be one of the most commonly requested feature within the OFBiz community. With my agency, ilscipio, we have done several Apache Solr implementations in the past, and we felt that we could contribute this feature to the community. Currently, Solr is greatly used within syracus.net (our standalone store) and serves to generate the categories search functionalities. From our team mainly Pascal Proulx, Jonatan Soto and I were involved in this feature (albeit more having contributed to it. We created a standalone component which can be integrated into any running ofbiz implementation. It was tested against OFBiz 09.04 - 12.04.. = Solr Component for Apache Ofbiz = This document describes the Ofbiz solr component, an Ofbiz (http://ofbiz.apache.org/) implementation of the Apache Solr search platform (http://lucene.apache.org/solr/). The solr component includes an Ofbiz service-based wrapper layer to the Apache Solr webapp queries as well as the native Apache Solr web interface itself. Currently, the solr component focuses on Product data. Note: This document is a work in progress; information is subject to change. Contents: 1. Installation 2. Configuration 3. Data Indexing 4. Data Querying 5. Implementation Concerns 6. Known Bugs, Limitations and Issues - 1. Installation - To install solr in an Ofbiz setting, simply extract the solr directory and and sub-folders to the hot-deploy folder. Afterward, the solr home system property (solr.solr.home) must be set to the value hot-deploy/solr manually using one of the following methods: * solr.solr.home in batch/script file: Add the parameter -Dsolr.solr.home=hot-deploy/solr to the Java command invocation for ofbiz.jar. e.g.: %JAVA_HOME%\bin\java -Xms128M -Xmx512M -XX:MaxPermSize=512m -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar * solr.solr.home in Ant build configuration: In your root Ofbiz build.xml file, add the element jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ to the java jar=ofbiz.jar... invocation of the appropriate Ant target(s) (run, start, run-install, etc.). e.g.: {code} target name=start description=Start OFBiz java jar=ofbiz.jar fork=true jvmarg value=${memory.initial.param}/ jvmarg value=${memory.max.param}/ jvmarg value=${memory.maxpermsize.param}/ jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ /java /target {code} *** It may be possible to specify solr home using other methods (JNDI, web.xml), but at the time of this writing, this was the most reliable method known. - 2. Configuration - The solr component can run out-of-the-box without configuration, but many files, settings and interfaces allow custom settings. Some of these include: * Ofbiz configurations: ** System properties: *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, see Data Indexing) ** Config files: *** solr/config/solrconfig.properties - Ofbiz solr service behavior control *** ofbiz-component.xml - Standard Ofbiz component config * Apache Solr configurations: ** System properties: *** solr.solr.home - Solr home (see Installation) ** Config files: *** solr.xml - Base solr config *** conf/schema.xml -
[jira] [Commented] (OFBIZ-5042) Apache Solr Implementation
[ https://issues.apache.org/jira/browse/OFBIZ-5042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14708386#comment-14708386 ] Shi Jinghai commented on OFBIZ-5042: Thanks Jacques for the input! It's very helpful. Yes, I think the current code can support latest solr as solr api is steady. What I'll do if updated to latest solr will be to use the new solr.xml instead of the -Dsolr.solr.home config and make indexes point to runtime/indexes. Apache Solr Implementation -- Key: OFBIZ-5042 URL: https://issues.apache.org/jira/browse/OFBIZ-5042 Project: OFBiz Issue Type: Improvement Components: ALL COMPONENTS Reporter: Paul Piper Assignee: Jacques Le Roux Labels: component, feature, solr Attachments: 2013-07-30 11 52 52.png, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, OFBIZ-5042 - solr in specialpurpose.patch, solr in specialpurpose splitted.z01, solr in specialpurpose splitted.z02, solr in specialpurpose splitted.zip, solr in specialpurpose.zip, solr-v1.00-r4284.zip Apache Solr, a modern search engine, seems to be one of the most commonly requested feature within the OFBiz community. With my agency, ilscipio, we have done several Apache Solr implementations in the past, and we felt that we could contribute this feature to the community. Currently, Solr is greatly used within syracus.net (our standalone store) and serves to generate the categories search functionalities. From our team mainly Pascal Proulx, Jonatan Soto and I were involved in this feature (albeit more having contributed to it. We created a standalone component which can be integrated into any running ofbiz implementation. It was tested against OFBiz 09.04 - 12.04.. = Solr Component for Apache Ofbiz = This document describes the Ofbiz solr component, an Ofbiz (http://ofbiz.apache.org/) implementation of the Apache Solr search platform (http://lucene.apache.org/solr/). The solr component includes an Ofbiz service-based wrapper layer to the Apache Solr webapp queries as well as the native Apache Solr web interface itself. Currently, the solr component focuses on Product data. Note: This document is a work in progress; information is subject to change. Contents: 1. Installation 2. Configuration 3. Data Indexing 4. Data Querying 5. Implementation Concerns 6. Known Bugs, Limitations and Issues - 1. Installation - To install solr in an Ofbiz setting, simply extract the solr directory and and sub-folders to the hot-deploy folder. Afterward, the solr home system property (solr.solr.home) must be set to the value hot-deploy/solr manually using one of the following methods: * solr.solr.home in batch/script file: Add the parameter -Dsolr.solr.home=hot-deploy/solr to the Java command invocation for ofbiz.jar. e.g.: %JAVA_HOME%\bin\java -Xms128M -Xmx512M -XX:MaxPermSize=512m -Dsolr.solr.home=hot-deploy/solr -jar ofbiz.jar * solr.solr.home in Ant build configuration: In your root Ofbiz build.xml file, add the element jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ to the java jar=ofbiz.jar... invocation of the appropriate Ant target(s) (run, start, run-install, etc.). e.g.: {code} target name=start description=Start OFBiz java jar=ofbiz.jar fork=true jvmarg value=${memory.initial.param}/ jvmarg value=${memory.max.param}/ jvmarg value=${memory.maxpermsize.param}/ jvmarg value=-Dsolr.solr.home=hot-deploy/solr/ /java /target {code} *** It may be possible to specify solr home using other methods (JNDI, web.xml), but at the time of this writing, this was the most reliable method known. - 2. Configuration - The solr component can run out-of-the-box without configuration, but many files, settings and interfaces allow custom settings. Some of these include: * Ofbiz configurations: ** System properties: *** ofbiz.solr.eca.enabled - Global solr ECA toggling boolean (true/false, see Data Indexing) ** Config files: *** solr/config/solrconfig.properties - Ofbiz solr service behavior control *** ofbiz-component.xml - Standard Ofbiz component config * Apache Solr configurations: ** System properties: *** solr.solr.home - Solr home (see Installation) ** Config files: *** solr.xml - Base solr config *** conf/schema.xml - Solr index schema *** webapp/WEB-INF/web.xml - Dual Ofbiz/Solr webapp config ** Interfaces: ***
[jira] [Updated] (OFBIZ-4154) Use ZXing to generate QR 2d barcode
[ https://issues.apache.org/jira/browse/OFBIZ-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-4154: --- Summary: Use ZXing to generate QR 2d barcode (was: Use ZXing to generic QR 2d barcode) Use ZXing to generate QR 2d barcode --- Key: OFBIZ-4154 URL: https://issues.apache.org/jira/browse/OFBIZ-4154 Project: OFBiz Issue Type: New Feature Affects Versions: Trunk Environment: OFBiz trunk 1064255 + Sun JDK 1.5.0_14-b03 + Fedora 10 Reporter: Shi Yusen Assignee: Shi Jinghai Priority: Trivial Attachments: greetings.png, ofbiz-trunk-zxing.patch, zxing-core-1.6.jar, zxing-javase-1.6.jar Original Estimate: 24h Remaining Estimate: 24h QR 2d barcode gives me a lot of fun when I use an adroid mobile. After google search, without any difficulty I found zxing: http://code.google.com/p/zxing/, it's in Apache License. I'll submit a sample component of zxing to generate 2d qr barcode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-4154) Use ZXing to generate QR 2d barcode
[ https://issues.apache.org/jira/browse/OFBIZ-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-4154: --- Environment: (was: OFBiz trunk 1064255 + Sun JDK 1.5.0_14-b03 + Fedora 10) Use ZXing to generate QR 2d barcode --- Key: OFBIZ-4154 URL: https://issues.apache.org/jira/browse/OFBIZ-4154 Project: OFBiz Issue Type: New Feature Affects Versions: Trunk, Upcoming Branch Reporter: Shi Yusen Assignee: Shi Jinghai Priority: Trivial Attachments: greetings.png, ofbiz-trunk-zxing.patch, zxing-core-1.6.jar, zxing-javase-1.6.jar Original Estimate: 24h Remaining Estimate: 24h QR 2d barcode gives me a lot of fun when I use an adroid mobile. After google search, without any difficulty I found zxing: http://code.google.com/p/zxing/, it's in Apache License. I'll submit a sample component of zxing to generate 2d qr barcode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-4154) Use ZXing to generate QR 2d barcode
[ https://issues.apache.org/jira/browse/OFBIZ-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14706504#comment-14706504 ] Shi Jinghai commented on OFBIZ-4154: I just submitted some pieces of code to trunk. Here are the changes: 1. Add zxing-core-3.2.0.jar to framework/base/lib and .classpath. This jar is in Apache License 2.0 and got from http://repo1.maven.org/maven2/com/google/zxing/core/3.2.0/. 2. Add services_qrcode.xml and QRCodeService.java in framework/common/. 3. Add qrcode request in common-controller.xml and QRCodeEvents.java under framework/common/. 4. Add qrcode.properties and QRCodeUiLabels.xml under framework/common/. 5. Add a barcode example page in specialpurpose/example, entry is on page: /example/control/EditExample?exampleId=EX01, the example can be seen on page: /example/control/ExampleReportPdfBarcode?exampleId=EX01 Briefly, you can visit http://demo-trunk-ofbiz.apache.org/example/control/ExampleReportPdfBarcode?exampleId=EX01 to see a QRCode with OFBiz logo in the center when it's updated. Use ZXing to generate QR 2d barcode --- Key: OFBIZ-4154 URL: https://issues.apache.org/jira/browse/OFBIZ-4154 Project: OFBiz Issue Type: New Feature Affects Versions: Trunk Environment: OFBiz trunk 1064255 + Sun JDK 1.5.0_14-b03 + Fedora 10 Reporter: Shi Yusen Assignee: Shi Jinghai Priority: Trivial Attachments: greetings.png, ofbiz-trunk-zxing.patch, zxing-core-1.6.jar, zxing-javase-1.6.jar Original Estimate: 24h Remaining Estimate: 24h QR 2d barcode gives me a lot of fun when I use an adroid mobile. After google search, without any difficulty I found zxing: http://code.google.com/p/zxing/, it's in Apache License. I'll submit a sample component of zxing to generate 2d qr barcode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-4154) Use ZXing to generate QR 2d barcode
[ https://issues.apache.org/jira/browse/OFBIZ-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-4154: --- Affects Version/s: Upcoming Branch Use ZXing to generate QR 2d barcode --- Key: OFBIZ-4154 URL: https://issues.apache.org/jira/browse/OFBIZ-4154 Project: OFBiz Issue Type: New Feature Affects Versions: Trunk, Upcoming Branch Environment: OFBiz trunk 1064255 + Sun JDK 1.5.0_14-b03 + Fedora 10 Reporter: Shi Yusen Assignee: Shi Jinghai Priority: Trivial Attachments: greetings.png, ofbiz-trunk-zxing.patch, zxing-core-1.6.jar, zxing-javase-1.6.jar Original Estimate: 24h Remaining Estimate: 24h QR 2d barcode gives me a lot of fun when I use an adroid mobile. After google search, without any difficulty I found zxing: http://code.google.com/p/zxing/, it's in Apache License. I'll submit a sample component of zxing to generate 2d qr barcode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OFBIZ-6569) popup calendar icon missing and dialog is transparent in flat grey theme
[ https://issues.apache.org/jira/browse/OFBIZ-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6569: -- Assignee: Shi Jinghai popup calendar icon missing and dialog is transparent in flat grey theme Key: OFBIZ-6569 URL: https://issues.apache.org/jira/browse/OFBIZ-6569 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Trunk Reporter: Wai Assignee: Shi Jinghai -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6569) popup calendar icon missing and dialog is transparent in flat grey theme
[ https://issues.apache.org/jira/browse/OFBIZ-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-6569: --- Affects Version/s: Upcoming Branch popup calendar icon missing and dialog is transparent in flat grey theme Key: OFBIZ-6569 URL: https://issues.apache.org/jira/browse/OFBIZ-6569 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Trunk, Upcoming Branch Reporter: Wai Assignee: Shi Jinghai -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Reopened] (OFBIZ-4154) Use ZXing to generic QR 2d barcode
[ https://issues.apache.org/jira/browse/OFBIZ-4154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reopened OFBIZ-4154: Assignee: Shi Jinghai To make QRCode functions work. Use ZXing to generic QR 2d barcode -- Key: OFBIZ-4154 URL: https://issues.apache.org/jira/browse/OFBIZ-4154 Project: OFBiz Issue Type: New Feature Affects Versions: Trunk Environment: OFBiz trunk 1064255 + Sun JDK 1.5.0_14-b03 + Fedora 10 Reporter: Shi Yusen Assignee: Shi Jinghai Priority: Trivial Attachments: greetings.png, ofbiz-trunk-zxing.patch, zxing-core-1.6.jar, zxing-javase-1.6.jar Original Estimate: 24h Remaining Estimate: 24h QR 2d barcode gives me a lot of fun when I use an adroid mobile. After google search, without any difficulty I found zxing: http://code.google.com/p/zxing/, it's in Apache License. I'll submit a sample component of zxing to generate 2d qr barcode. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6569) popup calendar icon missing and dialog is transparent in flat grey theme
[ https://issues.apache.org/jira/browse/OFBIZ-6569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14698167#comment-14698167 ] Shi Jinghai commented on OFBIZ-6569: Thanks Wai. The error is caused by a seed data problem. In /themes/flatgrey/data/FlatGreyThemeData.xml, the javascript.css doesn't work as it's overwritten by jquery.asmselect-1.0.4a-beta.css with the same sequenceId. Now it's fixed in trunk rev. 1696021. You can import the new FlatGreyThemeData.xml in /webtools/control/entityImport and see the changes on dialogs. popup calendar icon missing and dialog is transparent in flat grey theme Key: OFBIZ-6569 URL: https://issues.apache.org/jira/browse/OFBIZ-6569 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: Trunk, Upcoming Branch Reporter: Wai Assignee: Shi Jinghai -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6570) Anonymous unsubscribe from contact list generates an error
[ https://issues.apache.org/jira/browse/OFBIZ-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14698147#comment-14698147 ] Shi Jinghai commented on OFBIZ-6570: I found a error while check this issue: org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [] The steps to reproduce it: 1. A fresh installation of trunk by load-demo target. 2. Login with admin/ofbiz to /ecommerce/. 3. Logout. 4. In Sign Up For Contact List section, fill Email field with t...@test.com and click Unsubscribe. 5. No definition found for view with name [] displays. This can be fixed by adding value=main to the error response. Anonymous unsubscribe from contact list generates an error -- Key: OFBIZ-6570 URL: https://issues.apache.org/jira/browse/OFBIZ-6570 Project: OFBiz Issue Type: Bug Components: marketing, specialpurpose/ecommerce Affects Versions: Trunk Reporter: Pierre Smits Assignee: Shi Jinghai When trying to unsubscribe as an anonymous user, following error is shown: {code} Exception thrown while creating the newEntity GenericValue: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:ContactListPartyStatus][contactListId,9000(java.lang.String)][createdStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][createdTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][lastUpdatedStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][lastUpdatedTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][partyId,_NA_(java.lang.String)][setByUserLoginId,system(java.lang.String)][statusDate,2015-08-06 12:26:31.205(java.sql.Timestamp)][statusId,CLPT_UNSUBS_PENDING(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.CONTACT_LIST_PARTY_STATUS (CONTACT_LIST_ID, PARTY_ID, FROM_DATE, STATUS_DATE, STATUS_ID, SET_BY_USER_LOGIN_ID, OPT_IN_VERIFY_CODE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Column 'FROM_DATE' cannot accept a NULL value.)) (Error while inserting: [GenericEntity:ContactListPartyStatus][contactListId,9000(java.lang.String)][createdStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][createdTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][lastUpdatedStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][lastUpdatedTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][partyId,_NA_(java.lang.String)][setByUserLoginId,system(java.lang.String)][statusDate,2015-08-06 12:26:31.205(java.sql.Timestamp)][statusId,CLPT_UNSUBS_PENDING(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.CONTACT_LIST_PARTY_STATUS (CONTACT_LIST_ID, PARTY_ID, FROM_DATE, STATUS_DATE, STATUS_ID, SET_BY_USER_LOGIN_ID, OPT_IN_VERIFY_CODE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Column 'FROM_DATE' cannot accept a NULL value.))) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6570) Anonymous unsubscribe from contact list generates an error
[ https://issues.apache.org/jira/browse/OFBIZ-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14698152#comment-14698152 ] Shi Jinghai commented on OFBIZ-6570: Submitted in trunk rev. 1696018. Anonymous unsubscribe from contact list generates an error -- Key: OFBIZ-6570 URL: https://issues.apache.org/jira/browse/OFBIZ-6570 Project: OFBiz Issue Type: Bug Components: marketing, specialpurpose/ecommerce Affects Versions: Trunk Reporter: Pierre Smits Assignee: Shi Jinghai When trying to unsubscribe as an anonymous user, following error is shown: {code} Exception thrown while creating the newEntity GenericValue: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:ContactListPartyStatus][contactListId,9000(java.lang.String)][createdStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][createdTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][lastUpdatedStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][lastUpdatedTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][partyId,_NA_(java.lang.String)][setByUserLoginId,system(java.lang.String)][statusDate,2015-08-06 12:26:31.205(java.sql.Timestamp)][statusId,CLPT_UNSUBS_PENDING(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.CONTACT_LIST_PARTY_STATUS (CONTACT_LIST_ID, PARTY_ID, FROM_DATE, STATUS_DATE, STATUS_ID, SET_BY_USER_LOGIN_ID, OPT_IN_VERIFY_CODE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Column 'FROM_DATE' cannot accept a NULL value.)) (Error while inserting: [GenericEntity:ContactListPartyStatus][contactListId,9000(java.lang.String)][createdStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][createdTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][lastUpdatedStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][lastUpdatedTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][partyId,_NA_(java.lang.String)][setByUserLoginId,system(java.lang.String)][statusDate,2015-08-06 12:26:31.205(java.sql.Timestamp)][statusId,CLPT_UNSUBS_PENDING(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.CONTACT_LIST_PARTY_STATUS (CONTACT_LIST_ID, PARTY_ID, FROM_DATE, STATUS_DATE, STATUS_ID, SET_BY_USER_LOGIN_ID, OPT_IN_VERIFY_CODE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Column 'FROM_DATE' cannot accept a NULL value.))) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6570) Anonymous unsubscribe from contact list generates an error
[ https://issues.apache.org/jira/browse/OFBIZ-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14679159#comment-14679159 ] Shi Jinghai commented on OFBIZ-6570: Hi Pierre, I tried to reproduce this error in my local enviroment but failed. Could you point out the step(s) to reproduce it? TIA, Anonymous unsubscribe from contact list generates an error -- Key: OFBIZ-6570 URL: https://issues.apache.org/jira/browse/OFBIZ-6570 Project: OFBiz Issue Type: Bug Components: marketing, specialpurpose/ecommerce Affects Versions: Trunk Reporter: Pierre Smits Assignee: Shi Jinghai When trying to unsubscribe as an anonymous user, following error is shown: {code} Exception thrown while creating the newEntity GenericValue: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:ContactListPartyStatus][contactListId,9000(java.lang.String)][createdStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][createdTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][lastUpdatedStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][lastUpdatedTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][partyId,_NA_(java.lang.String)][setByUserLoginId,system(java.lang.String)][statusDate,2015-08-06 12:26:31.205(java.sql.Timestamp)][statusId,CLPT_UNSUBS_PENDING(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.CONTACT_LIST_PARTY_STATUS (CONTACT_LIST_ID, PARTY_ID, FROM_DATE, STATUS_DATE, STATUS_ID, SET_BY_USER_LOGIN_ID, OPT_IN_VERIFY_CODE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Column 'FROM_DATE' cannot accept a NULL value.)) (Error while inserting: [GenericEntity:ContactListPartyStatus][contactListId,9000(java.lang.String)][createdStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][createdTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][lastUpdatedStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][lastUpdatedTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][partyId,_NA_(java.lang.String)][setByUserLoginId,system(java.lang.String)][statusDate,2015-08-06 12:26:31.205(java.sql.Timestamp)][statusId,CLPT_UNSUBS_PENDING(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.CONTACT_LIST_PARTY_STATUS (CONTACT_LIST_ID, PARTY_ID, FROM_DATE, STATUS_DATE, STATUS_ID, SET_BY_USER_LOGIN_ID, OPT_IN_VERIFY_CODE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Column 'FROM_DATE' cannot accept a NULL value.))) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OFBIZ-6570) Anonymous unsubscribe from contact list generates an error
[ https://issues.apache.org/jira/browse/OFBIZ-6570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6570: -- Assignee: Shi Jinghai Anonymous unsubscribe from contact list generates an error -- Key: OFBIZ-6570 URL: https://issues.apache.org/jira/browse/OFBIZ-6570 Project: OFBiz Issue Type: Bug Components: marketing, specialpurpose/ecommerce Affects Versions: Trunk Reporter: Pierre Smits Assignee: Shi Jinghai When trying to unsubscribe as an anonymous user, following error is shown: {code} Exception thrown while creating the newEntity GenericValue: org.ofbiz.entity.GenericEntityException: Error while inserting: [GenericEntity:ContactListPartyStatus][contactListId,9000(java.lang.String)][createdStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][createdTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][lastUpdatedStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][lastUpdatedTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][partyId,_NA_(java.lang.String)][setByUserLoginId,system(java.lang.String)][statusDate,2015-08-06 12:26:31.205(java.sql.Timestamp)][statusId,CLPT_UNSUBS_PENDING(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.CONTACT_LIST_PARTY_STATUS (CONTACT_LIST_ID, PARTY_ID, FROM_DATE, STATUS_DATE, STATUS_ID, SET_BY_USER_LOGIN_ID, OPT_IN_VERIFY_CODE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Column 'FROM_DATE' cannot accept a NULL value.)) (Error while inserting: [GenericEntity:ContactListPartyStatus][contactListId,9000(java.lang.String)][createdStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][createdTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][lastUpdatedStamp,2015-08-06 12:26:31.205(java.sql.Timestamp)][lastUpdatedTxStamp,2015-08-06 12:26:31.007(java.sql.Timestamp)][partyId,_NA_(java.lang.String)][setByUserLoginId,system(java.lang.String)][statusDate,2015-08-06 12:26:31.205(java.sql.Timestamp)][statusId,CLPT_UNSUBS_PENDING(java.lang.String)] (SQL Exception while executing the following:INSERT INTO OFBIZ.CONTACT_LIST_PARTY_STATUS (CONTACT_LIST_ID, PARTY_ID, FROM_DATE, STATUS_DATE, STATUS_ID, SET_BY_USER_LOGIN_ID, OPT_IN_VERIFY_CODE, LAST_UPDATED_STAMP, LAST_UPDATED_TX_STAMP, CREATED_STAMP, CREATED_TX_STAMP) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) (Column 'FROM_DATE' cannot accept a NULL value.))) {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6552) Error when changing language after using the product jump from the left part of the main product screen
[ https://issues.apache.org/jira/browse/OFBIZ-6552?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14647245#comment-14647245 ] Shi Jinghai commented on OFBIZ-6552: I added a check on the empty view name in framework/webapp/src/org/ofbiz/webapp/control/RequestHandler.java. If it's empty, use the value configured in the response as the view name. Now after setting the locale, the page can return to main page without error message. I'll check why the view name empty, as the return to main is not good enough for some cases. Error when changing language after using the product jump from the left part of the main product screen Key: OFBIZ-6552 URL: https://issues.apache.org/jira/browse/OFBIZ-6552 Project: OFBiz Issue Type: Bug Components: product Affects Versions: Trunk Reporter: Jacques Le Roux Assignee: Shi Jinghai Fix For: Upcoming Branch When you use the product jump from the left part of the main product screen, either after auto completion or using the lookup, and then change the language you get this error org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [] This problem is new in trunk -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (OFBIZ-6564) Change ProductProductJump zh label
[ https://issues.apache.org/jira/browse/OFBIZ-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai resolved OFBIZ-6564. Resolution: Fixed In trunk rev. 1693386. Change ProductProductJump zh label -- Key: OFBIZ-6564 URL: https://issues.apache.org/jira/browse/OFBIZ-6564 Project: OFBiz Issue Type: Bug Affects Versions: Trunk Reporter: Shi Jinghai Assignee: Shi Jinghai Priority: Minor Fix For: Upcoming Branch Change ProductProductJump zh label from 产品跃升 to 跳转到产品. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6564) Change ProductProductJump zh label
[ https://issues.apache.org/jira/browse/OFBIZ-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-6564: --- Affects Version/s: Trunk Change ProductProductJump zh label -- Key: OFBIZ-6564 URL: https://issues.apache.org/jira/browse/OFBIZ-6564 Project: OFBiz Issue Type: Bug Affects Versions: Trunk Reporter: Shi Jinghai Assignee: Shi Jinghai Priority: Minor Fix For: Upcoming Branch Change ProductProductJump zh label from 产品跃升 to 跳转到产品. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6564) Change ProductProductJump zh label
[ https://issues.apache.org/jira/browse/OFBIZ-6564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-6564: --- Fix Version/s: Upcoming Branch Change ProductProductJump zh label -- Key: OFBIZ-6564 URL: https://issues.apache.org/jira/browse/OFBIZ-6564 Project: OFBiz Issue Type: Bug Affects Versions: Trunk Reporter: Shi Jinghai Assignee: Shi Jinghai Priority: Minor Fix For: Upcoming Branch Change ProductProductJump zh label from 产品跃升 to 跳转到产品. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (OFBIZ-6564) Change ProductProductJump zh label
Shi Jinghai created OFBIZ-6564: -- Summary: Change ProductProductJump zh label Key: OFBIZ-6564 URL: https://issues.apache.org/jira/browse/OFBIZ-6564 Project: OFBiz Issue Type: Bug Reporter: Shi Jinghai Assignee: Shi Jinghai Priority: Minor Change ProductProductJump zh label from 产品跃升 to 跳转到产品. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14642330#comment-14642330 ] Shi Jinghai commented on OFBIZ-6504: Hi Jacques, When locale is fr, the error message in error.log is: |http-bio-8443-exec-1 |MacroFormRenderer |E| Error rendering screen thru ftl, macro: @renderDropDownField name=statusId className=required alert=false id=EditExample_statusId multiple= formName=EditExample otherFieldName= event= action= size=1 firstInList=first-in-list currentValue=EXST_DEFINED explicitDescription=Paramétré allowEmpty= options=[{'key':'EXST_APPROVED','description':'Approuver (Paramétré)'},{'key':'EXST_CANCELLED','description':'Annuler l'exemple (Paramétré)'}] fieldName= otherFieldName= otherValue= otherFieldSize=0 dDFCurrent=first-in-list ajaxEnabled=false noCurrentSelectedKey= ajaxOptions= frequency= minChars= choices= autoSelect= partialSearch= partialChars= ignoreCase= fullSearch= tabindex= / The error is caused by the description value: ,'description':'Annuler l'exemple (Paramétré)'. If changing the Annuler l'exemple to Annuler lexemple in CommonEntityLabels.xml, the error will disappear. I tested changing to Annuler l'exemple and failed. Annuler l`exemple works. I guess the Annuler l'exemple has to be changed to other expression but I don't know how to do it. how to Create PDF with password Protected in Ofbiz -- Key: OFBIZ-6504 URL: https://issues.apache.org/jira/browse/OFBIZ-6504 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Environment: linux Reporter: Sachin Manjule Assignee: Shi Jinghai Priority: Trivial Fix For: Upcoming Branch Attachments: localhost.png, trunk demo.png We can create PDF using FTL that is OK, but how to generate PDF with Encryption password protected? itext is best option for this. but can we emmber in ftl or other places? pleas Help us. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14642337#comment-14642337 ] Shi Jinghai commented on OFBIZ-6504: Ha, the html magic, I mean change ' to ascii code and failed. how to Create PDF with password Protected in Ofbiz -- Key: OFBIZ-6504 URL: https://issues.apache.org/jira/browse/OFBIZ-6504 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Environment: linux Reporter: Sachin Manjule Assignee: Shi Jinghai Priority: Trivial Fix For: Upcoming Branch Attachments: localhost.png, trunk demo.png We can create PDF using FTL that is OK, but how to generate PDF with Encryption password protected? itext is best option for this. but can we emmber in ftl or other places? pleas Help us. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14641877#comment-14641877 ] Shi Jinghai commented on OFBIZ-6504: Hi Jacques, I don't know what's the reason of this error (a cache problem I guess). I just tested here: http://demo-trunk-ofbiz.apache.org/example/control/ExampleReportPdfOptions?exampleId=EX01 and it works. how to Create PDF with password Protected in Ofbiz -- Key: OFBIZ-6504 URL: https://issues.apache.org/jira/browse/OFBIZ-6504 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Environment: linux Reporter: Sachin Manjule Assignee: Shi Jinghai Priority: Trivial Fix For: Upcoming Branch We can create PDF using FTL that is OK, but how to generate PDF with Encryption password protected? itext is best option for this. but can we emmber in ftl or other places? pleas Help us. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14641873#comment-14641873 ] Shi Jinghai commented on OFBIZ-6504: Yeah I see, a check step. I'll be care of this. how to Create PDF with password Protected in Ofbiz -- Key: OFBIZ-6504 URL: https://issues.apache.org/jira/browse/OFBIZ-6504 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Environment: linux Reporter: Sachin Manjule Assignee: Shi Jinghai Priority: Trivial Fix For: Upcoming Branch We can create PDF using FTL that is OK, but how to generate PDF with Encryption password protected? itext is best option for this. but can we emmber in ftl or other places? pleas Help us. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Reopened] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reopened OFBIZ-6504: Thank you Jacques for the screenshots! They are very helpful, I can reproduce it with fr locale. Some other locales I tested are fine (no error message displayed), i.e. en, zh, de, nl, ja. I reopen this issue and I'll try to see what's the reason behind. how to Create PDF with password Protected in Ofbiz -- Key: OFBIZ-6504 URL: https://issues.apache.org/jira/browse/OFBIZ-6504 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Environment: linux Reporter: Sachin Manjule Assignee: Shi Jinghai Priority: Trivial Fix For: Upcoming Branch Attachments: localhost.png, trunk demo.png We can create PDF using FTL that is OK, but how to generate PDF with Encryption password protected? itext is best option for this. but can we emmber in ftl or other places? pleas Help us. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Assigned] (OFBIZ-6552) Error when changing language after using the product jump from the left part of the main product screen
[ https://issues.apache.org/jira/browse/OFBIZ-6552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6552: -- Assignee: Shi Jinghai Error when changing language after using the product jump from the left part of the main product screen Key: OFBIZ-6552 URL: https://issues.apache.org/jira/browse/OFBIZ-6552 Project: OFBiz Issue Type: Bug Components: product Affects Versions: Trunk Reporter: Jacques Le Roux Assignee: Shi Jinghai Fix For: Upcoming Branch When you use the product jump from the left part of the main product screen, either after auto completion or using the lookup, and then change the language you get this error org.ofbiz.webapp.control.RequestHandlerException: No definition found for view with name [] This problem is new in trunk -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-5634) Error in pagination in createProductSubscriptionResource (Catalog)
[ https://issues.apache.org/jira/browse/OFBIZ-5634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-5634: --- Attachment: DataToReproduceOFBiz-5634.xml To reproduce this problem: 1. Import DataToReproduceOFBiz-5634.xml in webtools Entity Import. 2. Visit https://localhost:8443/catalog/control/EditProductSubscriptionResources?productId=GZ-NEWS-1MO 3. Add a new subscription resource. 4. Click next button, error message displayed. Error in pagination in createProductSubscriptionResource (Catalog) --- Key: OFBIZ-5634 URL: https://issues.apache.org/jira/browse/OFBIZ-5634 Project: OFBiz Issue Type: Sub-task Components: product Affects Versions: Release Branch 11.04, Release Branch 12.04, Release Branch 13.07, Trunk Reporter: Jacques Le Roux Priority: Minor Attachments: DataToReproduceOFBiz-5634.xml When you paginate, after creating a sufficient number of subscriptions for pagination to appear, you get an error -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-5634) Error in pagination in createProductSubscriptionResource (Catalog)
[ https://issues.apache.org/jira/browse/OFBIZ-5634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14641437#comment-14641437 ] Shi Jinghai commented on OFBIZ-5634: Added paginate-target=EditProductSubscriptionResources to ListProductSubscriptionResources form and resolved this problem in trunk (rev. 1692604) and release 13.07 (rev. 1692606). Error in pagination in createProductSubscriptionResource (Catalog) --- Key: OFBIZ-5634 URL: https://issues.apache.org/jira/browse/OFBIZ-5634 Project: OFBiz Issue Type: Sub-task Components: product Affects Versions: Release Branch 11.04, Release Branch 12.04, Release Branch 13.07, Trunk Reporter: Jacques Le Roux Priority: Minor Attachments: DataToReproduceOFBiz-5634.xml When you paginate, after creating a sufficient number of subscriptions for pagination to appear, you get an error -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6547) Screen with pagination on tables lead to multiple db entries when submitting
[ https://issues.apache.org/jira/browse/OFBIZ-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14640070#comment-14640070 ] Shi Jinghai commented on OFBIZ-6547: I think this issue is similar to OFBIZ-5634. After adding about 20 categories to TestCatalog, I can reproduce this problem as Akif Dinc described. Screen with pagination on tables lead to multiple db entries when submitting - Key: OFBIZ-6547 URL: https://issues.apache.org/jira/browse/OFBIZ-6547 Project: OFBiz Issue Type: Bug Components: product Affects Versions: Trunk, 13.07.01 Reporter: Akif Dinc Assignee: Shi Jinghai Priority: Minor Attachments: OFBIZ-6547.patch Submitting a form on a Screen with larger list leads to double DB entries if pagination (next) is used. From the cookbook it is known that pagination is automatically added if viewSize and viewIndex is set. Using this auto pagination functionalities next button after submitting passes the submit parameters to the next call aswell. Following steps do reproduce the problem: * open up http://demo-stable-ofbiz.apache.org/catalog/control/EditProdCatalogCategories?prodCatalogId=TestCatalogVIEW_SIZE_1=20VIEW_INDEX_1=1 * Take default element numbers per page (20) * Add a Category (and submit) * Check DB for added entry * Hit Next page link * Check DB again for entry (there will be twice the same) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Comment Edited] (OFBIZ-6547) Screen with pagination on tables lead to multiple db entries when submitting
[ https://issues.apache.org/jira/browse/OFBIZ-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14640070#comment-14640070 ] Shi Jinghai edited comment on OFBIZ-6547 at 7/25/15 5:01 AM: - I think this issue is similar to OFBIZ-5634. After adding about 20 categories to TestCatalog, I can reproduce this problem as Gil Portenseigne described. was (Author: shi.jinghai): I think this issue is similar to OFBIZ-5634. After adding about 20 categories to TestCatalog, I can reproduce this problem as Akif Dinc described. Screen with pagination on tables lead to multiple db entries when submitting - Key: OFBIZ-6547 URL: https://issues.apache.org/jira/browse/OFBIZ-6547 Project: OFBiz Issue Type: Bug Components: product Affects Versions: Trunk, 13.07.01 Reporter: Akif Dinc Assignee: Shi Jinghai Priority: Minor Attachments: OFBIZ-6547.patch Submitting a form on a Screen with larger list leads to double DB entries if pagination (next) is used. From the cookbook it is known that pagination is automatically added if viewSize and viewIndex is set. Using this auto pagination functionalities next button after submitting passes the submit parameters to the next call aswell. Following steps do reproduce the problem: * open up http://demo-stable-ofbiz.apache.org/catalog/control/EditProdCatalogCategories?prodCatalogId=TestCatalogVIEW_SIZE_1=20VIEW_INDEX_1=1 * Take default element numbers per page (20) * Add a Category (and submit) * Check DB for added entry * Hit Next page link * Check DB again for entry (there will be twice the same) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (OFBIZ-6547) Screen with pagination on tables lead to multiple db entries when submitting
[ https://issues.apache.org/jira/browse/OFBIZ-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai updated OFBIZ-6547: --- Attachment: DataToReproduceOFBIZ-6547.xml Test data for the convenience to reproduce OFBIZ-6547. Screen with pagination on tables lead to multiple db entries when submitting - Key: OFBIZ-6547 URL: https://issues.apache.org/jira/browse/OFBIZ-6547 Project: OFBiz Issue Type: Bug Components: product Affects Versions: Trunk, 13.07.01 Reporter: Akif Dinc Assignee: Shi Jinghai Priority: Minor Attachments: DataToReproduceOFBIZ-6547.xml, OFBIZ-6547.patch Submitting a form on a Screen with larger list leads to double DB entries if pagination (next) is used. From the cookbook it is known that pagination is automatically added if viewSize and viewIndex is set. Using this auto pagination functionalities next button after submitting passes the submit parameters to the next call aswell. Following steps do reproduce the problem: * open up http://demo-stable-ofbiz.apache.org/catalog/control/EditProdCatalogCategories?prodCatalogId=TestCatalogVIEW_SIZE_1=20VIEW_INDEX_1=1 * Take default element numbers per page (20) * Add a Category (and submit) * Check DB for added entry * Hit Next page link * Check DB again for entry (there will be twice the same) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (OFBIZ-6547) Screen with pagination on tables lead to multiple db entries when submitting
[ https://issues.apache.org/jira/browse/OFBIZ-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai resolved OFBIZ-6547. Resolution: Fixed Fix Version/s: Release Branch 13.07 Trunk Thanks Akif Dinc and Gil Portenseigne! The patch is in trunk rev. 1692600 and release 13.07 rev. 1692601. Screen with pagination on tables lead to multiple db entries when submitting - Key: OFBIZ-6547 URL: https://issues.apache.org/jira/browse/OFBIZ-6547 Project: OFBiz Issue Type: Bug Components: product Affects Versions: Trunk, 13.07.01 Reporter: Akif Dinc Assignee: Shi Jinghai Priority: Minor Fix For: Trunk, Release Branch 13.07 Attachments: DataToReproduceOFBIZ-6547.xml, OFBIZ-6547.patch Submitting a form on a Screen with larger list leads to double DB entries if pagination (next) is used. From the cookbook it is known that pagination is automatically added if viewSize and viewIndex is set. Using this auto pagination functionalities next button after submitting passes the submit parameters to the next call aswell. Following steps do reproduce the problem: * open up http://demo-stable-ofbiz.apache.org/catalog/control/EditProdCatalogCategories?prodCatalogId=TestCatalogVIEW_SIZE_1=20VIEW_INDEX_1=1 * Take default element numbers per page (20) * Add a Category (and submit) * Check DB for added entry * Hit Next page link * Check DB again for entry (there will be twice the same) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6555) errors and warning after load-extseed and running ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14639922#comment-14639922 ] Shi Jinghai commented on OFBIZ-6555: Thanks Wai! On the 2 error messages in error.log: I removed issuedDateTime from OrderItemQuantityReportGroupByProduct view entity as it doesn't exist in ItemIssuanceQuantitySum, so the error messages are gone. On the warning messages, I checked the source code, it's not a problem. I'd suggest you ignore it for now. Kind Regards, errors and warning after load-extseed and running ofbiz --- Key: OFBIZ-6555 URL: https://issues.apache.org/jira/browse/OFBIZ-6555 Project: OFBiz Issue Type: Bug Reporter: Wai Assignee: Shi Jinghai After running $ ant load-extseed The error.log file contains the following: 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and field: issuedDateTime 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could not find ModelField for field name issuedDateTime on entity with name: ItemIssuanceQuantitySum 2015-07-09 14:23:09,750 |OFBiz-batch-3|DatabaseUtil |E| Error adding foreign key: ModelEntity was null for related entity name Tenant The ofbiz.log contains the following note worthy errors and warnings: 2015-07-09 14:19:24,348 |delegator-startup-1 |ModelViewEntity |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: rawEncryptedValue 2015-07-09 14:19:24,348 |delegator-startup-1 |ModelViewEntity |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: rawSaltedEncryptedValue 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOpen 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and field: issuedDateTime 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could not find ModelField for field name issuedDateTime on entity with name: ItemIssuanceQuantitySum 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOpen 2015-07-09 14:19:24,435 |delegator-startup-1 |ModelViewEntity |W| [OrderReportSalesGroupByProduct]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered 2015-07-09 14:19:24,438 |delegator-startup-1 |ModelViewEntity |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered 2015-07-09 14:19:24,438 |delegator-startup-1 |ModelViewEntity |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: totQuantityAvailable 2015-07-09 14:19:24,446 |delegator-startup-1 |ModelViewEntity |W| [ProjectPhaseTaskActualRatedHoursView]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: totalRatedHours
[jira] [Assigned] (OFBIZ-6555) errors and warning after load-extseed and running ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6555: -- Assignee: Shi Jinghai errors and warning after load-extseed and running ofbiz --- Key: OFBIZ-6555 URL: https://issues.apache.org/jira/browse/OFBIZ-6555 Project: OFBiz Issue Type: Bug Reporter: Wai Assignee: Shi Jinghai After running $ ant load-extseed The error.log file contains the following: 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and field: issuedDateTime 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could not find ModelField for field name issuedDateTime on entity with name: ItemIssuanceQuantitySum 2015-07-09 14:23:09,750 |OFBiz-batch-3|DatabaseUtil |E| Error adding foreign key: ModelEntity was null for related entity name Tenant The ofbiz.log contains the following note worthy errors and warnings: 2015-07-09 14:19:24,348 |delegator-startup-1 |ModelViewEntity |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: rawEncryptedValue 2015-07-09 14:19:24,348 |delegator-startup-1 |ModelViewEntity |W| [TestingCryptoRawView]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: rawSaltedEncryptedValue 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |W| [OrderItemQuantityReportGroupByItem]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOpen 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |E| [OrderItemQuantityReportGroupByProduct]: [ModelViewEntity.populateFields] ERROR: could not find ModelField for entity name: ItemIssuanceQuantitySum and field: issuedDateTime 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |E| [OrderItemQuantityReportGroupByProduct]: [populateFields] ERROR: could not find ModelField for field name issuedDateTime on entity with name: ItemIssuanceQuantitySum 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered 2015-07-09 14:19:24,432 |delegator-startup-1 |ModelViewEntity |W| [OrderItemQuantityReportGroupByProduct]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOpen 2015-07-09 14:19:24,435 |delegator-startup-1 |ModelViewEntity |W| [OrderReportSalesGroupByProduct]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered 2015-07-09 14:19:24,438 |delegator-startup-1 |ModelViewEntity |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: quantityOrdered 2015-07-09 14:19:24,438 |delegator-startup-1 |ModelViewEntity |W| [OrderItemAndShipGrpInvResAndItemSum]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: totQuantityAvailable 2015-07-09 14:19:24,446 |delegator-startup-1 |ModelViewEntity |W| [ProjectPhaseTaskActualRatedHoursView]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: totalRatedHours 2015-07-09 14:19:24,453 |delegator-startup-1 |ModelViewEntity |W| [ExampleStatusDetail]: Conversion for complex-alias needs to be implemented for cache and in-memory eval stuff to work correctly, will not work for alias: statusDelay 2015-07-09 14:19:24,484 |delegator-startup-1 |ModelReader |I| Finished loading entities;
[jira] [Assigned] (OFBIZ-6547) Screen with pagination on tables lead to multiple db entries when submitting
[ https://issues.apache.org/jira/browse/OFBIZ-6547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reassigned OFBIZ-6547: -- Assignee: Shi Jinghai Screen with pagination on tables lead to multiple db entries when submitting - Key: OFBIZ-6547 URL: https://issues.apache.org/jira/browse/OFBIZ-6547 Project: OFBiz Issue Type: Bug Components: product Affects Versions: Trunk, 13.07.01 Reporter: Akif Dinc Assignee: Shi Jinghai Priority: Minor Attachments: OFBIZ-6547.patch Submitting a form on a Screen with larger list leads to double DB entries if pagination (next) is used. From the cookbook it is known that pagination is automatically added if viewSize and viewIndex is set. Using this auto pagination functionalities next button after submitting passes the submit parameters to the next call aswell. Following steps do reproduce the problem: * open up http://demo-stable-ofbiz.apache.org/catalog/control/EditProdCatalogCategories?prodCatalogId=TestCatalogVIEW_SIZE_1=20VIEW_INDEX_1=1 * Take default element numbers per page (20) * Add a Category (and submit) * Check DB for added entry * Hit Next page link * Check DB again for entry (there will be twice the same) -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai resolved OFBIZ-6504. Resolution: Fixed In trunk rev. 1691852. how to Create PDF with password Protected in Ofbiz -- Key: OFBIZ-6504 URL: https://issues.apache.org/jira/browse/OFBIZ-6504 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Environment: linux Reporter: Sachin Manjule Assignee: Shi Jinghai Priority: Trivial Fix For: Trunk We can create PDF using FTL that is OK, but how to generate PDF with Encryption password protected? itext is best option for this. but can we emmber in ftl or other places? pleas Help us. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14632920#comment-14632920 ] Shi Jinghai commented on OFBIZ-6504: 1. Changed to use FOP 2.0 native encryption, jars are updated. 2. Now the Embeded options are request parameters supported in ScreenFopViewHandler.java, the options are: http://xmlgraphics.apache.org/fop/2.0/pdfencryption.html#embedded the default values of the options can be configured in framework/webapp/config/fop.properties. 3. The demo page is https://localhost:8443/example/control/ExampleReportPdfOptions?exampleId=EX01 4. Barcode is tested. how to Create PDF with password Protected in Ofbiz -- Key: OFBIZ-6504 URL: https://issues.apache.org/jira/browse/OFBIZ-6504 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Environment: linux Reporter: Sachin Manjule Assignee: Shi Jinghai Priority: Trivial Fix For: Trunk We can create PDF using FTL that is OK, but how to generate PDF with Encryption password protected? itext is best option for this. but can we emmber in ftl or other places? pleas Help us. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14627505#comment-14627505 ] Shi Jinghai commented on OFBIZ-6504: Yesterday, I tried the FOP 1.1 native encryption in OFBiz trunk and failed. I found FOP 2.0 encryption is quite different to FOP 1.1. FOP 2.0 encryption works on my environment well, but the changes are quite a lot. FOP 1.1: http://xmlgraphics.apache.org/fop/1.1/pdfencryption.html#Environment FOP 2.0: http://xmlgraphics.apache.org/fop/2.0/pdfencryption.html#Environment I need some advices on whether to upgrade to FOP 2.0 in OFBiz trunk. how to Create PDF with password Protected in Ofbiz -- Key: OFBIZ-6504 URL: https://issues.apache.org/jira/browse/OFBIZ-6504 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Environment: linux Reporter: Sachin Manjule Assignee: Shi Jinghai Priority: Trivial Fix For: Trunk We can create PDF using FTL that is OK, but how to generate PDF with Encryption password protected? itext is best option for this. but can we emmber in ftl or other places? pleas Help us. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Reopened] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai reopened OFBIZ-6504: I'll try to use the native FOP encrypt method to create PDF with password, see: http://xmlgraphics.apache.org/fop/trunk/pdfencryption.html As it's FOP 1.1 in OFBiz trunk, I checked FOP 1.1 source code, it supports these encrypt methods. I'll remove the bcprov-jdk15-1.44.jar as well. how to Create PDF with password Protected in Ofbiz -- Key: OFBIZ-6504 URL: https://issues.apache.org/jira/browse/OFBIZ-6504 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Environment: linux Reporter: Sachin Manjule Assignee: Shi Jinghai Priority: Trivial Fix For: Trunk We can create PDF using FTL that is OK, but how to generate PDF with Encryption password protected? itext is best option for this. but can we emmber in ftl or other places? pleas Help us. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (OFBIZ-6374) PartyContentWrapper.getPartyContentAsText use wrong signature
[ https://issues.apache.org/jira/browse/OFBIZ-6374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14624346#comment-14624346 ] Shi Jinghai commented on OFBIZ-6374: Hi Sebastian, Thanks for the patch. It's in trunk (rev. 1690581) and release 13.07 (rev. 1690580) now. PartyContentWrapper.getPartyContentAsText use wrong signature - Key: OFBIZ-6374 URL: https://issues.apache.org/jira/browse/OFBIZ-6374 Project: OFBiz Issue Type: Bug Components: party Affects Versions: Trunk, 13.07.01 Reporter: Sebastian Leitner Assignee: Shi Jinghai Priority: Critical Attachments: PartyContentWrapper.patch Some of PartyContentWrapper.getPartyContentAsText-methods use a wrong methods for further processing. One parameter is missing, so a method with wrong signature is used, causing a partyContentId to become a partyContentTypeId which does of course not work. Will attach a patch in a second. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Closed] (OFBIZ-6504) how to Create PDF with password Protected in Ofbiz
[ https://issues.apache.org/jira/browse/OFBIZ-6504?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shi Jinghai closed OFBIZ-6504. -- Resolution: Fixed Fix Version/s: Trunk how to Create PDF with password Protected in Ofbiz -- Key: OFBIZ-6504 URL: https://issues.apache.org/jira/browse/OFBIZ-6504 Project: OFBiz Issue Type: Improvement Components: ALL APPLICATIONS Environment: linux Reporter: Sachin Manjule Assignee: Shi Jinghai Priority: Trivial Fix For: Trunk We can create PDF using FTL that is OK, but how to generate PDF with Encryption password protected? itext is best option for this. but can we emmber in ftl or other places? pleas Help us. -- This message was sent by Atlassian JIRA (v6.3.4#6332)