Re: Demos shutdown because possible security issues
Hi Georg, I believe the demo-trunk site combines the ofbiz-framework repo and the ofbiz-plugins repo. Framework: https://gitbox.apache.org/repos/asf/ofbiz-framework.git OR https://github.com/apache/ofbiz-framework Plugins: https://gitbox.apache.org/repos/asf?p=ofbiz-plugins.git OR https://github.com/apache/ofbiz-plugins Dan. On Thu, 3 Dec 2020 at 15:19, Georg Potthast 2 wrote: > I should add that I can generate PDF files fine on my Windows > installation. The problem appears with barcode only. So I do not know why I > need all these fonts. > > Is there a Github site where I could look at the " > demo-trunk.ofbiz.apache.org" code? > > Georg > > > Jacques Le Roux hat am 03.12.2020 15:41 > geschrieben: > > > > > > I'd have a look at > https://stackoverflow.com/questions/19767205/embedding-font-into-apache-fop > too > > > > HTH > > > > Le 03/12/2020 à 15:39, Jacques Le Roux a écrit : > > > Mmm, not sure it will work though, I have not them into > C:/WINDOWS/FONTS/ and it works here (I was the one who did that some years > ago, on Windows > > > too) > > > > > > Also check fop.properties, maybe the name must be NotoSans "NotoSans" > not "Noto Sans" > > > > > > Not sure about all that :) I'd make several different tries... > > > > > > Jacques > > > > > > Le 03/12/2020 à 15:34, Jacques Le Roux a écrit : > > >> Hi Georg, > > >> > > >> The fonts OFBiz uses are in framework/resources/fonts/NotoSans/ dir. > I'd try to put them into C:/WINDOWS/FONTS/ > > >> > > >> HTH > > >> > > >> Jacques > > >> > > >> Le 03/12/2020 à 13:16, Georg Potthast 2 a écrit : > > >>> Hi Jacques, > > >>> > > >>> here are lines from the log. It does not find fonts, I have included > only the last lines of the messages that it could not find the font. > > >>> > > >>> Here is a screenshot of my fonts directory on Windows: > > >>> https://up.picr.de/40004386kt.png > > >>> It seems to me the fonts are there but with different names. > > >>> > > >>> Georg > > >>> > > >>> 2020-12-03 13:00:56,188 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > > >>> file:/C:/WINDOWS/FONTS/NotoSerif-Regular.ttf. Reason: > java.lang.UnsupportedOperationException: coverage set class table not yet > supported > > >>> 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > > >>> file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Bold.ttf. Reason: > java.lang.UnsupportedOperationException: coverage set class table not yet > supported > > >>> 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > > >>> file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Regular.ttf. Reason: > java.lang.UnsupportedOperationException: coverage set class table not yet > supported > > >>> 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > > >>> file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Bold.ttf. Reason: > java.lang.UnsupportedOperationException: coverage set class table not yet > supported > > >>> 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > > >>> file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Regular.ttf. Reason: > java.lang.UnsupportedOperationException: coverage set class table not yet > supported > > >>> 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > > >>> file:/C:/WINDOWS/FONTS/NotoSerifLao-Bold.ttf. Reason: > java.lang.UnsupportedOperationException: coverage set class table not yet > supported > > >>> 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > > >>> file:/C:/WINDOWS/FONTS/NotoSerifLao-Regular.ttf. Reason: > java.lang.UnsupportedOperationException: coverage set class table not yet > supported > > >>> 2020-12-03 13:00:56,527 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > > >>> file:/C:/WINDOWS/FONTS/ReemKufi-Regular.ttf. Reason: > java.lang.UnsupportedOperationException: coverage set class table not yet > supported > > >>> 2020-12-03 13:00:56,611 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > > >>> file:/C:/WINDOWS/FONTS/Scheherazade-Bold.ttf. Reason: > java.lang.UnsupportedOperationException: coverage set class table not yet > supported > > >>> 2020-12-03 13:00:56,627 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > > >>> file:/C:/WINDOWS/FONTS/Scheherazade-Regular.ttf. Reason: > java.lang.UnsupportedOperationException: coverage set class table not yet > supported > > >>> 2020-12-03 13:00:58,394 |jsse-nio-8443-exec-4 > |FOUserAgent |W| Unable to load font file: > file:/C:/WINDOWS/FONTS/teamviewer9.otf. > > >>> Reason: java.lang.RuntimeException: The font > file:/C:/WINDOWS/FONTS/teamviewer9.otf is not embeddable due to a licensing > restriction. > > >>> 2020-12-03 13:01:01,086
Re: Demos shutdown because possible security issues
I should add that I can generate PDF files fine on my Windows installation. The problem appears with barcode only. So I do not know why I need all these fonts. Is there a Github site where I could look at the "demo-trunk.ofbiz.apache.org" code? Georg > Jacques Le Roux hat am 03.12.2020 15:41 > geschrieben: > > > I'd have a look at > https://stackoverflow.com/questions/19767205/embedding-font-into-apache-fop > too > > HTH > > Le 03/12/2020 à 15:39, Jacques Le Roux a écrit : > > Mmm, not sure it will work though, I have not them into C:/WINDOWS/FONTS/ > > and it works here (I was the one who did that some years ago, on Windows > > too) > > > > Also check fop.properties, maybe the name must be NotoSans "NotoSans" not > > "Noto Sans" > > > > Not sure about all that :) I'd make several different tries... > > > > Jacques > > > > Le 03/12/2020 à 15:34, Jacques Le Roux a écrit : > >> Hi Georg, > >> > >> The fonts OFBiz uses are in framework/resources/fonts/NotoSans/ dir. I'd > >> try to put them into C:/WINDOWS/FONTS/ > >> > >> HTH > >> > >> Jacques > >> > >> Le 03/12/2020 à 13:16, Georg Potthast 2 a écrit : > >>> Hi Jacques, > >>> > >>> here are lines from the log. It does not find fonts, I have included only > >>> the last lines of the messages that it could not find the font. > >>> > >>> Here is a screenshot of my fonts directory on Windows: > >>> https://up.picr.de/40004386kt.png > >>> It seems to me the fonts are there but with different names. > >>> > >>> Georg > >>> > >>> 2020-12-03 13:00:56,188 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: > >>> file:/C:/WINDOWS/FONTS/NotoSerif-Regular.ttf. Reason: > >>> java.lang.UnsupportedOperationException: coverage set class table not yet > >>> supported > >>> 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: > >>> file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Bold.ttf. Reason: > >>> java.lang.UnsupportedOperationException: coverage set class table not yet > >>> supported > >>> 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: > >>> file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Regular.ttf. Reason: > >>> java.lang.UnsupportedOperationException: coverage set class table not yet > >>> supported > >>> 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: > >>> file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Bold.ttf. Reason: > >>> java.lang.UnsupportedOperationException: coverage set class table not yet > >>> supported > >>> 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: > >>> file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Regular.ttf. Reason: > >>> java.lang.UnsupportedOperationException: coverage set class table not yet > >>> supported > >>> 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: > >>> file:/C:/WINDOWS/FONTS/NotoSerifLao-Bold.ttf. Reason: > >>> java.lang.UnsupportedOperationException: coverage set class table not yet > >>> supported > >>> 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: > >>> file:/C:/WINDOWS/FONTS/NotoSerifLao-Regular.ttf. Reason: > >>> java.lang.UnsupportedOperationException: coverage set class table not yet > >>> supported > >>> 2020-12-03 13:00:56,527 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: > >>> file:/C:/WINDOWS/FONTS/ReemKufi-Regular.ttf. Reason: > >>> java.lang.UnsupportedOperationException: coverage set class table not yet > >>> supported > >>> 2020-12-03 13:00:56,611 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: > >>> file:/C:/WINDOWS/FONTS/Scheherazade-Bold.ttf. Reason: > >>> java.lang.UnsupportedOperationException: coverage set class table not yet > >>> supported > >>> 2020-12-03 13:00:56,627 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: > >>> file:/C:/WINDOWS/FONTS/Scheherazade-Regular.ttf. Reason: > >>> java.lang.UnsupportedOperationException: coverage set class table not yet > >>> supported > >>> 2020-12-03 13:00:58,394 |jsse-nio-8443-exec-4 |FOUserAgent > >>> |W| Unable to load font file: file:/C:/WINDOWS/FONTS/teamviewer9.otf. > >>> Reason: java.lang.RuntimeException: The font > >>> file:/C:/WINDOWS/FONTS/teamviewer9.otf is not embeddable due to a > >>> licensing restriction. > >>> 2020-12-03 13:01:01,086 |http-nio-8080-exec-1 |ControlServlet > >>> |T| [[[qrcode(Domain:http://localhost)] Request Begun, > >>> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] > >>> 2020-12-03 13:01:01,139 |http-nio-8080-exec-1 |ConfigXMLReader > >>> |I| controller loaded: 0.0s, 50 requests, 34 views in > >>>
Re: Demos shutdown because possible security issues
I'd have a look at https://stackoverflow.com/questions/19767205/embedding-font-into-apache-fop too HTH Le 03/12/2020 à 15:39, Jacques Le Roux a écrit : Mmm, not sure it will work though, I have not them into C:/WINDOWS/FONTS/ and it works here (I was the one who did that some years ago, on Windows too) Also check fop.properties, maybe the name must be NotoSans "NotoSans" not "Noto Sans" Not sure about all that :) I'd make several different tries... Jacques Le 03/12/2020 à 15:34, Jacques Le Roux a écrit : Hi Georg, The fonts OFBiz uses are in framework/resources/fonts/NotoSans/ dir. I'd try to put them into C:/WINDOWS/FONTS/ HTH Jacques Le 03/12/2020 à 13:16, Georg Potthast 2 a écrit : Hi Jacques, here are lines from the log. It does not find fonts, I have included only the last lines of the messages that it could not find the font. Here is a screenshot of my fonts directory on Windows: https://up.picr.de/40004386kt.png It seems to me the fonts are there but with different names. Georg 2020-12-03 13:00:56,188 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerif-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifLao-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifLao-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,527 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/ReemKufi-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,611 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/Scheherazade-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,627 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/Scheherazade-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:58,394 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/teamviewer9.otf. Reason: java.lang.RuntimeException: The font file:/C:/WINDOWS/FONTS/teamviewer9.otf is not embeddable due to a licensing restriction. 2020-12-03 13:01:01,086 |http-nio-8080-exec-1 |ControlServlet |T| [[[qrcode(Domain:http://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2020-12-03 13:01:01,139 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 50 requests, 34 views in file:/C:/ofbiz/plugins/example/webapp/example/WEB-INF/controller.xml 2020-12-03 13:01:01,170 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 48 requests, 22 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml 2020-12-03 13:01:01,201 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 0 requests, 0 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/handlers-controller.xml 2020-12-03 13:01:01,224 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 26 requests, 10 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/portal-controller.xml 2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 2 requests, 2 views in file:/C:/ofbiz/plugins/example/widget/example/ExampleCompoundWidgets.xml
Re: Demos shutdown because possible security issues
Mmm, not sure it will work though, I have not them into C:/WINDOWS/FONTS/ and it works here (I was the one who did that some years ago, on Windows too) Also check fop.properties, maybe the name must be NotoSans "NotoSans" not "Noto Sans" Not sure about all that :) I'd make several different tries... Jacques Le 03/12/2020 à 15:34, Jacques Le Roux a écrit : Hi Georg, The fonts OFBiz uses are in framework/resources/fonts/NotoSans/ dir. I'd try to put them into C:/WINDOWS/FONTS/ HTH Jacques Le 03/12/2020 à 13:16, Georg Potthast 2 a écrit : Hi Jacques, here are lines from the log. It does not find fonts, I have included only the last lines of the messages that it could not find the font. Here is a screenshot of my fonts directory on Windows: https://up.picr.de/40004386kt.png It seems to me the fonts are there but with different names. Georg 2020-12-03 13:00:56,188 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerif-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifLao-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifLao-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,527 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/ReemKufi-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,611 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/Scheherazade-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,627 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/Scheherazade-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:58,394 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/teamviewer9.otf. Reason: java.lang.RuntimeException: The font file:/C:/WINDOWS/FONTS/teamviewer9.otf is not embeddable due to a licensing restriction. 2020-12-03 13:01:01,086 |http-nio-8080-exec-1 |ControlServlet |T| [[[qrcode(Domain:http://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2020-12-03 13:01:01,139 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 50 requests, 34 views in file:/C:/ofbiz/plugins/example/webapp/example/WEB-INF/controller.xml 2020-12-03 13:01:01,170 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 48 requests, 22 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml 2020-12-03 13:01:01,201 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 0 requests, 0 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/handlers-controller.xml 2020-12-03 13:01:01,224 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 26 requests, 10 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/portal-controller.xml 2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 2 requests, 2 views in file:/C:/ofbiz/plugins/example/widget/example/ExampleCompoundWidgets.xml 2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |RequestHandler |I| Sending redirect to:
Re: Demos shutdown because possible security issues
Hi Georg, The fonts OFBiz uses are in framework/resources/fonts/NotoSans/ dir. I'd try to put them into C:/WINDOWS/FONTS/ HTH Jacques Le 03/12/2020 à 13:16, Georg Potthast 2 a écrit : Hi Jacques, here are lines from the log. It does not find fonts, I have included only the last lines of the messages that it could not find the font. Here is a screenshot of my fonts directory on Windows: https://up.picr.de/40004386kt.png It seems to me the fonts are there but with different names. Georg 2020-12-03 13:00:56,188 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerif-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifLao-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifLao-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,527 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/ReemKufi-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,611 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/Scheherazade-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,627 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/Scheherazade-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:58,394 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/teamviewer9.otf. Reason: java.lang.RuntimeException: The font file:/C:/WINDOWS/FONTS/teamviewer9.otf is not embeddable due to a licensing restriction. 2020-12-03 13:01:01,086 |http-nio-8080-exec-1 |ControlServlet |T| [[[qrcode(Domain:http://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2020-12-03 13:01:01,139 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 50 requests, 34 views in file:/C:/ofbiz/plugins/example/webapp/example/WEB-INF/controller.xml 2020-12-03 13:01:01,170 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 48 requests, 22 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml 2020-12-03 13:01:01,201 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 0 requests, 0 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/handlers-controller.xml 2020-12-03 13:01:01,224 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 26 requests, 10 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/portal-controller.xml 2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 2 requests, 2 views in file:/C:/ofbiz/plugins/example/widget/example/ExampleCompoundWidgets.xml 2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |RequestHandler|I| Sending redirect to: [https://localhost:8443/example/control/qrcode?message=Example%2011=bmp=UTF-8=true=20=20]. Hidden sessionId by default. 2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |ServerHitBin |I| Visit delegatorName=default, ServerHitBin delegatorName=default 2020-12-03 13:01:01,286 |http-nio-8080-exec-1 |ControlServlet |T| [[[qrcode(Domain:http://localhost)]
Backing up ofbiz
Hello, What are the minimal components of an ofbiz deployment that should be backed up such that it can be restored on a new host? I know we could grab a copy of the whole filesystem and database, but I would like to explore how to keep the size of the backup as small as possible. Part of the reason for this question is to determine what should be exposed to the host filesystem for a docker deployment. The things I thought might need backing up are: - Database dump - Database configuration ($ofbiz/framework/entity/config/entityengine.xml) - Base configuration ($ofbiz/framework/base/config/*) - Common configuration ($ofbiz/framework/common/config/*) - Any other modified configuration files - Any customised template files such as $ofbiz/application/accounting/template/invoice/* I have left out the plugins directory as I have assumed these would be installed as part of any deployment script. However any configuration files for those plugins would need to be backed up. Where does uploaded content get stored? This will need to be backed up too. Any comments, additions and removals to the above gratefully received. Also any war stories about backup strategies you employ, any recommended tools, experience of performing an emergency restore, how big your backups get, etc. would be good to share. Thanks, Dan. -- Daniel Watford
Re: Demos shutdown because possible security issues
Hi Jacques, here are lines from the log. It does not find fonts, I have included only the last lines of the messages that it could not find the font. Here is a screenshot of my fonts directory on Windows: https://up.picr.de/40004386kt.png It seems to me the fonts are there but with different names. Georg 2020-12-03 13:00:56,188 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerif-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,210 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifGeorgian-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,226 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifHebrew-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifLao-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,241 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/NotoSerifLao-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,527 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/ReemKufi-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,611 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/Scheherazade-Bold.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:56,627 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/Scheherazade-Regular.ttf. Reason: java.lang.UnsupportedOperationException: coverage set class table not yet supported 2020-12-03 13:00:58,394 |jsse-nio-8443-exec-4 |FOUserAgent |W| Unable to load font file: file:/C:/WINDOWS/FONTS/teamviewer9.otf. Reason: java.lang.RuntimeException: The font file:/C:/WINDOWS/FONTS/teamviewer9.otf is not embeddable due to a licensing restriction. 2020-12-03 13:01:01,086 |http-nio-8080-exec-1 |ControlServlet |T| [[[qrcode(Domain:http://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]] 2020-12-03 13:01:01,139 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 50 requests, 34 views in file:/C:/ofbiz/plugins/example/webapp/example/WEB-INF/controller.xml 2020-12-03 13:01:01,170 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 48 requests, 22 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/common-controller.xml 2020-12-03 13:01:01,201 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 0 requests, 0 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/handlers-controller.xml 2020-12-03 13:01:01,224 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 26 requests, 10 views in file:/C:/ofbiz/framework/common/webcommon/WEB-INF/portal-controller.xml 2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |ConfigXMLReader |I| controller loaded: 0.0s, 2 requests, 2 views in file:/C:/ofbiz/plugins/example/widget/example/ExampleCompoundWidgets.xml 2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |RequestHandler |I| Sending redirect to: [https://localhost:8443/example/control/qrcode?message=Example%2011=bmp=UTF-8=true=20=20]. Hidden sessionId by default. 2020-12-03 13:01:01,270 |http-nio-8080-exec-1 |ServerHitBin |I| Visit delegatorName=default, ServerHitBin delegatorName=default 2020-12-03 13:01:01,286 |http-nio-8080-exec-1 |ControlServlet |T| [[[qrcode(Domain:http://localhost)] Request Done- total:0.184,since last([qrcode(Domain:ht...):0.184]] 2020-12-03 13:01:01,386 |jsse-nio-8443-exec-4 |ScreenFopViewHandler |E| Unable to transform FO file: