Hello,
I can't start OFBiz from the built ofbiz.tar . My goal is to build ofbiz.tar and use it to build a docker image. Then use the image to deploy instances of OFBiz: - load data - run OFBiz [source,bash] ---- ./gradlew clean pullAllPluginsSource build ./bin/ofbiz --load-data readers=seed,seed-initial,ext,ext-demo Config.java using configuration file load-data.properties Set OFBIZ_HOME to - /home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz Shutdown hook disabled 2021-01-05 12:00:10,622 |main |UtilXml |E| XmlFileLoader: File jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml process warning. Line: 22. Error message: schema_reference.4: Failed to read schema document 'null', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>. 2021-01-05 12:00:10,627 |main |UtilXml |E| XmlFileLoader: File jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml process error. Line: 22. Error message: cvc-elt.1.a: Cannot find the declaration of element 'component-loader'. org.apache.ofbiz.base.start.StartupException: Cannot init() component-container (org.apache.ofbiz.base.component.ComponentException: Error reading the component config file: jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml (Stream closed) (Error reading the component config file: jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml (Stream closed))) at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:69) at org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146) at org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70) at org.apache.ofbiz.base.start.Start.main(Start.java:89) Caused by: org.apache.ofbiz.base.container.ContainerException: org.apache.ofbiz.base.component.ComponentException: Error reading the component config file: jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml (Stream closed) (Error reading the component config file: jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml (Stream closed)) at org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:79) at org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:57) at org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) ... 3 more Caused by: org.apache.ofbiz.base.component.ComponentException: Error reading the component config file: jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml (Stream closed) at org.apache.ofbiz.base.component.ComponentLoaderConfig.parseDocumentFromUrl(ComponentLoaderConfig.java:168) at org.apache.ofbiz.base.component.ComponentLoaderConfig.getComponentsFromConfig(ComponentLoaderConfig.java:80) at org.apache.ofbiz.base.component.ComponentLoaderConfig.getRootComponents(ComponentLoaderConfig.java:70) at org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:74) ... 5 more Caused by: java.io.IOException: Stream closed at java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67) at java.util.zip.InflaterInputStream.read(InflaterInputStream.java:142) at java.io.FilterInputStream.read(FilterInputStream.java:133) at org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown Source) at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source) at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) at org.apache.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:443) at org.apache.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:383) at org.apache.ofbiz.base.component.ComponentLoaderConfig.parseDocumentFromUrl(ComponentLoaderConfig.java:166) ... 8 more --- NOTE: I'm working on building a docker image for OFBiz and I've made some progress. I will share my work and try to merge it upstream. NOTE: I'm using: commit ba5536fe5735fcddc7eb8b515372cab932c0a913 Improved: Apply CSS Grid to Find Orders (OFBIZ-12116) NOTE: java -version openjdk version "1.8.0_275" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode) p.s. The ofbiz build is quite large at ~450MB Regards, -- Eugen Stan +40720 898 747 / netdava.com |
Hi Eugen,
Are any of the commands you are running inside of a docker container? The ofbiz.jar will have dependencies on various libraries that are hosted in your gradle cache. If you are running the build outside of the container, but the data-load inside the container then you will run into trouble with missing dependencies. However I could be going in completely the wrong direction here. The error messages would lead me to think the various .xsd/.xml files are missing, but I think these are copied to the ofbiz.jar file along with other resources, so I'm not sure what is going on at the moment. Please could you provide your build steps then we can try to reproduce what you're seeing. Thanks, Dan. On Tue, 5 Jan 2021 at 10:04, Eugen Stan <[hidden email]> wrote: > Hello, > > I can't start OFBiz from the built ofbiz.tar . > My goal is to build ofbiz.tar and use it to build a docker image. > > Then use the image to deploy instances of OFBiz: > - load data > - run OFBiz > > [source,bash] > ---- > > ./gradlew clean pullAllPluginsSource build > > > ./bin/ofbiz --load-data readers=seed,seed-initial,ext,ext-demo > > Config.java using configuration file load-data.properties > Set OFBIZ_HOME to - > /home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz > Shutdown hook disabled > 2021-01-05 12:00:10,622 |main |UtilXml > |E| XmlFileLoader: File > jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml > > process warning. Line: 22. Error message: schema_reference.4: Failed to > read schema document 'null', because 1) could not find the document; 2) > the document could not be read; 3) the root element of the document is > not <xsd:schema>. > 2021-01-05 12:00:10,627 |main |UtilXml > |E| XmlFileLoader: File > jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml > > process error. Line: 22. Error message: cvc-elt.1.a: Cannot find the > declaration of element 'component-loader'. > org.apache.ofbiz.base.start.StartupException: Cannot init() > component-container (org.apache.ofbiz.base.component.ComponentException: > Error reading the component config file: > jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml > > (Stream closed) (Error reading the component config file: > jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml > > (Stream closed))) > at > > org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:69) > at > > org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:146) > at > > org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:70) > at org.apache.ofbiz.base.start.Start.main(Start.java:89) > Caused by: org.apache.ofbiz.base.container.ContainerException: > org.apache.ofbiz.base.component.ComponentException: Error reading the > component config file: > jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml > > (Stream closed) (Error reading the component config file: > jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml > > (Stream closed)) > at > > org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:79) > at > > org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:57) > at > > org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:66) > ... 3 more > Caused by: org.apache.ofbiz.base.component.ComponentException: Error > reading the component config file: > jar:file:/home/ieugen/proiecte/ofbiz/ofbiz-framework/build/distributions/ofbiz/lib/ofbiz.jar!/component-load.xml > > (Stream closed) > at > > org.apache.ofbiz.base.component.ComponentLoaderConfig.parseDocumentFromUrl(ComponentLoaderConfig.java:168) > at > > org.apache.ofbiz.base.component.ComponentLoaderConfig.getComponentsFromConfig(ComponentLoaderConfig.java:80) > at > > org.apache.ofbiz.base.component.ComponentLoaderConfig.getRootComponents(ComponentLoaderConfig.java:70) > at > > org.apache.ofbiz.base.container.ComponentContainer.init(ComponentContainer.java:74) > ... 5 more > Caused by: java.io.IOException: Stream closed > at > java.util.zip.InflaterInputStream.ensureOpen(InflaterInputStream.java:67) > at > java.util.zip.InflaterInputStream.read(InflaterInputStream.java:142) > at java.io.FilterInputStream.read(FilterInputStream.java:133) > at > org.apache.xerces.impl.XMLEntityManager$RewindableInputStream.read(Unknown > Source) > at org.apache.xerces.impl.io.UTF8Reader.read(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source) > at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown > Source) > at > org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.dispatch(Unknown > > Source) > at > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > Source) > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > at org.apache.xerces.parsers.DOMParser.parse(Unknown Source) > at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown > Source) > at > javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:121) > at > org.apache.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:443) > at > org.apache.ofbiz.base.util.UtilXml.readXmlDocument(UtilXml.java:383) > at > > org.apache.ofbiz.base.component.ComponentLoaderConfig.parseDocumentFromUrl(ComponentLoaderConfig.java:166) > ... 8 more > > --- > > > NOTE: I'm working on building a docker image for OFBiz and I've made > some progress. I will share my work and try to merge it upstream. > > > NOTE: I'm using: commit ba5536fe5735fcddc7eb8b515372cab932c0a913 > Improved: Apply CSS Grid to Find Orders (OFBIZ-12116) > > NOTE: java -version > openjdk version "1.8.0_275" > OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_275-b01) > OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.275-b01, mixed mode) > > > p.s. The ofbiz build is quite large at ~450MB > > Regards, > > -- > Eugen Stan > +40720 898 747 / netdava.com > -- Daniel Watford |
Hello Daniel,
I'm running outside docker. I'm running the app inside ofbiz.tar . The build steps are in the first email, adding full list: Clone and build: git clone ofbiz ./gradlew clean pullAllPluginsSource build Unpack the result: build/distributions/ofbiz.tar Run ./bin/ofbiz --load-data readers=seed,seed-initial,ext,ext-demo Here is a list of files in my ofbiz.jar (REDACTED the java classes): Archive: lib/ofbiz.jar Length Date Time Name --------- ---------- ----- ---- 0 2021-01-05 12:15 META-INF/ 94232 2021-01-05 12:15 META-INF/MANIFEST.MF 0 2021-01-05 12:15 org/ 0 2021-01-05 12:15 org/apache/ 0 2021-01-05 12:15 org/apache/ofbiz/ 0 2021-01-05 12:15 org/apache/ofbiz/datafile/ REDACTED 982 2021-01-05 12:15 bi.properties 1703 2021-01-05 12:15 requestHandler.properties 13882 2021-01-05 12:15 ExampleEntityLabels.xml 1762 2021-01-05 12:15 url.properties 3115 2021-01-05 12:15 HumanResErrorUiLabels.xml 5791 2021-01-05 12:15 docbookx.dtd 10107 2021-01-05 12:15 entity-eca.xsd 1538 2021-01-05 12:15 ecommerce.properties 5563 2021-01-05 12:15 PassportUiLabels.xml 11864 2021-01-05 12:15 conditionalUiLabels.xml 1589 2021-01-05 12:15 ftp.properties 1199 2021-01-05 12:15 order.properties 2898 2021-01-05 12:15 QRCodeUiLabels.xml 1014 2021-01-05 12:15 freemarkerImports.properties 5233 2021-01-05 12:15 MiniLangErrorUiLabels.xml 12049 2021-01-05 12:15 widget-menu.xsd 1463 2021-01-05 12:15 firstdata.properties 105939 2021-01-05 12:15 widget-form.xsd 18138 2021-01-05 12:15 BirtUiLabels.xml 43081 2021-01-05 12:15 entityengine.xml 2279 2021-01-05 12:15 serverstats.properties 22422 2021-01-05 12:15 entity-config.xsd 161917 2021-01-05 12:15 ProjectMgrUiLabels.xml 1104 2021-01-05 12:15 pricat.properties 895644 2021-01-05 12:15 CommonUiLabels.xml 994 2021-01-05 12:15 certificate.properties 2638 2021-01-05 12:15 CommonHelpUiLabels.xml 7091 2021-01-05 12:15 MarketingEntityLabels.xml 1046 2021-01-05 12:15 gitHubAuth.properties 5013 2021-01-05 12:15 service-mca.xsd 1054 2021-01-05 12:15 linkedInAuth.properties 6215 2021-01-05 12:15 general.properties 29603 2021-01-05 12:15 widget-common.xsd 1359 2021-01-05 12:15 webapp-catalog.xml 6117 2021-01-05 12:15 datafiles.xsd 193909 2021-01-05 12:15 SecurityEntityLabels.xml 2279 2021-01-05 12:15 solrconfig.properties 14422 2021-01-05 12:15 payment.properties 16528 2021-01-05 12:15 service-eca.xsd 7298 2021-01-05 12:15 DateTimeLabels.xml 5683 2021-01-05 12:15 BirtErrorUiLabels.xml 1828 2021-01-05 12:15 widget-catalog.xml 1793 2021-01-05 12:15 jndi-config.xsd 2019 2021-01-05 12:15 number.properties 13791 2021-01-05 12:15 TemporalExpressionUiLabels.xml 0 2021-01-05 12:15 axis2/ 0 2021-01-05 12:15 axis2/conf/ 28469 2021-01-05 12:15 axis2/conf/axis2.xml 71029 2021-01-05 12:15 OrderEntityLabels.xml 37217 2021-01-05 12:15 WorkEffortEntityLabels.xml 1769 2021-01-05 12:15 base-catalog.xml 760195 2021-01-05 12:15 docbook.xsd 1424 2021-01-05 12:15 captcha.properties 1726 2021-01-05 12:15 jsse.properties 1668 2021-01-05 12:15 jndiLdap.properties 15639 2021-01-05 12:15 service-config.xsd 139370 2021-01-05 12:15 ProductErrorUiLabels.xml 2204 2021-01-05 12:15 ofbizrmi.jks 371213 2021-01-05 12:15 WebtoolsUiLabels.xml 12899 2021-01-05 12:15 security.properties 6487 2021-01-05 12:15 fieldtypemodel.xsd 1710 2021-01-05 12:15 workeffort.properties 321811 2021-01-05 12:15 ProductEntityLabels.xml 34449 2021-01-05 12:15 WebtoolsErrorUiLabels.xml 1889 2021-01-05 12:15 ebayExport.properties 10982 2021-01-05 12:15 AssetMaintUiLabels.xml 2856 2021-01-05 12:15 ImageProperties.xml 9517 2021-01-05 12:15 ProductPromoUiLabels.xml 1856 2021-01-05 12:15 entitygroup.xsd 2095 2021-01-05 12:15 catalog.properties 25578 2021-01-05 12:15 entitymodel.xsd 10327 2021-01-05 12:15 widget-tree.xsd 8499 2021-01-05 12:15 shipment.properties 2059 2021-01-05 12:15 MsgGatewayUiLabels.xml 23461 2021-01-05 12:15 ManufacturingReportsUiLabels.xml 334546 2021-01-05 12:15 AccountingEntityLabels.xml 1362 2021-01-05 12:15 datafiles-catalog.xml 913 2021-01-05 12:15 rmitrust.jks 397902 2021-01-05 12:15 ManufacturingUiLabels.xml 316883 2021-01-05 12:15 EcommerceUiLabels.xml 14069 2021-01-05 12:15 ofbiz-component.xsd 1666 2021-01-05 12:15 content.properties 36774 2021-01-05 12:15 site-conf.xsd 221685 2021-01-05 12:15 HumanResUiLabels.xml 2694 2021-01-05 12:15 prodsearch.properties 1973 2021-01-05 12:15 keywordsearch.properties 5979 2021-01-05 12:15 serviceengine.xml 4611 2021-01-05 12:15 linehandler.properties 2701 2021-01-05 12:15 org/apache/ofbiz/base/OfbizDslDescriptorForIntelliJ.gdsl 2598 2021-01-05 12:15 org/apache/ofbiz/base/OfbizDslDescriptorForEclipse.dsld 1277 2021-01-05 12:15 org/apache/ofbiz/base/start/load-data.properties 1222 2021-01-05 12:15 org/apache/ofbiz/base/start/rmi.properties 3075 2021-01-05 12:15 org/apache/ofbiz/base/start/start.properties 1272 2021-01-05 12:15 org/apache/ofbiz/base/start/test.properties 1470 2021-01-05 12:15 org/apache/ofbiz/product/freemarkerTransforms.properties 858 2021-01-05 12:15 org/apache/ofbiz/webtools/labelmanager/APACHE2_HEADER_FOR_XML 2421 2021-01-05 12:15 org/apache/ofbiz/content/freemarkerTransforms.properties 1142 2021-01-05 12:15 org/apache/ofbiz/widget/freemarkerTransforms.properties 1889 2021-01-05 12:15 org/apache/ofbiz/webapp/freemarkerTransforms.properties 988 2021-01-05 12:15 org/apache/ofbiz/common/JavaScriptTest.js 88259 2021-01-05 12:15 SecurityextUiLabels.xml 262395 2021-01-05 12:15 PartyEntityLabels.xml 1688 2021-01-05 12:15 SafeObjectInputStream.properties 1191 2021-01-05 12:15 component-load.xml 428 2021-01-05 12:15 README 958 2021-01-05 12:15 AutoImportTemplate.ftl 1012 2021-01-05 12:15 config.txt 3561 2021-01-05 12:15 HumanResEntityLabels.xml 1479 2021-01-05 12:15 fo-styles.properties 1449 2021-01-05 12:15 service.properties 1168 2021-01-05 12:15 catalina.properties 916 2021-01-05 12:15 ofbizrmi-truststore.jks 1023 2021-01-05 12:15 rainbowstone.properties 5799 2021-01-05 12:15 SeoConfig.xml 2859 2021-01-05 12:15 FirstDataUiLabels.xml 1248 2021-01-05 12:15 CommonThemeUiLabels.xml 12312 2021-01-05 12:15 widget-theme.xsd 3940 2021-01-05 12:15 SolrUiLabels.xml 3153 2021-01-05 12:15 ApiUiLabels.xml 1729 2021-01-05 12:15 entity-catalog.xml 8096 2021-01-05 12:15 IsMgrUiLabels.xml 166075 2021-01-05 12:15 PartyErrorUiLabels.xml 2436 2021-01-05 12:15 paymentTest.properties 2262 2021-01-05 12:15 accounting.properties 1856 2021-01-05 12:15 owasp.properties 3869 2021-01-05 12:15 log4j2.xml 958 2021-01-05 12:15 forum.properties 3010 2021-01-05 12:15 widget.properties 701048 2021-01-05 12:15 OrderErrorUiLabels.xml 0 2021-01-05 12:15 META-INF/services/ 1174 2021-01-05 12:15 META-INF/services/org.apache.ofbiz.base.conversion.ConverterLoader 7321 2021-01-05 12:15 META-INF/services/org.apache.ofbiz.minilang.method.MethodOperation$Factory 1661 2021-01-05 12:15 META-INF/services/org.apache.ofbiz.minilang.method.conditional.ConditionalFactory 829 2021-01-05 12:15 META-INF/services/org.apache.ofbiz.entity.DelegatorFactory 922 2021-01-05 12:15 META-INF/services/org.apache.ofbiz.common.authentication.api.Authenticator 1879 2021-01-05 12:15 ofbiz-properties.xsd 25019 2021-01-05 12:15 services.xsd 198540 2021-01-05 12:15 docbook.dtd 1372 2021-01-05 12:15 minilang-catalog.xml 1779305 2021-01-05 12:15 AccountingUiLabels.xml 19229 2021-01-05 12:15 ManufacturingEntityLabels.xml 31245 2021-01-05 12:15 ContentErrorUiLabels.xml 238084 2021-01-05 12:15 simple-methods.xsd 1712 2021-01-05 12:15 MiniLang.xslt 5649 2021-01-05 12:15 fop.xconf 1079 2021-01-05 12:15 dtd.txt 235468 2021-01-05 12:15 MarketingUiLabels.xml 4018 2021-01-05 12:15 WebappEntityLabels.xml 2447 2021-01-05 12:15 jndiservers.xml 452578 2021-01-05 12:15 ContentUiLabels.xml 1361 2021-01-05 12:15 testtools-catalog.xml 2235761 2021-01-05 12:15 ProductUiLabels.xml 12785 2021-01-05 12:15 CommonErrorUiLabels.xml 1581 2021-01-05 12:15 minilang.properties 1925 2021-01-05 12:15 component-loader.xsd 5223 2021-01-05 12:15 SeoConfig.xsd 1610 2021-01-05 12:15 taxware.properties 1769 2021-01-05 12:15 ldap.xml 17926 2021-01-05 12:15 SetupUiLabels.xml 45829 2021-01-05 12:15 BiUiLabels.xml 3266 2021-01-05 12:15 service-group.xsd 0 2021-01-05 12:15 barcode/ 1033 2021-01-05 12:15 barcode/DefaultBarcode.xml 2405 2021-01-05 12:15 compound-widgets.xsd 3646 2021-01-05 12:15 DefaultMessagesUiLabels.xml 89577 2021-01-05 12:15 AccountingErrorUiLabels.xml 173394 2021-01-05 12:15 ContentEntityLabels.xml 1624 2021-01-05 12:15 debug.properties 57545 2021-01-05 12:15 SecurityUiLabels.xml 1219 2021-01-05 12:15 examplepdf.properties 1234 2021-01-05 12:15 qrcode.properties 1359 2021-01-05 12:15 security-config.xsd 4824 2021-01-05 12:15 EmailPasswordUiLabels.xml 345759 2021-01-05 12:15 WorkEffortUiLabels.xml 1290 2021-01-05 12:15 revision.properties 579 2021-01-05 12:15 xml.xsd 83775 2021-01-05 12:15 ExampleUiLabels.xml 4053 2021-01-05 12:15 rest-api.xsd 1344 2021-01-05 12:15 jndi.properties 1188 2021-01-05 12:15 blog.properties 2451 2021-01-05 12:15 fop.properties 1068 2021-01-05 12:15 zipsales.properties 5927 2021-01-05 12:15 test-suite.xsd 1225 2021-01-05 12:15 cdyne.properties 1166220 2021-01-05 12:15 CommonEntityLabels.xml 60820 2021-01-05 12:15 WebPosUiLabels.xml 1062 2021-01-05 12:15 contentsearch.properties 47103 2021-01-05 12:15 EbayUiLabels.xml 6088 2021-01-05 12:15 CommonExtUiLabels.xml 2427 2021-01-05 12:15 ofbizssl.jks 1018486 2021-01-05 12:15 OrderUiLabels.xml 2418 2021-01-05 12:15 arithmetic.properties 11084 2021-01-05 12:15 PrefErrorUiLabels.xml 115660 2021-01-05 12:15 scrumUiLabels.xml 1240 2021-01-05 12:15 xlink.xsd 4121 2021-01-05 12:15 cache.properties 1095 2021-01-05 12:15 localdtds.properties 28633 2021-01-05 12:15 WebappUiLabels.xml 6368 2021-01-05 12:15 CommonPortalEntityLabels.xml 1084 2021-01-05 12:15 sfa.properties 14957 2021-01-05 12:15 MyPortalUiLabels.xml 12774 2021-01-05 12:15 EntityExtUiLabels.xml 26837 2021-01-05 12:15 ServiceErrorUiLabels.xml 1536 2021-01-05 12:15 ServiceUiLabels.xml 959829 2021-01-05 12:15 PartyUiLabels.xml 980 2021-01-05 12:15 lucene.properties 1724 2021-01-05 12:15 service-catalog.xml 26690 2021-01-05 12:15 widget-screen.xsd 1463 2021-01-05 12:15 ExampleHelpUiLabels.xml 24202 2021-01-05 12:15 PricatUiLabels.xml 1086 2021-01-05 12:15 passwords.properties 1128 2021-01-05 12:15 groovy.properties --------- ------- 29934069 2571 files -- Eugen Stan +40720 898 747 / netdava.com |
@Daniel: I believe this is a bug.
I've started the app in debug mode. I've skipped the failing step by dropping some frames in the java debugger and it continued loading data once it got past that. Can you please try to reproduce building the ofbiz.tar and running the app from it? If it is a bug I will report it to dev@ . Thanks, -- Eugen Stan +40720 898 747 / netdava.com |
I have actually reproducted it without taking docker as a context.
java -classpath ofbiz.jar org.apache.ofbiz.base.start.Start should trigger the issue as eventually that is what ofbiz.bat/ofbiz.sh seem to be doing. Looking at the exception, it looks like there is some issue with the XML parser trying to validate XML (loaded from within ofbiz.jar) from the XSD and it is unable to load it because probably the inputstream to ofbiz.jar is already closed. It may not help much at this point but this is what it looks like. Best, Girish On Tue, Jan 5, 2021 at 10:04 PM Eugen Stan <[hidden email]> wrote: > @Daniel: I believe this is a bug. > > I've started the app in debug mode. > > I've skipped the failing step by dropping some frames in the java > debugger and it continued loading data once it got past that. > > Can you please try to reproduce building the ofbiz.tar and running the > app from it? > > If it is a bug I will report it to dev@ . > > Thanks, > -- > Eugen Stan > +40720 898 747 / netdava.com > |
Thank you Girish Vasmatkar for validating it.
I've raised this jira issue: https://issues.apache.org/jira/browse/OFBIZ-12118 . -- Eugen Stan +40720 898 747 / netdava.com |
Free forum by Nabble | Edit this page |