Demos shutdown because possible security issues

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
26 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Demos shutdown because possible security issues

Jacques Le Roux
Administrator
Hi,

Due to possible security issues the demos have been shutdown.

These possible security issues are due to the demos data.

So custom projects should not have to worry.

We will discuss in dev ML how to restart the demos.

Thanks for your patience

Jacques

Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Shane Hollis
Hi,

We went to view the demos and saw the security message. It might be
worth making it really clear the security issue is the data not the code
- as it is not a good look to have a project shut for security reasons -
especially one that handles finances. Just saying :)

Shane



On 2020/08/11 10:50:43, Jacques Le Roux <[hidden email]> wrote:
 > Hi,>
 >
 > Due to possible security issues the demos have been shutdown.>
 >
 > These possible security issues are due to the demos data.>
 >
 > So custom projects should not have to worry.>
 >
 > We will discuss in dev ML how to restart the demos.>
 >
 > Thanks for your patience>
 >
 > Jacques>
 >
 >


----All Outsourced Information Technology Limiteds work, sales and correspondence is covered under our terms of service and privacy policies found at https://outsourcedit.co.nz/tandc . Our online invoicing system is found at https://invoice.outsourcedit.co.nz and invoices, receipts and quotes can be accessed there. All goods and services sold are covered under the Sale of Goods Act and the Consumer Guarantees Act of NZ and will be liable for GST where applicable.


Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Jacques Le Roux
Administrator
Hi Shane,

Your message has been moderated, else it would not have reached this Mailing List.

Please subscribe to the user ML for such questions and then use your email client.
See why here http://ofbiz.apache.org/mailing-lists.html.

You will get a better support, people can answer you on the ML.
The wider the audience the better the answers you might get.

Also it's more work for moderators who have to accept your messages as long as you have not subscribed.
I'll personally no longer accept them (other moderators still could).

Thanks

This said, how do you know that it's only (demo) data (which is right) and not code :) ?

Jacques

Le 24/09/2020 à 06:03, Shane Hollis a écrit :

> Hi,
>
> We went to view the demos and saw the security message. It might be
> worth making it really clear the security issue is the data not the code
> - as it is not a good look to have a project shut for security reasons -
> especially one that handles finances. Just saying :)
>
> Shane
>
>
>
> On 2020/08/11 10:50:43, Jacques Le Roux <[hidden email]> wrote:
>   > Hi,>
>   >
>   > Due to possible security issues the demos have been shutdown.>
>   >
>   > These possible security issues are due to the demos data.>
>   >
>   > So custom projects should not have to worry.>
>   >
>   > We will discuss in dev ML how to restart the demos.>
>   >
>   > Thanks for your patience>
>   >
>   > Jacques>
>   >
>   >
>
>
> ----All Outsourced Information Technology Limiteds work, sales and correspondence is covered under our terms of service and privacy policies found at https://outsourcedit.co.nz/tandc . Our online invoicing system is found at https://invoice.outsourcedit.co.nz and invoices, receipts and quotes can be accessed there. All goods and services sold are covered under the Sale of Goods Act and the Consumer Guarantees Act of NZ and will be liable for GST where applicable.
>
>
Jacques Le Roux
400E Chemin de la Mouline
34560 Poussan
04 67 51 19 38
06 11 79 50 28

Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Jacques Le Roux
Administrator
In reply to this post by Jacques Le Roux
Ha yes indeed, thanks!

Le 24/09/2020 à 09:04, itsupport a écrit :

>
> Because you wrote:
>
>
> On 2020/08/11 10:50:43, Jacques Le Roux wrote:
> > > Hi,>
> > >
> > > Due to possible security issues the demos have been shutdown.>
> > >
> > > These possible security issues are due to the demos data.>
>
> If it was code i would be seriously concerned .
>
> Sent from my Samsung Galaxy smartphone.
>
>
> -------- Original message --------
> From: Jacques Le Roux <[hidden email]>
> Date: 24/09/20 16:47 (GMT+12:00)
> To: [hidden email], Shane Hollis <[hidden email]>
> Subject: Re: Demos shutdown because possible security issues
>
> Hi Shane,
>
> Your message has been moderated, else it would not have reached this Mailing List.
>
> Please subscribe to the user ML for such questions and then use your email client.
> See why here http://ofbiz.apache.org/mailing-lists.html.
>
> You will get a better support, people can answer you on the ML.
> The wider the audience the better the answers you might get.
>
> Also it's more work for moderators who have to accept your messages as long as you have not subscribed.
> I'll personally no longer accept them (other moderators still could).
>
> Thanks
>
> This said, how do you know that it's only (demo) data (which is right) and not code :) ?
>
> Jacques
>
> Le 24/09/2020 à 06:03, Shane Hollis a écrit :
> > Hi,
> >
> > We went to view the demos and saw the security message. It might be
> > worth making it really clear the security issue is the data not the code
> > - as it is not a good look to have a project shut for security reasons -
> > especially one that handles finances. Just saying :)
> >
> > Shane
> >
> >
> >
> > On 2020/08/11 10:50:43, Jacques Le Roux wrote:
> > > Hi,>
> > >
> > > Due to possible security issues the demos have been shutdown.>
> > >
> > > These possible security issues are due to the demos data.>
> > >
> > > So custom projects should not have to worry.>
> > >
> > > We will discuss in dev ML how to restart the demos.>
> > >
> > > Thanks for your patience>
> > >
> > > Jacques>
> > >
> > >
> >
> >
> > ----All Outsourced Information Technology Limiteds work, sales and correspondence is covered under our terms of service and privacy policies found
> at https://outsourcedit.co.nz/tandc . Our online invoicing system is found at https://invoice.outsourcedit.co.nz and invoices, receipts and quotes
> can be accessed there. All goods and services sold are covered under the Sale of Goods Act and the Consumer Guarantees Act of NZ and will be liable
> for GST where applicable.
> >
> >
> Jacques Le Roux
> 400E Chemin de la Mouline
> 34560 Poussan
> 04 67 51 19 38
> 06 11 79 50 28
>
>
>
> ----
> All Outsourced Information Technology Limiteds work, sales and correspondence is covered under our terms of service and privacy policies found at
> https://outsourcedit.co.nz/tandc .
> Our online invoicing system is found at https://invoice.outsourcedit.co.nz and invoices, receipts and quotes can be accessed there.
> All goods and services sold are covered under the Sale of Goods Act and the Consumer Guarantees Act of NZ and will be liable for GST where applicable.
>
Jacques Le Roux
400E Chemin de la Mouline
34560 Poussan
04 67 51 19 38
06 11 79 50 28

Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Rishi Solanki
Hello Jacques/All,
What exactly the issues are to not starting the demos. What demo data are
problematic, is it reported somewhere.

I would like to see if we can resolve and restart the demo instances again.
Any detail around the problem if anyone have then please share.

Best Regards,
--
Rishi Solanki
*CTO, Mindpath Technology*
Intelligent Solutions
cell: +91-98932-87847
LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>


On Thu, Sep 24, 2020 at 1:17 PM Jacques Le Roux <
[hidden email]> wrote:

> Ha yes indeed, thanks!
>
> Le 24/09/2020 à 09:04, itsupport a écrit :
> >
> > Because you wrote:
> >
> >
> > On 2020/08/11 10:50:43, Jacques Le Roux wrote:
> > > > Hi,>
> > > >
> > > > Due to possible security issues the demos have been shutdown.>
> > > >
> > > > These possible security issues are due to the demos data.>
> >
> > If it was code i would be seriously concerned .
> >
> > Sent from my Samsung Galaxy smartphone.
> >
> >
> > -------- Original message --------
> > From: Jacques Le Roux <[hidden email]>
> > Date: 24/09/20 16:47 (GMT+12:00)
> > To: [hidden email], Shane Hollis <[hidden email]>
> > Subject: Re: Demos shutdown because possible security issues
> >
> > Hi Shane,
> >
> > Your message has been moderated, else it would not have reached this
> Mailing List.
> >
> > Please subscribe to the user ML for such questions and then use your
> email client.
> > See why here http://ofbiz.apache.org/mailing-lists.html.
> >
> > You will get a better support, people can answer you on the ML.
> > The wider the audience the better the answers you might get.
> >
> > Also it's more work for moderators who have to accept your messages as
> long as you have not subscribed.
> > I'll personally no longer accept them (other moderators still could).
> >
> > Thanks
> >
> > This said, how do you know that it's only (demo) data (which is right)
> and not code :) ?
> >
> > Jacques
> >
> > Le 24/09/2020 à 06:03, Shane Hollis a écrit :
> > > Hi,
> > >
> > > We went to view the demos and saw the security message. It might be
> > > worth making it really clear the security issue is the data not the
> code
> > > - as it is not a good look to have a project shut for security reasons
> -
> > > especially one that handles finances. Just saying :)
> > >
> > > Shane
> > >
> > >
> > >
> > > On 2020/08/11 10:50:43, Jacques Le Roux wrote:
> > > > Hi,>
> > > >
> > > > Due to possible security issues the demos have been shutdown.>
> > > >
> > > > These possible security issues are due to the demos data.>
> > > >
> > > > So custom projects should not have to worry.>
> > > >
> > > > We will discuss in dev ML how to restart the demos.>
> > > >
> > > > Thanks for your patience>
> > > >
> > > > Jacques>
> > > >
> > > >
> > >
> > >
> > > ----All Outsourced Information Technology Limiteds work, sales and
> correspondence is covered under our terms of service and privacy policies
> found
> > at https://outsourcedit.co.nz/tandc . Our online invoicing system is
> found at https://invoice.outsourcedit.co.nz and invoices, receipts and
> quotes
> > can be accessed there. All goods and services sold are covered under the
> Sale of Goods Act and the Consumer Guarantees Act of NZ and will be liable
> > for GST where applicable.
> > >
> > >
> > Jacques Le Roux
> > 400E Chemin de la Mouline
> > 34560 Poussan
> > 04 67 51 19 38
> > 06 11 79 50 28
> >
> >
> >
> > ----
> > All Outsourced Information Technology Limiteds work, sales and
> correspondence is covered under our terms of service and privacy policies
> found at
> > https://outsourcedit.co.nz/tandc .
> > Our online invoicing system is found at
> https://invoice.outsourcedit.co.nz and invoices, receipts and quotes can
> be accessed there.
> > All goods and services sold are covered under the Sale of Goods Act and
> the Consumer Guarantees Act of NZ and will be liable for GST where
> applicable.
> >
> Jacques Le Roux
> 400E Chemin de la Mouline
> 34560 Poussan
> 04 67 51 19 38
> 06 11 79 50 28
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Deepak Dixit-4
Hi Rishi,

You are the PMC member, you can check the old archive, and find the
reported issue over security/private list.
For your reference https://s.apache.org/qbgpz, you need to login with
apache id to view this email thread.


Kind Regards,
Deepak Dixit



On Wed, Sep 30, 2020 at 3:55 AM Rishi Solanki <[hidden email]>
wrote:

> Hello Jacques/All,
> What exactly the issues are to not starting the demos. What demo data are
> problematic, is it reported somewhere.
>
> I would like to see if we can resolve and restart the demo instances again.
> Any detail around the problem if anyone have then please share.
>
> Best Regards,
> --
> Rishi Solanki
> *CTO, Mindpath Technology*
> Intelligent Solutions
> cell: +91-98932-87847
> LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>
>
>
> On Thu, Sep 24, 2020 at 1:17 PM Jacques Le Roux <
> [hidden email]> wrote:
>
> > Ha yes indeed, thanks!
> >
> > Le 24/09/2020 à 09:04, itsupport a écrit :
> > >
> > > Because you wrote:
> > >
> > >
> > > On 2020/08/11 10:50:43, Jacques Le Roux wrote:
> > > > > Hi,>
> > > > >
> > > > > Due to possible security issues the demos have been shutdown.>
> > > > >
> > > > > These possible security issues are due to the demos data.>
> > >
> > > If it was code i would be seriously concerned .
> > >
> > > Sent from my Samsung Galaxy smartphone.
> > >
> > >
> > > -------- Original message --------
> > > From: Jacques Le Roux <[hidden email]>
> > > Date: 24/09/20 16:47 (GMT+12:00)
> > > To: [hidden email], Shane Hollis <[hidden email]>
> > > Subject: Re: Demos shutdown because possible security issues
> > >
> > > Hi Shane,
> > >
> > > Your message has been moderated, else it would not have reached this
> > Mailing List.
> > >
> > > Please subscribe to the user ML for such questions and then use your
> > email client.
> > > See why here http://ofbiz.apache.org/mailing-lists.html.
> > >
> > > You will get a better support, people can answer you on the ML.
> > > The wider the audience the better the answers you might get.
> > >
> > > Also it's more work for moderators who have to accept your messages as
> > long as you have not subscribed.
> > > I'll personally no longer accept them (other moderators still could).
> > >
> > > Thanks
> > >
> > > This said, how do you know that it's only (demo) data (which is right)
> > and not code :) ?
> > >
> > > Jacques
> > >
> > > Le 24/09/2020 à 06:03, Shane Hollis a écrit :
> > > > Hi,
> > > >
> > > > We went to view the demos and saw the security message. It might be
> > > > worth making it really clear the security issue is the data not the
> > code
> > > > - as it is not a good look to have a project shut for security
> reasons
> > -
> > > > especially one that handles finances. Just saying :)
> > > >
> > > > Shane
> > > >
> > > >
> > > >
> > > > On 2020/08/11 10:50:43, Jacques Le Roux wrote:
> > > > > Hi,>
> > > > >
> > > > > Due to possible security issues the demos have been shutdown.>
> > > > >
> > > > > These possible security issues are due to the demos data.>
> > > > >
> > > > > So custom projects should not have to worry.>
> > > > >
> > > > > We will discuss in dev ML how to restart the demos.>
> > > > >
> > > > > Thanks for your patience>
> > > > >
> > > > > Jacques>
> > > > >
> > > > >
> > > >
> > > >
> > > > ----All Outsourced Information Technology Limiteds work, sales and
> > correspondence is covered under our terms of service and privacy policies
> > found
> > > at https://outsourcedit.co.nz/tandc . Our online invoicing system is
> > found at https://invoice.outsourcedit.co.nz and invoices, receipts and
> > quotes
> > > can be accessed there. All goods and services sold are covered under
> the
> > Sale of Goods Act and the Consumer Guarantees Act of NZ and will be
> liable
> > > for GST where applicable.
> > > >
> > > >
> > > Jacques Le Roux
> > > 400E Chemin de la Mouline
> > > 34560 Poussan
> > > 04 67 51 19 38
> > > 06 11 79 50 28
> > >
> > >
> > >
> > > ----
> > > All Outsourced Information Technology Limiteds work, sales and
> > correspondence is covered under our terms of service and privacy policies
> > found at
> > > https://outsourcedit.co.nz/tandc .
> > > Our online invoicing system is found at
> > https://invoice.outsourcedit.co.nz and invoices, receipts and quotes can
> > be accessed there.
> > > All goods and services sold are covered under the Sale of Goods Act and
> > the Consumer Guarantees Act of NZ and will be liable for GST where
> > applicable.
> > >
> > Jacques Le Roux
> > 400E Chemin de la Mouline
> > 34560 Poussan
> > 04 67 51 19 38
> > 06 11 79 50 28
> >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Jacques Le Roux
Administrator
In reply to this post by Rishi Solanki
Hi Rishi,

I already answered to this question to Olivier on Slack:

    Jacques Le Roux<https://app.slack.com/team/U7KCFUGTH>10:06 <https://the-asf.slack.com/archives/CD3TJJJ5B/p1601021208005600>
    Hi@Olivier_H <https://the-asf.slack.com/team/UF6JPSURF>We generally don't discuss security issues openly. We do that in the private security ML.
    But since we had to stop the demos I'll explain you that in your own channel

As you are a PMC member you can get more information if you subscribe to the security ML: [hidden email]  (Olivier could not,  he is only a
committer).
I can then explain you more there and if you want we can collaborate on this effort that I have started. Beware: it's a complicated stuff :)

Thanks

Jacques

Le 30/09/2020 à 00:25, Rishi Solanki a écrit :

> Hello Jacques/All,
> What exactly the issues are to not starting the demos. What demo data are
> problematic, is it reported somewhere.
>
> I would like to see if we can resolve and restart the demo instances again.
> Any detail around the problem if anyone have then please share.
>
> Best Regards,
> --
> Rishi Solanki
> *CTO, Mindpath Technology*
> Intelligent Solutions
> cell: +91-98932-87847
> LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>
>
>
> On Thu, Sep 24, 2020 at 1:17 PM Jacques Le Roux <
> [hidden email]> wrote:
>
>> Ha yes indeed, thanks!
>>
>> Le 24/09/2020 à 09:04, itsupport a écrit :
>>> Because you wrote:
>>>
>>>
>>> On 2020/08/11 10:50:43, Jacques Le Roux wrote:
>>>>> Hi,>
>>>>>
>>>>> Due to possible security issues the demos have been shutdown.>
>>>>>
>>>>> These possible security issues are due to the demos data.>
>>> If it was code i would be seriously concerned .
>>>
>>> Sent from my Samsung Galaxy smartphone.
>>>
>>>
>>> -------- Original message --------
>>> From: Jacques Le Roux <[hidden email]>
>>> Date: 24/09/20 16:47 (GMT+12:00)
>>> To: [hidden email], Shane Hollis <[hidden email]>
>>> Subject: Re: Demos shutdown because possible security issues
>>>
>>> Hi Shane,
>>>
>>> Your message has been moderated, else it would not have reached this
>> Mailing List.
>>> Please subscribe to the user ML for such questions and then use your
>> email client.
>>> See why here http://ofbiz.apache.org/mailing-lists.html.
>>>
>>> You will get a better support, people can answer you on the ML.
>>> The wider the audience the better the answers you might get.
>>>
>>> Also it's more work for moderators who have to accept your messages as
>> long as you have not subscribed.
>>> I'll personally no longer accept them (other moderators still could).
>>>
>>> Thanks
>>>
>>> This said, how do you know that it's only (demo) data (which is right)
>> and not code :) ?
>>> Jacques
>>>
>>> Le 24/09/2020 à 06:03, Shane Hollis a écrit :
>>>> Hi,
>>>>
>>>> We went to view the demos and saw the security message. It might be
>>>> worth making it really clear the security issue is the data not the
>> code
>>>> - as it is not a good look to have a project shut for security reasons
>> -
>>>> especially one that handles finances. Just saying :)
>>>>
>>>> Shane
>>>>
>>>>
>>>>
>>>> On 2020/08/11 10:50:43, Jacques Le Roux wrote:
>>>>> Hi,>
>>>>>
>>>>> Due to possible security issues the demos have been shutdown.>
>>>>>
>>>>> These possible security issues are due to the demos data.>
>>>>>
>>>>> So custom projects should not have to worry.>
>>>>>
>>>>> We will discuss in dev ML how to restart the demos.>
>>>>>
>>>>> Thanks for your patience>
>>>>>
>>>>> Jacques>
>>>>>
>>>>>
>>>>
>>>> ----All Outsourced Information Technology Limiteds work, sales and
>> correspondence is covered under our terms of service and privacy policies
>> found
>>> at https://outsourcedit.co.nz/tandc . Our online invoicing system is
>> found at https://invoice.outsourcedit.co.nz and invoices, receipts and
>> quotes
>>> can be accessed there. All goods and services sold are covered under the
>> Sale of Goods Act and the Consumer Guarantees Act of NZ and will be liable
>>> for GST where applicable.
>>>>
>>> Jacques Le Roux
>>> 400E Chemin de la Mouline
>>> 34560 Poussan
>>> 04 67 51 19 38
>>> 06 11 79 50 28
>>>
>>>
>>>
>>> ----
>>> All Outsourced Information Technology Limiteds work, sales and
>> correspondence is covered under our terms of service and privacy policies
>> found at
>>> https://outsourcedit.co.nz/tandc .
>>> Our online invoicing system is found at
>> https://invoice.outsourcedit.co.nz and invoices, receipts and quotes can
>> be accessed there.
>>> All goods and services sold are covered under the Sale of Goods Act and
>> the Consumer Guarantees Act of NZ and will be liable for GST where
>> applicable.
>> Jacques Le Roux
>> 400E Chemin de la Mouline
>> 34560 Poussan
>> 04 67 51 19 38
>> 06 11 79 50 28
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Rishi Solanki
Deepak/Jacques,
Thank you for your information on this. I have sent a request to subscribe
to the security mailing list. Will see and connect over it, I thought if
somewhere I can contribute. Will surely connect over the security channels.

Best Regards,
--
Rishi Solanki
*CTO, Mindpath Technology*
Intelligent Solutions
cell: +91-98932-87847
LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>


On Wed, Sep 30, 2020 at 12:55 PM Jacques Le Roux <
[hidden email]> wrote:

> Hi Rishi,
>
> I already answered to this question to Olivier on Slack:
>
>     Jacques Le Roux<https://app.slack.com/team/U7KCFUGTH>10:06 <
> https://the-asf.slack.com/archives/CD3TJJJ5B/p1601021208005600>
>     Hi@Olivier_H <https://the-asf.slack.com/team/UF6JPSURF>We generally
> don't discuss security issues openly. We do that in the private security ML.
>     But since we had to stop the demos I'll explain you that in your own
> channel
>
> As you are a PMC member you can get more information if you subscribe to
> the security ML: [hidden email]  (Olivier could not,  he is
> only a
> committer).
> I can then explain you more there and if you want we can collaborate on
> this effort that I have started. Beware: it's a complicated stuff :)
>
> Thanks
>
> Jacques
>
> Le 30/09/2020 à 00:25, Rishi Solanki a écrit :
> > Hello Jacques/All,
> > What exactly the issues are to not starting the demos. What demo data are
> > problematic, is it reported somewhere.
> >
> > I would like to see if we can resolve and restart the demo instances
> again.
> > Any detail around the problem if anyone have then please share.
> >
> > Best Regards,
> > --
> > Rishi Solanki
> > *CTO, Mindpath Technology*
> > Intelligent Solutions
> > cell: +91-98932-87847
> > LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>
> >
> >
> > On Thu, Sep 24, 2020 at 1:17 PM Jacques Le Roux <
> > [hidden email]> wrote:
> >
> >> Ha yes indeed, thanks!
> >>
> >> Le 24/09/2020 à 09:04, itsupport a écrit :
> >>> Because you wrote:
> >>>
> >>>
> >>> On 2020/08/11 10:50:43, Jacques Le Roux wrote:
> >>>>> Hi,>
> >>>>>
> >>>>> Due to possible security issues the demos have been shutdown.>
> >>>>>
> >>>>> These possible security issues are due to the demos data.>
> >>> If it was code i would be seriously concerned .
> >>>
> >>> Sent from my Samsung Galaxy smartphone.
> >>>
> >>>
> >>> -------- Original message --------
> >>> From: Jacques Le Roux <[hidden email]>
> >>> Date: 24/09/20 16:47 (GMT+12:00)
> >>> To: [hidden email], Shane Hollis <[hidden email]>
> >>> Subject: Re: Demos shutdown because possible security issues
> >>>
> >>> Hi Shane,
> >>>
> >>> Your message has been moderated, else it would not have reached this
> >> Mailing List.
> >>> Please subscribe to the user ML for such questions and then use your
> >> email client.
> >>> See why here http://ofbiz.apache.org/mailing-lists.html.
> >>>
> >>> You will get a better support, people can answer you on the ML.
> >>> The wider the audience the better the answers you might get.
> >>>
> >>> Also it's more work for moderators who have to accept your messages as
> >> long as you have not subscribed.
> >>> I'll personally no longer accept them (other moderators still could).
> >>>
> >>> Thanks
> >>>
> >>> This said, how do you know that it's only (demo) data (which is right)
> >> and not code :) ?
> >>> Jacques
> >>>
> >>> Le 24/09/2020 à 06:03, Shane Hollis a écrit :
> >>>> Hi,
> >>>>
> >>>> We went to view the demos and saw the security message. It might be
> >>>> worth making it really clear the security issue is the data not the
> >> code
> >>>> - as it is not a good look to have a project shut for security reasons
> >> -
> >>>> especially one that handles finances. Just saying :)
> >>>>
> >>>> Shane
> >>>>
> >>>>
> >>>>
> >>>> On 2020/08/11 10:50:43, Jacques Le Roux wrote:
> >>>>> Hi,>
> >>>>>
> >>>>> Due to possible security issues the demos have been shutdown.>
> >>>>>
> >>>>> These possible security issues are due to the demos data.>
> >>>>>
> >>>>> So custom projects should not have to worry.>
> >>>>>
> >>>>> We will discuss in dev ML how to restart the demos.>
> >>>>>
> >>>>> Thanks for your patience>
> >>>>>
> >>>>> Jacques>
> >>>>>
> >>>>>
> >>>>
> >>>> ----All Outsourced Information Technology Limiteds work, sales and
> >> correspondence is covered under our terms of service and privacy
> policies
> >> found
> >>> at https://outsourcedit.co.nz/tandc . Our online invoicing system is
> >> found at https://invoice.outsourcedit.co.nz and invoices, receipts and
> >> quotes
> >>> can be accessed there. All goods and services sold are covered under
> the
> >> Sale of Goods Act and the Consumer Guarantees Act of NZ and will be
> liable
> >>> for GST where applicable.
> >>>>
> >>> Jacques Le Roux
> >>> 400E Chemin de la Mouline
> >>> 34560 Poussan
> >>> 04 67 51 19 38
> >>> 06 11 79 50 28
> >>>
> >>>
> >>>
> >>> ----
> >>> All Outsourced Information Technology Limiteds work, sales and
> >> correspondence is covered under our terms of service and privacy
> policies
> >> found at
> >>> https://outsourcedit.co.nz/tandc .
> >>> Our online invoicing system is found at
> >> https://invoice.outsourcedit.co.nz and invoices, receipts and quotes
> can
> >> be accessed there.
> >>> All goods and services sold are covered under the Sale of Goods Act and
> >> the Consumer Guarantees Act of NZ and will be liable for GST where
> >> applicable.
> >> Jacques Le Roux
> >> 400E Chemin de la Mouline
> >> 34560 Poussan
> >> 04 67 51 19 38
> >> 06 11 79 50 28
> >>
> >>
>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Jacques Le Roux
Administrator
In reply to this post by Jacques Le Roux
Hi,

Good news the demos are back after OFBIZ-12080

Enjoy!

Jacques

Le 11/08/2020 à 12:50, Jacques Le Roux a écrit :

> Hi,
>
> Due to possible security issues the demos have been shutdown.
>
> These possible security issues are due to the demos data.
>
> So custom projects should not have to worry.
>
> We will discuss in dev ML how to restart the demos.
>
> Thanks for your patience
>
> Jacques
>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Georg Potthast 2
That is good news, I was waiting for that!

I have trouble with generating Barcode. Using the new demos, when I click on
the Barcode button on the following screen I get a nice PDF with a barcode:
https://demo-trunk.ofbiz.apache.org/example/control/EditExample?exampleId=EX11

However, on my local OFBiz installation (17.12.04) I get instead:
The Following Errors Occurred:
Unable to transform FO file: org.apache.fop.apps.FOPException
java.lang.reflect.UndeclaredThrowableException

What can I do to get it to work on my local PC?

Georg

-----Ursprüngliche Nachricht-----
From: Jacques Le Roux
Sent: Tuesday, December 1, 2020 12:22 PM
To: [hidden email]
Subject: Re: Demos shutdown because possible security issues

Hi,

Good news the demos are back after OFBIZ-12080

Enjoy!

Jacques

Le 11/08/2020 à 12:50, Jacques Le Roux a écrit :

> Hi,
>
> Due to possible security issues the demos have been shutdown.
>
> These possible security issues are due to the demos data.
>
> So custom projects should not have to worry.
>
> We will discuss in dev ML how to restart the demos.
>
> Thanks for your patience
>
> Jacques
>

Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Jacques Le Roux
Administrator
Hi  Georg,

Could you please send a little bit more of log?
Most of the time 10 to 15 lines just before and below the issue helps.

Jacques

Le 02/12/2020 à 21:38, Georg Potthast a écrit :

> That is good news, I was waiting for that!
>
> I have trouble with generating Barcode. Using the new demos, when I click on the Barcode button on the following screen I get a nice PDF with a
> barcode:
> https://demo-trunk.ofbiz.apache.org/example/control/EditExample?exampleId=EX11
>
> However, on my local OFBiz installation (17.12.04) I get instead:
> The Following Errors Occurred:
> Unable to transform FO file: org.apache.fop.apps.FOPException java.lang.reflect.UndeclaredThrowableException
>
> What can I do to get it to work on my local PC?
>
> Georg
>
> -----Ursprüngliche Nachricht----- From: Jacques Le Roux
> Sent: Tuesday, December 1, 2020 12:22 PM
> To: [hidden email]
> Subject: Re: Demos shutdown because possible security issues
>
> Hi,
>
> Good news the demos are back after OFBIZ-12080
>
> Enjoy!
>
> Jacques
>
> Le 11/08/2020 à 12:50, Jacques Le Roux a écrit :
>> Hi,
>>
>> Due to possible security issues the demos have been shutdown.
>>
>> These possible security issues are due to the demos data.
>>
>> So custom projects should not have to worry.
>>
>> We will discuss in dev ML how to restart the demos.
>>
>> Thanks for your patience
>>
>> Jacques
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Georg Potthast 2
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&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=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: org.apache.fop.apps.FOPException
java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
<?xml version="1.0" encoding="UTF-8"?>



<!-- Begin Template component://example/template/reports/BarCode.fo.ftl -->

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

  <fo:layout-master-set>
    <fo:simple-page-master master-name="main" page-height="4in" page-width="8in"
        margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in" margin-right="0.25in">
      <fo:region-body margin-top="0in"/>
      <fo:region-before extent="0in"/>
      <fo:region-after extent="0in"/>
    </fo:simple-page-master>
  </fo:layout-master-set>

  <fo:page-sequence master-reference="main">
    <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
      <fo:block text-align="center">
        Example 11
      </fo:block>
      <fo:block text-align="center">
        <fo:instream-foreign-object>
          <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
              message="EX11">
            <barcode:code39>
              <barcode:height>0.75in</barcode:height>
              <barcode:module-width>.375mm</barcode:module-width>
            </barcode:code39>
            <barcode:human-readable>
              <barcode:placement>bottom</barcode:placement>
              <barcode:font-name>Helvetica</barcode:font-name>
              <barcode:font-size>18pt</barcode:font-size>
              <barcode:display-start-stop>false</barcode:display-start-stop>
              <barcode:display-checksum>false</barcode:display-checksum>
            </barcode:human-readable>
          </barcode:barcode>
        </fo:instream-foreign-object>
      </fo:block>
      <fo:block>
        <fo:leader/>
      </fo:block>
      <fo:block text-align="center">
        <fo:external-graphic
            src="/example/control/qrcode;jsessionid=E842AAB15A21B6B90D3B9DFB84B904FB.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20"
            overflow="hidden" height="1.5in" content-height="scale-to-fit"/>
      </fo:block>
    </fo:flow>
  </fo:page-sequence>
</fo:root>
<!-- End Template component://example/template/reports/BarCode.fo.ftl -->

2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 27 screens in 0.016s from: file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 26 screens in 0.0s from: file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 8 screens in 0.015s from: file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 1 screens in 0.016s from: file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4 |ServiceDispatcher             |T| Sync service [example/getLastSystemInfoNote] finished in [16] milliseconds
2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ControlServlet                |T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done- total:22.793,since last([ExampleReportPdf...):22.793]]
2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |ServiceDispatcher             |T| Sync service [example/setLocaleFromBrowser] finished in [32] milliseconds
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| Ran Event [service:#setLocaleFromBrowser] from [request], result is [success]
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| [RequestHandler.doRequest]: Response is a chained request. Hidden sessionId by default.
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| [RequestHandler]: Chain in place: requestUri=json overrideViewUri=null Hidden sessionId by default.
2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| Ran Event [java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes] from [request], result is [success]
2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Done- total:0.047,since last([setLocaleFromBro...):0.047]]
>



> Jacques Le Roux <[hidden email]> hat am 03.12.2020 08:44 geschrieben:
>
>  
> Hi  Georg,
>
> Could you please send a little bit more of log?
> Most of the time 10 to 15 lines just before and below the issue helps.
>
> Jacques
>
> Le 02/12/2020 à 21:38, Georg Potthast a écrit :
> > That is good news, I was waiting for that!
> >
> > I have trouble with generating Barcode. Using the new demos, when I click on the Barcode button on the following screen I get a nice PDF with a
> > barcode:
> > https://demo-trunk.ofbiz.apache.org/example/control/EditExample?exampleId=EX11
> >
> > However, on my local OFBiz installation (17.12.04) I get instead:
> > The Following Errors Occurred:
> > Unable to transform FO file: org.apache.fop.apps.FOPException java.lang.reflect.UndeclaredThrowableException
> >
> > What can I do to get it to work on my local PC?
> >
> > Georg
> >
> > -----Ursprüngliche Nachricht----- From: Jacques Le Roux
> > Sent: Tuesday, December 1, 2020 12:22 PM
> > To: [hidden email]
> > Subject: Re: Demos shutdown because possible security issues
> >
> > Hi,
> >
> > Good news the demos are back after OFBIZ-12080
> >
> > Enjoy!
> >
> > Jacques
> >
> > Le 11/08/2020 à 12:50, Jacques Le Roux a écrit :
> >> Hi,
> >>
> >> Due to possible security issues the demos have been shutdown.
> >>
> >> These possible security issues are due to the demos data.
> >>
> >> So custom projects should not have to worry.
> >>
> >> We will discuss in dev ML how to restart the demos.
> >>
> >> Thanks for your patience
> >>
> >> Jacques
> >>
> >
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Jacques Le Roux
Administrator
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&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=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: org.apache.fop.apps.FOPException
> java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
> <?xml version="1.0" encoding="UTF-8"?>
>
>
>
> <!-- Begin Template component://example/template/reports/BarCode.fo.ftl -->
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>
>    <fo:layout-master-set>
>      <fo:simple-page-master master-name="main" page-height="4in" page-width="8in"
>          margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in" margin-right="0.25in">
>        <fo:region-body margin-top="0in"/>
>        <fo:region-before extent="0in"/>
>        <fo:region-after extent="0in"/>
>      </fo:simple-page-master>
>    </fo:layout-master-set>
>
>    <fo:page-sequence master-reference="main">
>      <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
>        <fo:block text-align="center">
>          Example 11
>        </fo:block>
>        <fo:block text-align="center">
>          <fo:instream-foreign-object>
>            <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
>                message="EX11">
>              <barcode:code39>
>                <barcode:height>0.75in</barcode:height>
>                <barcode:module-width>.375mm</barcode:module-width>
>              </barcode:code39>
>              <barcode:human-readable>
>                <barcode:placement>bottom</barcode:placement>
>                <barcode:font-name>Helvetica</barcode:font-name>
>                <barcode:font-size>18pt</barcode:font-size>
>                <barcode:display-start-stop>false</barcode:display-start-stop>
>                <barcode:display-checksum>false</barcode:display-checksum>
>              </barcode:human-readable>
>            </barcode:barcode>
>          </fo:instream-foreign-object>
>        </fo:block>
>        <fo:block>
>          <fo:leader/>
>        </fo:block>
>        <fo:block text-align="center">
>          <fo:external-graphic
>              src="/example/control/qrcode;jsessionid=E842AAB15A21B6B90D3B9DFB84B904FB.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20"
>              overflow="hidden" height="1.5in" content-height="scale-to-fit"/>
>        </fo:block>
>      </fo:flow>
>    </fo:page-sequence>
> </fo:root>
> <!-- End Template component://example/template/reports/BarCode.fo.ftl -->
>
> 2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 27 screens in 0.016s from: file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
> 2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 26 screens in 0.0s from: file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
> 2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 8 screens in 0.015s from: file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
> 2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 1 screens in 0.016s from: file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
> 2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4 |ServiceDispatcher             |T| Sync service [example/getLastSystemInfoNote] finished in [16] milliseconds
> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ControlServlet                |T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done- total:22.793,since last([ExampleReportPdf...):22.793]]
> 2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Begun, encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |ServiceDispatcher             |T| Sync service [example/setLocaleFromBrowser] finished in [32] milliseconds
> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| Ran Event [service:#setLocaleFromBrowser] from [request], result is [success]
> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| [RequestHandler.doRequest]: Response is a chained request. Hidden sessionId by default.
> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| [RequestHandler]: Chain in place: requestUri=json overrideViewUri=null Hidden sessionId by default.
> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| Ran Event [java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes] from [request], result is [success]
> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Done- total:0.047,since last([setLocaleFromBro...):0.047]]
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Jacques Le Roux
Administrator
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:
>> [https://localhost:8443/example/control/qrcode?message=Example%2011&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=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: org.apache.fop.apps.FOPException
>> java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>>
>>
>> <!-- Begin Template component://example/template/reports/BarCode.fo.ftl -->
>>
>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>>
>>    <fo:layout-master-set>
>>      <fo:simple-page-master master-name="main" page-height="4in" page-width="8in"
>>          margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in" margin-right="0.25in">
>>        <fo:region-body margin-top="0in"/>
>>        <fo:region-before extent="0in"/>
>>        <fo:region-after extent="0in"/>
>>      </fo:simple-page-master>
>>    </fo:layout-master-set>
>>
>>    <fo:page-sequence master-reference="main">
>>      <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
>>        <fo:block text-align="center">
>>          Example 11
>>        </fo:block>
>>        <fo:block text-align="center">
>>          <fo:instream-foreign-object>
>>            <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
>>                message="EX11">
>>              <barcode:code39>
>> <barcode:height>0.75in</barcode:height>
>> <barcode:module-width>.375mm</barcode:module-width>
>>              </barcode:code39>
>>              <barcode:human-readable>
>> <barcode:placement>bottom</barcode:placement>
>> <barcode:font-name>Helvetica</barcode:font-name>
>> <barcode:font-size>18pt</barcode:font-size>
>> <barcode:display-start-stop>false</barcode:display-start-stop>
>> <barcode:display-checksum>false</barcode:display-checksum>
>>              </barcode:human-readable>
>>            </barcode:barcode>
>>          </fo:instream-foreign-object>
>>        </fo:block>
>>        <fo:block>
>>          <fo:leader/>
>>        </fo:block>
>>        <fo:block text-align="center">
>>          <fo:external-graphic
>> src="/example/control/qrcode;jsessionid=E842AAB15A21B6B90D3B9DFB84B904FB.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20"
>>              overflow="hidden" height="1.5in" content-height="scale-to-fit"/>
>>        </fo:block>
>>      </fo:flow>
>>    </fo:page-sequence>
>> </fo:root>
>> <!-- End Template component://example/template/reports/BarCode.fo.ftl -->
>>
>> 2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 27 screens in 0.016s from:
>> file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
>> 2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 26 screens in 0.0s from:
>> file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
>> 2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 8 screens in 0.015s from:
>> file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
>> 2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 1 screens in 0.016s from:
>> file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
>> 2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4 |ServiceDispatcher             |T| Sync service [example/getLastSystemInfoNote] finished in [16]
>> milliseconds
>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ControlServlet                |T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request
>> Done- total:22.793,since last([ExampleReportPdf...):22.793]]
>> 2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Begun,
>> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |ServiceDispatcher             |T| Sync service [example/setLocaleFromBrowser] finished in [32]
>> milliseconds
>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| Ran Event [service:#setLocaleFromBrowser] from [request], result
>> is [success]
>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| [RequestHandler.doRequest]: Response is a chained request. Hidden
>> sessionId by default.
>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| [RequestHandler]: Chain in place: requestUri=json
>> overrideViewUri=null Hidden sessionId by default.
>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| Ran Event
>> [java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes] from [request], result is [success]
>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Done-
>> total:0.047,since last([setLocaleFromBro...):0.047]]
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Jacques Le Roux
Administrator
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
>>> 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&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=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: org.apache.fop.apps.FOPException
>>> java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
>>> <?xml version="1.0" encoding="UTF-8"?>
>>>
>>>
>>>
>>> <!-- Begin Template component://example/template/reports/BarCode.fo.ftl -->
>>>
>>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>>>
>>>    <fo:layout-master-set>
>>>      <fo:simple-page-master master-name="main" page-height="4in" page-width="8in"
>>>          margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in" margin-right="0.25in">
>>>        <fo:region-body margin-top="0in"/>
>>>        <fo:region-before extent="0in"/>
>>>        <fo:region-after extent="0in"/>
>>>      </fo:simple-page-master>
>>>    </fo:layout-master-set>
>>>
>>>    <fo:page-sequence master-reference="main">
>>>      <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
>>>        <fo:block text-align="center">
>>>          Example 11
>>>        </fo:block>
>>>        <fo:block text-align="center">
>>>          <fo:instream-foreign-object>
>>>            <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
>>>                message="EX11">
>>>              <barcode:code39>
>>> <barcode:height>0.75in</barcode:height>
>>> <barcode:module-width>.375mm</barcode:module-width>
>>>              </barcode:code39>
>>>              <barcode:human-readable>
>>> <barcode:placement>bottom</barcode:placement>
>>> <barcode:font-name>Helvetica</barcode:font-name>
>>> <barcode:font-size>18pt</barcode:font-size>
>>> <barcode:display-start-stop>false</barcode:display-start-stop>
>>> <barcode:display-checksum>false</barcode:display-checksum>
>>>              </barcode:human-readable>
>>>            </barcode:barcode>
>>>          </fo:instream-foreign-object>
>>>        </fo:block>
>>>        <fo:block>
>>>          <fo:leader/>
>>>        </fo:block>
>>>        <fo:block text-align="center">
>>>          <fo:external-graphic
>>> src="/example/control/qrcode;jsessionid=E842AAB15A21B6B90D3B9DFB84B904FB.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20"
>>>
>>>              overflow="hidden" height="1.5in" content-height="scale-to-fit"/>
>>>        </fo:block>
>>>      </fo:flow>
>>>    </fo:page-sequence>
>>> </fo:root>
>>> <!-- End Template component://example/template/reports/BarCode.fo.ftl -->
>>>
>>> 2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 27 screens in 0.016s from:
>>> file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
>>> 2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 26 screens in 0.0s from:
>>> file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
>>> 2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 8 screens in 0.015s from:
>>> file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
>>> 2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 1 screens in 0.016s from:
>>> file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
>>> 2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4 |ServiceDispatcher             |T| Sync service [example/getLastSystemInfoNote] finished in [16]
>>> milliseconds
>>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
>>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ControlServlet                |T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request
>>> Done- total:22.793,since last([ExampleReportPdf...):22.793]]
>>> 2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Begun,
>>> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |ServiceDispatcher             |T| Sync service [example/setLocaleFromBrowser] finished in [32]
>>> milliseconds
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| Ran Event [service:#setLocaleFromBrowser] from [request], result
>>> is [success]
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| [RequestHandler.doRequest]: Response is a chained request. Hidden
>>> sessionId by default.
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| [RequestHandler]: Chain in place: requestUri=json
>>> overrideViewUri=null Hidden sessionId by default.
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| Ran Event
>>> [java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes] from [request], result is [success]
>>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
>>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Done-
>>> total:0.047,since last([setLocaleFromBro...):0.047]]
>>>
>>>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Georg Potthast 2
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 <[hidden email]> 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
> >>> 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&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=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: org.apache.fop.apps.FOPException
> >>> java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
> >>> <?xml version="1.0" encoding="UTF-8"?>
> >>>
> >>>
> >>>
> >>> <!-- Begin Template component://example/template/reports/BarCode.fo.ftl -->
> >>>
> >>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> >>>
> >>>    <fo:layout-master-set>
> >>>      <fo:simple-page-master master-name="main" page-height="4in" page-width="8in"
> >>>          margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in" margin-right="0.25in">
> >>>        <fo:region-body margin-top="0in"/>
> >>>        <fo:region-before extent="0in"/>
> >>>        <fo:region-after extent="0in"/>
> >>>      </fo:simple-page-master>
> >>>    </fo:layout-master-set>
> >>>
> >>>    <fo:page-sequence master-reference="main">
> >>>      <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
> >>>        <fo:block text-align="center">
> >>>          Example 11
> >>>        </fo:block>
> >>>        <fo:block text-align="center">
> >>>          <fo:instream-foreign-object>
> >>>            <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
> >>>                message="EX11">
> >>>              <barcode:code39>
> >>> <barcode:height>0.75in</barcode:height>
> >>> <barcode:module-width>.375mm</barcode:module-width>
> >>>              </barcode:code39>
> >>>              <barcode:human-readable>
> >>> <barcode:placement>bottom</barcode:placement>
> >>> <barcode:font-name>Helvetica</barcode:font-name>
> >>> <barcode:font-size>18pt</barcode:font-size>
> >>> <barcode:display-start-stop>false</barcode:display-start-stop>
> >>> <barcode:display-checksum>false</barcode:display-checksum>
> >>>              </barcode:human-readable>
> >>>            </barcode:barcode>
> >>>          </fo:instream-foreign-object>
> >>>        </fo:block>
> >>>        <fo:block>
> >>>          <fo:leader/>
> >>>        </fo:block>
> >>>        <fo:block text-align="center">
> >>>          <fo:external-graphic
> >>> src="/example/control/qrcode;jsessionid=E842AAB15A21B6B90D3B9DFB84B904FB.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20"
> >>>
> >>>              overflow="hidden" height="1.5in" content-height="scale-to-fit"/>
> >>>        </fo:block>
> >>>      </fo:flow>
> >>>    </fo:page-sequence>
> >>> </fo:root>
> >>> <!-- End Template component://example/template/reports/BarCode.fo.ftl -->
> >>>
> >>> 2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 27 screens in 0.016s from:
> >>> file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
> >>> 2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 26 screens in 0.0s from:
> >>> file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
> >>> 2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 8 screens in 0.015s from:
> >>> file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
> >>> 2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4 |ScreenFactory                 |I| Got 1 screens in 0.016s from:
> >>> file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
> >>> 2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4 |ServiceDispatcher             |T| Sync service [example/getLastSystemInfoNote] finished in [16]
> >>> milliseconds
> >>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> >>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ControlServlet                |T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request
> >>> Done- total:22.793,since last([ExampleReportPdf...):22.793]]
> >>> 2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Begun,
> >>> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> >>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |ServiceDispatcher             |T| Sync service [example/setLocaleFromBrowser] finished in [32]
> >>> milliseconds
> >>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| Ran Event [service:#setLocaleFromBrowser] from [request], result
> >>> is [success]
> >>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| [RequestHandler.doRequest]: Response is a chained request. Hidden
> >>> sessionId by default.
> >>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| [RequestHandler]: Chain in place: requestUri=json
> >>> overrideViewUri=null Hidden sessionId by default.
> >>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler                |I| Ran Event
> >>> [java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes] from [request], result is [success]
> >>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ServerHitBin                  |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> >>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Done-
> >>> total:0.047,since last([setLocaleFromBro...):0.047]]
> >>>
> >>>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Daniel Watford
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 <[hidden email]>
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 <[hidden email]> 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
> > >>> 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&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=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:
> org.apache.fop.apps.FOPException
> > >>> java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text
> was:
> > >>> <?xml version="1.0" encoding="UTF-8"?>
> > >>>
> > >>>
> > >>>
> > >>> <!-- Begin Template
> component://example/template/reports/BarCode.fo.ftl -->
> > >>>
> > >>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
> > >>>
> > >>>    <fo:layout-master-set>
> > >>>      <fo:simple-page-master master-name="main" page-height="4in"
> page-width="8in"
> > >>>          margin-top="0.5in" margin-bottom="0.25in"
> margin-left="0.25in" margin-right="0.25in">
> > >>>        <fo:region-body margin-top="0in"/>
> > >>>        <fo:region-before extent="0in"/>
> > >>>        <fo:region-after extent="0in"/>
> > >>>      </fo:simple-page-master>
> > >>>    </fo:layout-master-set>
> > >>>
> > >>>    <fo:page-sequence master-reference="main">
> > >>>      <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
> > >>>        <fo:block text-align="center">
> > >>>          Example 11
> > >>>        </fo:block>
> > >>>        <fo:block text-align="center">
> > >>>          <fo:instream-foreign-object>
> > >>>            <barcode:barcode xmlns:barcode="
> http://barcode4j.krysalis.org/ns"
> > >>>                message="EX11">
> > >>>              <barcode:code39>
> > >>> <barcode:height>0.75in</barcode:height>
> > >>> <barcode:module-width>.375mm</barcode:module-width>
> > >>>              </barcode:code39>
> > >>>              <barcode:human-readable>
> > >>> <barcode:placement>bottom</barcode:placement>
> > >>> <barcode:font-name>Helvetica</barcode:font-name>
> > >>> <barcode:font-size>18pt</barcode:font-size>
> > >>> <barcode:display-start-stop>false</barcode:display-start-stop>
> > >>> <barcode:display-checksum>false</barcode:display-checksum>
> > >>>              </barcode:human-readable>
> > >>>            </barcode:barcode>
> > >>>          </fo:instream-foreign-object>
> > >>>        </fo:block>
> > >>>        <fo:block>
> > >>>          <fo:leader/>
> > >>>        </fo:block>
> > >>>        <fo:block text-align="center">
> > >>>          <fo:external-graphic
> > >>>
> src="/example/control/qrcode;jsessionid=E842AAB15A21B6B90D3B9DFB84B904FB.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20"
>
> > >>>
> > >>>              overflow="hidden" height="1.5in"
> content-height="scale-to-fit"/>
> > >>>        </fo:block>
> > >>>      </fo:flow>
> > >>>    </fo:page-sequence>
> > >>> </fo:root>
> > >>> <!-- End Template
> component://example/template/reports/BarCode.fo.ftl -->
> > >>>
> > >>> 2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4
> |ScreenFactory                 |I| Got 27 screens in 0.016s from:
> > >>> file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
> > >>> 2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4
> |ScreenFactory                 |I| Got 26 screens in 0.0s from:
> > >>> file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
> > >>> 2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4
> |ScreenFactory                 |I| Got 8 screens in 0.015s from:
> > >>> file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
> > >>> 2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4
> |ScreenFactory                 |I| Got 1 screens in 0.016s from:
> > >>> file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
> > >>> 2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4
> |ServiceDispatcher             |T| Sync service
> [example/getLastSystemInfoNote] finished in [16]
> > >>> milliseconds
> > >>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4
> |ServerHitBin                  |I| Visit delegatorName=default,
> ServerHitBin delegatorName=default
> > >>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4
> |ControlServlet                |T| [[[ExampleReportPdfBarcode(Domain:
> https://localhost)] Request
> > >>> Done- total:22.793,since last([ExampleReportPdf...):22.793]]
> > >>> 2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7
> |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:
> https://localhost)] Request Begun,
> > >>> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> > >>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7
> |ServiceDispatcher             |T| Sync service
> [example/setLocaleFromBrowser] finished in [32]
> > >>> milliseconds
> > >>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7
> |RequestHandler                |I| Ran Event
> [service:#setLocaleFromBrowser] from [request], result
> > >>> is [success]
> > >>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7
> |RequestHandler                |I| [RequestHandler.doRequest]: Response is
> a chained request. Hidden
> > >>> sessionId by default.
> > >>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7
> |RequestHandler                |I| [RequestHandler]: Chain in place:
> requestUri=json
> > >>> overrideViewUri=null Hidden sessionId by default.
> > >>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7
> |RequestHandler                |I| Ran Event
> > >>>
> [java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes]
> from [request], result is [success]
> > >>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7
> |ServerHitBin                  |I| Visit delegatorName=default,
> ServerHitBin delegatorName=default
> > >>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7
> |ControlServlet                |T| [[[setLocaleFromBrowser(Domain:
> https://localhost)] Request Done-
> > >>> total:0.047,since last([setLocaleFromBro...):0.047]]
> > >>>
> > >>>
>


--
Daniel Watford
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Georg Potthast 2
In reply to this post by Jacques Le Roux
Hi Jacques,

I installed OFBiz on SUSE Linux and got the same error message there:
The Following Errors Occurred:
Unable to transform FO file: org.apache.fop.apps.FOPException
java.lang.reflect.UndeclaredThrowableException

You must have added a secret spice to the demo-trunk! Here is the log on
Linux, it does not complain about fonts:


2020-12-05 20:00:32,567 |sse-nio-8443-exec-10 |ControlServlet
|T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Begun,
encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
2020-12-05 20:00:32,582 |sse-nio-8443-exec-10 |ConfigXMLReader
|I| controller loaded: 0.001s, 50 requests, 34 views in
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/webapp/example/WEB-INF/contro
ller.xml
2020-12-05 20:00:32,598 |sse-nio-8443-exec-10 |ConfigXMLReader
|I| controller loaded: 0.0s, 48 requests, 22 views in
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/common-contr
oller.xml
2020-12-05 20:00:32,609 |sse-nio-8443-exec-10 |ConfigXMLReader
|I| controller loaded: 0.0s, 0 requests, 0 views in
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/handlers-contr
oller.xml
2020-12-05 20:00:32,618 |sse-nio-8443-exec-10 |ConfigXMLReader
|I| controller loaded: 0.0s, 26 requests, 10 views in
file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/portal-contr
oller.xml
2020-12-05 20:00:32,642 |sse-nio-8443-exec-10 |ConfigXMLReader
|I| controller loaded: 0.0s, 2 requests, 2 views in
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleCompoundWid
gets.xml
2020-12-05 20:00:32,648 |sse-nio-8443-exec-10 |RequestHandler
|I| Rendering View [ExampleReportPdfBarcode].  Hidden sessionId by default.
2020-12-05 20:00:32,681 |sse-nio-8443-exec-10 |ServiceDispatcher
|T| Sync service [example/getUserPreferenceGroup] finished in [2]
milliseconds
2020-12-05 20:00:32,687 |sse-nio-8443-exec-10 |ScreenFactory
|I| Got 22 screens in 0.006s from:
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleScreens.xml
2020-12-05 20:00:32,866 |sse-nio-8443-exec-10 |UtilProperties
|I| ResourceBundle ProductUiLabels (en_US) created in 0.179s with 2641
properties
2020-12-05 20:00:33,463 |sse-nio-8443-exec-10 |ApacheFopWorker
|I| FOP FontBaseURL:
file:/home/georg/apache-ofbiz-17.12.04/framework/webapp/config/
2020-12-05 20:00:33,467 |sse-nio-8443-exec-10 |FOP
|D| target-resolution set to: 72.0dpi (px2mm=0.35277778)
2020-12-05 20:00:33,498 |sse-nio-8443-exec-10 |FOP
|D| User configuration found for MIME type application/pdf
2020-12-05 20:00:33,535 |sse-nio-8443-exec-10 |FOP
|D| User configuration found for MIME type application/pdf
2020-12-05 20:00:34,095 |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-05 20:00:34,096 |http-nio-8080-exec-1 |RequestHandler
|I| Sending redirect to:
[https://localhost:8443/example/control/qrcode?message=Example%2011&format=bmp&encoding=UTF-8&verifyOutput=true&log
oImageMaxWidth=20&logoImageMaxHeight=20].  Hidden sessionId by default.
2020-12-05 20:00:34,097 |http-nio-8080-exec-1 |ServerHitBin
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2020-12-05 20:00:34,104 |http-nio-8080-exec-1 |ControlServlet
|T| [[[qrcode(Domain:http://localhost)] Request Done- total:0.009,since
last([qrcode(Domain:ht...):0.009]]
2020-12-05 20:00:34,144 |sse-nio-8443-exec-10 |ScreenFopViewHandler
|E| Unable to transform FO file: org.apache.fop.apps.FOPException
java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
<?xml version="1.0" encoding="UTF-8"?>



<!-- Begin Template component://example/template/reports/BarCode.fo.ftl -->

<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

<fo:layout-master-set>
   <fo:simple-page-master master-name="main" page-height="4in"
page-width="8in"
       margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in"
margin-right="0.25in">
     <fo:region-body margin-top="0in"/>
     <fo:region-before extent="0in"/>
     <fo:region-after extent="0in"/>
   </fo:simple-page-master>
</fo:layout-master-set>

<fo:page-sequence master-reference="main">
   <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
     <fo:block text-align="center">
       Example 11
     </fo:block>
     <fo:block text-align="center">
       <fo:instream-foreign-object>
         <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
             message="EX11">
           <barcode:code39>
             <barcode:height>0.75in</barcode:height>
             <barcode:module-width>.375mm</barcode:module-width>
           </barcode:code39>
           <barcode:human-readable>
             <barcode:placement>bottom</barcode:placement>
             <barcode:font-name>Helvetica</barcode:font-name>
             <barcode:font-size>18pt</barcode:font-size>
             <barcode:display-start-stop>false</barcode:display-start-stop>
             <barcode:display-checksum>false</barcode:display-checksum>
           </barcode:human-readable>
         </barcode:barcode>
       </fo:instream-foreign-object>
     </fo:block>
     <fo:block>
       <fo:leader/>
     </fo:block>
     <fo:block text-align="center">
       <fo:external-graphic
           src="/example/control/qrcode;jsessionid=1B13B88A8AEEACCD504212C554EF065F.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20
"
           overflow="hidden" height="1.5in" content-height="scale-to-fit"/>
     </fo:block>
   </fo:flow>
</fo:page-sequence>
</fo:root>
<!-- End Template component://example/template/reports/BarCode.fo.ftl -->

2020-12-05 20:00:34,145 |sse-nio-8443-exec-10 |ServiceDispatcher
|T| Sync service [example/getUserPreferenceGroup] finished in [1]
milliseconds
2020-12-05 20:00:34,149 |sse-nio-8443-exec-10 |ScreenFactory
|I| Got 27 screens in 0.004s from:
file:/home/georg/apache-ofbiz-17.12.04/framework/common/widget/CommonScreens.xml
2020-12-05 20:00:34,203 |sse-nio-8443-exec-10 |ScreenFactory
|I| Got 26 screens in 0.006s from:
file:/home/georg/apache-ofbiz-17.12.04/themes/common/widget/CommonScreens.xml
2020-12-05 20:00:34,210 |sse-nio-8443-exec-10 |ScreenFactory
|I| Got 8 screens in 0.006s from:
file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/CommonScreens.xml
2020-12-05 20:00:34,215 |sse-nio-8443-exec-10 |ScreenFactory
|I| Got 1 screens in 0.004s from:
file:/home/georg/apache-ofbiz-17.12.04/applications/commonext/widget/CommonScreens.xml
2020-12-05 20:00:34,250 |sse-nio-8443-exec-10 |ServiceDispatcher
|T| Sync service [example/getLastSystemInfoNote] finished in [11]
milliseconds
2020-12-05 20:00:34,270 |sse-nio-8443-exec-10 |ServerHitBin
|I| Visit delegatorName=default, ServerHitBin delegatorName=default
2020-12-05 20:00:34,279 |sse-nio-8443-exec-10 |ControlServlet
|T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done-
total:1.712,since last([ExampleReportPdf...):1.712]]
> Building 91% > :ofbiz


-----Ursprüngliche Nachricht-----
From: Jacques Le Roux
Sent: Thursday, December 3, 2020 3:39 PM
To: [hidden email]
Subject: 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:
>> [https://localhost:8443/example/control/qrcode?message=Example%2011&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=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: org.apache.fop.apps.FOPException
>> java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
>> <?xml version="1.0" encoding="UTF-8"?>
>>
>>
>>
>> <!-- Begin Template
>> component://example/template/reports/BarCode.fo.ftl -->
>>
>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>>
>>    <fo:layout-master-set>
>>      <fo:simple-page-master master-name="main" page-height="4in"
>> page-width="8in"
>>          margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in"
>> margin-right="0.25in">
>>        <fo:region-body margin-top="0in"/>
>>        <fo:region-before extent="0in"/>
>>        <fo:region-after extent="0in"/>
>>      </fo:simple-page-master>
>>    </fo:layout-master-set>
>>
>>    <fo:page-sequence master-reference="main">
>>      <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
>>        <fo:block text-align="center">
>>          Example 11
>>        </fo:block>
>>        <fo:block text-align="center">
>>          <fo:instream-foreign-object>
>>            <barcode:barcode
>> xmlns:barcode="http://barcode4j.krysalis.org/ns"
>>                message="EX11">
>>              <barcode:code39>
>> <barcode:height>0.75in</barcode:height>
>> <barcode:module-width>.375mm</barcode:module-width>
>>              </barcode:code39>
>>              <barcode:human-readable>
>> <barcode:placement>bottom</barcode:placement>
>> <barcode:font-name>Helvetica</barcode:font-name>
>> <barcode:font-size>18pt</barcode:font-size>
>> <barcode:display-start-stop>false</barcode:display-start-stop>
>> <barcode:display-checksum>false</barcode:display-checksum>
>>              </barcode:human-readable>
>>            </barcode:barcode>
>>          </fo:instream-foreign-object>
>>        </fo:block>
>>        <fo:block>
>>          <fo:leader/>
>>        </fo:block>
>>        <fo:block text-align="center">
>>          <fo:external-graphic
>> src="/example/control/qrcode;jsessionid=E842AAB15A21B6B90D3B9DFB84B904FB.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20"
>>              overflow="hidden" height="1.5in"
>> content-height="scale-to-fit"/>
>>        </fo:block>
>>      </fo:flow>
>>    </fo:page-sequence>
>> </fo:root>
>> <!-- End Template component://example/template/reports/BarCode.fo.ftl -->
>>
>> 2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4 |ScreenFactory
>> |I| Got 27 screens in 0.016s from:
>> file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
>> 2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4 |ScreenFactory
>> |I| Got 26 screens in 0.0s from:
>> file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
>> 2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4 |ScreenFactory
>> |I| Got 8 screens in 0.015s from:
>> file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
>> 2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4 |ScreenFactory
>> |I| Got 1 screens in 0.016s from:
>> file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
>> 2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4 |ServiceDispatcher
>> |T| Sync service [example/getLastSystemInfoNote] finished in [16]
>> milliseconds
>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ServerHitBin
>> |I| Visit delegatorName=default, ServerHitBin delegatorName=default
>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ControlServlet
>> |T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done-
>> total:22.793,since last([ExampleReportPdf...):22.793]]
>> 2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7 |ControlServlet
>> |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Begun,
>> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |ServiceDispatcher
>> |T| Sync service [example/setLocaleFromBrowser] finished in [32]
>> milliseconds
>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler
>> |I| Ran Event [service:#setLocaleFromBrowser] from [request], result is
>> [success]
>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler
>> |I| [RequestHandler.doRequest]: Response is a chained request. Hidden
>> sessionId by default.
>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler
>> |I| [RequestHandler]: Chain in place: requestUri=json
>> overrideViewUri=null Hidden sessionId by default.
>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler
>> |I| Ran Event
>> [java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes]
>> from [request], result is [success]
>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ServerHitBin
>> |I| Visit delegatorName=default, ServerHitBin delegatorName=default
>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ControlServlet
>> |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Done-
>> total:0.047,since last([setLocaleFromBro...):0.047]]
>>
>>

Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Jacques Le Roux
Administrator
Hi Georg,

Oops, indeed I forgot to mention in fop.xconf:

-  <base>http://localhost:8080</base>
+  <base>https://demo-trunk.ofbiz.apache.org</base>

HTH

Jacques

Le 05/12/2020 à 20:13, Georg Potthast a écrit :

> Hi Jacques,
>
> I installed OFBiz on SUSE Linux and got the same error message there:
> The Following Errors Occurred:
> Unable to transform FO file: org.apache.fop.apps.FOPException java.lang.reflect.UndeclaredThrowableException
>
> You must have added a secret spice to the demo-trunk! Here is the log on Linux, it does not complain about fonts:
>
>
> 2020-12-05 20:00:32,567 |sse-nio-8443-exec-10 |ControlServlet |T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Begun,
> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> 2020-12-05 20:00:32,582 |sse-nio-8443-exec-10 |ConfigXMLReader |I| controller loaded: 0.001s, 50 requests, 34 views in
> file:/home/georg/apache-ofbiz-17.12.04/plugins/example/webapp/example/WEB-INF/contro
> ller.xml
> 2020-12-05 20:00:32,598 |sse-nio-8443-exec-10 |ConfigXMLReader |I| controller loaded: 0.0s, 48 requests, 22 views in
> file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/common-contr
> oller.xml
> 2020-12-05 20:00:32,609 |sse-nio-8443-exec-10 |ConfigXMLReader |I| controller loaded: 0.0s, 0 requests, 0 views in
> file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/handlers-contr
> oller.xml
> 2020-12-05 20:00:32,618 |sse-nio-8443-exec-10 |ConfigXMLReader |I| controller loaded: 0.0s, 26 requests, 10 views in
> file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/portal-contr
> oller.xml
> 2020-12-05 20:00:32,642 |sse-nio-8443-exec-10 |ConfigXMLReader |I| controller loaded: 0.0s, 2 requests, 2 views in
> file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleCompoundWid
> gets.xml
> 2020-12-05 20:00:32,648 |sse-nio-8443-exec-10 |RequestHandler |I| Rendering View [ExampleReportPdfBarcode].  Hidden sessionId by default.
> 2020-12-05 20:00:32,681 |sse-nio-8443-exec-10 |ServiceDispatcher |T| Sync service [example/getUserPreferenceGroup] finished in [2] milliseconds
> 2020-12-05 20:00:32,687 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 22 screens in 0.006s from:
> file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleScreens.xml
> 2020-12-05 20:00:32,866 |sse-nio-8443-exec-10 |UtilProperties |I| ResourceBundle ProductUiLabels (en_US) created in 0.179s with 2641 properties
> 2020-12-05 20:00:33,463 |sse-nio-8443-exec-10 |ApacheFopWorker |I| FOP FontBaseURL: file:/home/georg/apache-ofbiz-17.12.04/framework/webapp/config/
> 2020-12-05 20:00:33,467 |sse-nio-8443-exec-10 |FOP |D| target-resolution set to: 72.0dpi (px2mm=0.35277778)
> 2020-12-05 20:00:33,498 |sse-nio-8443-exec-10 |FOP |D| User configuration found for MIME type application/pdf
> 2020-12-05 20:00:33,535 |sse-nio-8443-exec-10 |FOP |D| User configuration found for MIME type application/pdf
> 2020-12-05 20:00:34,095 |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-05 20:00:34,096 |http-nio-8080-exec-1 |RequestHandler |I| Sending redirect to:
> [https://localhost:8443/example/control/qrcode?message=Example%2011&format=bmp&encoding=UTF-8&verifyOutput=true&log
> oImageMaxWidth=20&logoImageMaxHeight=20].  Hidden sessionId by default.
> 2020-12-05 20:00:34,097 |http-nio-8080-exec-1 |ServerHitBin |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> 2020-12-05 20:00:34,104 |http-nio-8080-exec-1 |ControlServlet |T| [[[qrcode(Domain:http://localhost)] Request Done- total:0.009,since
> last([qrcode(Domain:ht...):0.009]]
> 2020-12-05 20:00:34,144 |sse-nio-8443-exec-10 |ScreenFopViewHandler |E| Unable to transform FO file: org.apache.fop.apps.FOPException
> java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
> <?xml version="1.0" encoding="UTF-8"?>
>
>
>
> <!-- Begin Template component://example/template/reports/BarCode.fo.ftl -->
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>
> <fo:layout-master-set>
>   <fo:simple-page-master master-name="main" page-height="4in" page-width="8in"
>       margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in" margin-right="0.25in">
>     <fo:region-body margin-top="0in"/>
>     <fo:region-before extent="0in"/>
>     <fo:region-after extent="0in"/>
>   </fo:simple-page-master>
> </fo:layout-master-set>
>
> <fo:page-sequence master-reference="main">
>   <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
>     <fo:block text-align="center">
>       Example 11
>     </fo:block>
>     <fo:block text-align="center">
>       <fo:instream-foreign-object>
>         <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
>             message="EX11">
>           <barcode:code39>
>             <barcode:height>0.75in</barcode:height>
> <barcode:module-width>.375mm</barcode:module-width>
>           </barcode:code39>
>           <barcode:human-readable>
> <barcode:placement>bottom</barcode:placement>
> <barcode:font-name>Helvetica</barcode:font-name>
> <barcode:font-size>18pt</barcode:font-size>
> <barcode:display-start-stop>false</barcode:display-start-stop>
> <barcode:display-checksum>false</barcode:display-checksum>
>           </barcode:human-readable>
>         </barcode:barcode>
>       </fo:instream-foreign-object>
>     </fo:block>
>     <fo:block>
>       <fo:leader/>
>     </fo:block>
>     <fo:block text-align="center">
>       <fo:external-graphic
> src="/example/control/qrcode;jsessionid=1B13B88A8AEEACCD504212C554EF065F.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20
> "
>           overflow="hidden" height="1.5in" content-height="scale-to-fit"/>
>     </fo:block>
>   </fo:flow>
> </fo:page-sequence>
> </fo:root>
> <!-- End Template component://example/template/reports/BarCode.fo.ftl -->
>
> 2020-12-05 20:00:34,145 |sse-nio-8443-exec-10 |ServiceDispatcher |T| Sync service [example/getUserPreferenceGroup] finished in [1] milliseconds
> 2020-12-05 20:00:34,149 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 27 screens in 0.004s from:
> file:/home/georg/apache-ofbiz-17.12.04/framework/common/widget/CommonScreens.xml
> 2020-12-05 20:00:34,203 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 26 screens in 0.006s from:
> file:/home/georg/apache-ofbiz-17.12.04/themes/common/widget/CommonScreens.xml
> 2020-12-05 20:00:34,210 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 8 screens in 0.006s from:
> file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/CommonScreens.xml
> 2020-12-05 20:00:34,215 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 1 screens in 0.004s from:
> file:/home/georg/apache-ofbiz-17.12.04/applications/commonext/widget/CommonScreens.xml
> 2020-12-05 20:00:34,250 |sse-nio-8443-exec-10 |ServiceDispatcher |T| Sync service [example/getLastSystemInfoNote] finished in [11] milliseconds
> 2020-12-05 20:00:34,270 |sse-nio-8443-exec-10 |ServerHitBin |I| Visit delegatorName=default, ServerHitBin delegatorName=default
> 2020-12-05 20:00:34,279 |sse-nio-8443-exec-10 |ControlServlet |T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done-
> total:1.712,since last([ExampleReportPdf...):1.712]]
>> Building 91% > :ofbiz
>
>
> -----Ursprüngliche Nachricht----- From: Jacques Le Roux
> Sent: Thursday, December 3, 2020 3:39 PM
> To: [hidden email]
> Subject: 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:
>>> [https://localhost:8443/example/control/qrcode?message=Example%2011&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=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: org.apache.fop.apps.FOPException
>>> java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
>>> <?xml version="1.0" encoding="UTF-8"?>
>>>
>>>
>>>
>>> <!-- Begin Template component://example/template/reports/BarCode.fo.ftl -->
>>>
>>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>>>
>>>    <fo:layout-master-set>
>>>      <fo:simple-page-master master-name="main" page-height="4in" page-width="8in"
>>>          margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in" margin-right="0.25in">
>>>        <fo:region-body margin-top="0in"/>
>>>        <fo:region-before extent="0in"/>
>>>        <fo:region-after extent="0in"/>
>>>      </fo:simple-page-master>
>>>    </fo:layout-master-set>
>>>
>>>    <fo:page-sequence master-reference="main">
>>>      <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
>>>        <fo:block text-align="center">
>>>          Example 11
>>>        </fo:block>
>>>        <fo:block text-align="center">
>>>          <fo:instream-foreign-object>
>>>            <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
>>>                message="EX11">
>>>              <barcode:code39>
>>> <barcode:height>0.75in</barcode:height>
>>> <barcode:module-width>.375mm</barcode:module-width>
>>>              </barcode:code39>
>>>              <barcode:human-readable>
>>> <barcode:placement>bottom</barcode:placement>
>>> <barcode:font-name>Helvetica</barcode:font-name>
>>> <barcode:font-size>18pt</barcode:font-size>
>>> <barcode:display-start-stop>false</barcode:display-start-stop>
>>> <barcode:display-checksum>false</barcode:display-checksum>
>>>              </barcode:human-readable>
>>>            </barcode:barcode>
>>>          </fo:instream-foreign-object>
>>>        </fo:block>
>>>        <fo:block>
>>>          <fo:leader/>
>>>        </fo:block>
>>>        <fo:block text-align="center">
>>>          <fo:external-graphic
>>> src="/example/control/qrcode;jsessionid=E842AAB15A21B6B90D3B9DFB84B904FB.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20"
>>>
>>>              overflow="hidden" height="1.5in" content-height="scale-to-fit"/>
>>>        </fo:block>
>>>      </fo:flow>
>>>    </fo:page-sequence>
>>> </fo:root>
>>> <!-- End Template component://example/template/reports/BarCode.fo.ftl -->
>>>
>>> 2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4 |ScreenFactory |I| Got 27 screens in 0.016s from:
>>> file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
>>> 2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4 |ScreenFactory |I| Got 26 screens in 0.0s from: file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
>>> 2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4 |ScreenFactory |I| Got 8 screens in 0.015s from:
>>> file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
>>> 2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4 |ScreenFactory |I| Got 1 screens in 0.016s from:
>>> file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
>>> 2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4 |ServiceDispatcher |T| Sync service [example/getLastSystemInfoNote] finished in [16] milliseconds
>>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ServerHitBin |I| Visit delegatorName=default, ServerHitBin delegatorName=default
>>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ControlServlet |T| [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done-
>>> total:22.793,since last([ExampleReportPdf...):22.793]]
>>> 2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7 |ControlServlet |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Begun,
>>> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |ServiceDispatcher |T| Sync service [example/setLocaleFromBrowser] finished in [32] milliseconds
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler |I| Ran Event [service:#setLocaleFromBrowser] from [request], result is [success]
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler |I| [RequestHandler.doRequest]: Response is a chained request. Hidden sessionId by
>>> default.
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler |I| [RequestHandler]: Chain in place: requestUri=json overrideViewUri=null Hidden
>>> sessionId by default.
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler |I| Ran Event
>>> [java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes] from [request], result is [success]
>>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ServerHitBin |I| Visit delegatorName=default, ServerHitBin delegatorName=default
>>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ControlServlet |T| [[[setLocaleFromBrowser(Domain:https://localhost)] Request Done-
>>> total:0.047,since last([setLocaleFromBro...):0.047]]
>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Demos shutdown because possible security issues

Georg Potthast 2
Hi Jacques,

thank you very much that got it to work! However, I observe that on the
demo-trunk you get two
barcodes while I only get one on my local PC.

Here is an image of the output comparing both:
https://up.picr.de/40021689ij.png

And here is the error message in the log:
2020-12-05 21:26:04,937 |jsse-nio-8443-exec-7 |FOUserAgent
|E| Image not found. URI:
/example/control/qrcode;jsessionid=2EBDDFC4061B25AA5F745FE7E609176A.jvm1?message=Example%2011&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=20.
(See position 47:77)
2020-12-05 21:26:05,336 |jsse-nio-8443-exec-7 |FOUserAgent
|E| Image not found. URI:
/example/control/qrcode;jsessionid=2EBDDFC4061B25AA5F745FE7E609176A.jvm1?message=Example%2011&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=20.
(No context info available)

What can I do to generate the second barcode too?

Georg

-----Ursprüngliche Nachricht-----
From: Jacques Le Roux
Sent: Saturday, December 5, 2020 8:38 PM
To: [hidden email]
Subject: Re: Demos shutdown because possible security issues

Hi Georg,

Oops, indeed I forgot to mention in fop.xconf:

-  <base>http://localhost:8080</base>
+  <base>https://demo-trunk.ofbiz.apache.org</base>

HTH

Jacques

Le 05/12/2020 à 20:13, Georg Potthast a écrit :

> Hi Jacques,
>
> I installed OFBiz on SUSE Linux and got the same error message there:
> The Following Errors Occurred:
> Unable to transform FO file: org.apache.fop.apps.FOPException
> java.lang.reflect.UndeclaredThrowableException
>
> You must have added a secret spice to the demo-trunk! Here is the log on
> Linux, it does not complain about fonts:
>
>
> 2020-12-05 20:00:32,567 |sse-nio-8443-exec-10 |ControlServlet |T|
> [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Begun,
> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
> 2020-12-05 20:00:32,582 |sse-nio-8443-exec-10 |ConfigXMLReader |I|
> controller loaded: 0.001s, 50 requests, 34 views in
> file:/home/georg/apache-ofbiz-17.12.04/plugins/example/webapp/example/WEB-INF/contro
> ller.xml
> 2020-12-05 20:00:32,598 |sse-nio-8443-exec-10 |ConfigXMLReader |I|
> controller loaded: 0.0s, 48 requests, 22 views in
> file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/common-contr
> oller.xml
> 2020-12-05 20:00:32,609 |sse-nio-8443-exec-10 |ConfigXMLReader |I|
> controller loaded: 0.0s, 0 requests, 0 views in
> file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/handlers-contr
> oller.xml
> 2020-12-05 20:00:32,618 |sse-nio-8443-exec-10 |ConfigXMLReader |I|
> controller loaded: 0.0s, 26 requests, 10 views in
> file:/home/georg/apache-ofbiz-17.12.04/framework/common/webcommon/WEB-INF/portal-contr
> oller.xml
> 2020-12-05 20:00:32,642 |sse-nio-8443-exec-10 |ConfigXMLReader |I|
> controller loaded: 0.0s, 2 requests, 2 views in
> file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleCompoundWid
> gets.xml
> 2020-12-05 20:00:32,648 |sse-nio-8443-exec-10 |RequestHandler |I|
> Rendering View [ExampleReportPdfBarcode].  Hidden sessionId by default.
> 2020-12-05 20:00:32,681 |sse-nio-8443-exec-10 |ServiceDispatcher |T| Sync
> service [example/getUserPreferenceGroup] finished in [2] milliseconds
> 2020-12-05 20:00:32,687 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 22
> screens in 0.006s from:
> file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/ExampleScreens.xml
> 2020-12-05 20:00:32,866 |sse-nio-8443-exec-10 |UtilProperties |I|
> ResourceBundle ProductUiLabels (en_US) created in 0.179s with 2641
> properties
> 2020-12-05 20:00:33,463 |sse-nio-8443-exec-10 |ApacheFopWorker |I| FOP
> FontBaseURL:
> file:/home/georg/apache-ofbiz-17.12.04/framework/webapp/config/
> 2020-12-05 20:00:33,467 |sse-nio-8443-exec-10 |FOP |D| target-resolution
> set to: 72.0dpi (px2mm=0.35277778)
> 2020-12-05 20:00:33,498 |sse-nio-8443-exec-10 |FOP |D| User configuration
> found for MIME type application/pdf
> 2020-12-05 20:00:33,535 |sse-nio-8443-exec-10 |FOP |D| User configuration
> found for MIME type application/pdf
> 2020-12-05 20:00:34,095 |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-05 20:00:34,096 |http-nio-8080-exec-1 |RequestHandler |I| Sending
> redirect to:
> [https://localhost:8443/example/control/qrcode?message=Example%2011&format=bmp&encoding=UTF-8&verifyOutput=true&log
> oImageMaxWidth=20&logoImageMaxHeight=20].  Hidden sessionId by default.
> 2020-12-05 20:00:34,097 |http-nio-8080-exec-1 |ServerHitBin |I| Visit
> delegatorName=default, ServerHitBin delegatorName=default
> 2020-12-05 20:00:34,104 |http-nio-8080-exec-1 |ControlServlet |T|
> [[[qrcode(Domain:http://localhost)] Request Done- total:0.009,since
> last([qrcode(Domain:ht...):0.009]]
> 2020-12-05 20:00:34,144 |sse-nio-8443-exec-10 |ScreenFopViewHandler |E|
> Unable to transform FO file: org.apache.fop.apps.FOPException
> java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
> <?xml version="1.0" encoding="UTF-8"?>
>
>
>
> <!-- Begin Template
> component://example/template/reports/BarCode.fo.ftl -->
>
> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>
> <fo:layout-master-set>
>   <fo:simple-page-master master-name="main" page-height="4in"
> page-width="8in"
>       margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in"
> margin-right="0.25in">
>     <fo:region-body margin-top="0in"/>
>     <fo:region-before extent="0in"/>
>     <fo:region-after extent="0in"/>
>   </fo:simple-page-master>
> </fo:layout-master-set>
>
> <fo:page-sequence master-reference="main">
>   <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
>     <fo:block text-align="center">
>       Example 11
>     </fo:block>
>     <fo:block text-align="center">
>       <fo:instream-foreign-object>
>         <barcode:barcode xmlns:barcode="http://barcode4j.krysalis.org/ns"
>             message="EX11">
>           <barcode:code39>
>             <barcode:height>0.75in</barcode:height>
> <barcode:module-width>.375mm</barcode:module-width>
>           </barcode:code39>
>           <barcode:human-readable>
> <barcode:placement>bottom</barcode:placement>
> <barcode:font-name>Helvetica</barcode:font-name>
> <barcode:font-size>18pt</barcode:font-size>
> <barcode:display-start-stop>false</barcode:display-start-stop>
> <barcode:display-checksum>false</barcode:display-checksum>
>           </barcode:human-readable>
>         </barcode:barcode>
>       </fo:instream-foreign-object>
>     </fo:block>
>     <fo:block>
>       <fo:leader/>
>     </fo:block>
>     <fo:block text-align="center">
>       <fo:external-graphic
> src="/example/control/qrcode;jsessionid=1B13B88A8AEEACCD504212C554EF065F.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20
> "
>           overflow="hidden" height="1.5in" content-height="scale-to-fit"/>
>     </fo:block>
>   </fo:flow>
> </fo:page-sequence>
> </fo:root>
> <!-- End Template component://example/template/reports/BarCode.fo.ftl -->
>
> 2020-12-05 20:00:34,145 |sse-nio-8443-exec-10 |ServiceDispatcher |T| Sync
> service [example/getUserPreferenceGroup] finished in [1] milliseconds
> 2020-12-05 20:00:34,149 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 27
> screens in 0.004s from:
> file:/home/georg/apache-ofbiz-17.12.04/framework/common/widget/CommonScreens.xml
> 2020-12-05 20:00:34,203 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 26
> screens in 0.006s from:
> file:/home/georg/apache-ofbiz-17.12.04/themes/common/widget/CommonScreens.xml
> 2020-12-05 20:00:34,210 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 8
> screens in 0.006s from:
> file:/home/georg/apache-ofbiz-17.12.04/plugins/example/widget/example/CommonScreens.xml
> 2020-12-05 20:00:34,215 |sse-nio-8443-exec-10 |ScreenFactory |I| Got 1
> screens in 0.004s from:
> file:/home/georg/apache-ofbiz-17.12.04/applications/commonext/widget/CommonScreens.xml
> 2020-12-05 20:00:34,250 |sse-nio-8443-exec-10 |ServiceDispatcher |T| Sync
> service [example/getLastSystemInfoNote] finished in [11] milliseconds
> 2020-12-05 20:00:34,270 |sse-nio-8443-exec-10 |ServerHitBin |I| Visit
> delegatorName=default, ServerHitBin delegatorName=default
> 2020-12-05 20:00:34,279 |sse-nio-8443-exec-10 |ControlServlet |T|
> [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done-
> total:1.712,since last([ExampleReportPdf...):1.712]]
>> Building 91% > :ofbiz
>
>
> -----Ursprüngliche Nachricht----- From: Jacques Le Roux
> Sent: Thursday, December 3, 2020 3:39 PM
> To: [hidden email]
> Subject: 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:
>>> [https://localhost:8443/example/control/qrcode?message=Example%2011&format=bmp&encoding=UTF-8&verifyOutput=true&logoImageMaxWidth=20&logoImageMaxHeight=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: org.apache.fop.apps.FOPException
>>> java.lang.reflect.UndeclaredThrowableException; Screen XSL:FO text was:
>>> <?xml version="1.0" encoding="UTF-8"?>
>>>
>>>
>>>
>>> <!-- Begin Template
>>> component://example/template/reports/BarCode.fo.ftl -->
>>>
>>> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
>>>
>>>    <fo:layout-master-set>
>>>      <fo:simple-page-master master-name="main" page-height="4in"
>>> page-width="8in"
>>>          margin-top="0.5in" margin-bottom="0.25in" margin-left="0.25in"
>>> margin-right="0.25in">
>>>        <fo:region-body margin-top="0in"/>
>>>        <fo:region-before extent="0in"/>
>>>        <fo:region-after extent="0in"/>
>>>      </fo:simple-page-master>
>>>    </fo:layout-master-set>
>>>
>>>    <fo:page-sequence master-reference="main">
>>>      <fo:flow flow-name="xsl-region-body" font-family="Helvetica">
>>>        <fo:block text-align="center">
>>>          Example 11
>>>        </fo:block>
>>>        <fo:block text-align="center">
>>>          <fo:instream-foreign-object>
>>>            <barcode:barcode
>>> xmlns:barcode="http://barcode4j.krysalis.org/ns"
>>>                message="EX11">
>>>              <barcode:code39>
>>> <barcode:height>0.75in</barcode:height>
>>> <barcode:module-width>.375mm</barcode:module-width>
>>>              </barcode:code39>
>>>              <barcode:human-readable>
>>> <barcode:placement>bottom</barcode:placement>
>>> <barcode:font-name>Helvetica</barcode:font-name>
>>> <barcode:font-size>18pt</barcode:font-size>
>>> <barcode:display-start-stop>false</barcode:display-start-stop>
>>> <barcode:display-checksum>false</barcode:display-checksum>
>>>              </barcode:human-readable>
>>>            </barcode:barcode>
>>>          </fo:instream-foreign-object>
>>>        </fo:block>
>>>        <fo:block>
>>>          <fo:leader/>
>>>        </fo:block>
>>>        <fo:block text-align="center">
>>>          <fo:external-graphic
>>> src="/example/control/qrcode;jsessionid=E842AAB15A21B6B90D3B9DFB84B904FB.jvm1?message=Example%2011&amp;format=bmp&amp;encoding=UTF-8&amp;verifyOutput=true&amp;logoImageMaxWidth=20&amp;logoImageMaxHeight=20"
>>>              overflow="hidden" height="1.5in"
>>> content-height="scale-to-fit"/>
>>>        </fo:block>
>>>      </fo:flow>
>>>    </fo:page-sequence>
>>> </fo:root>
>>> <!-- End Template
>>> component://example/template/reports/BarCode.fo.ftl -->
>>>
>>> 2020-12-03 13:01:01,402 |jsse-nio-8443-exec-4 |ScreenFactory |I| Got 27
>>> screens in 0.016s from:
>>> file:/C:/ofbiz/framework/common/widget/CommonScreens.xml
>>> 2020-12-03 13:01:01,487 |jsse-nio-8443-exec-4 |ScreenFactory |I| Got 26
>>> screens in 0.0s from:
>>> file:/C:/ofbiz/themes/common/widget/CommonScreens.xml
>>> 2020-12-03 13:01:01,502 |jsse-nio-8443-exec-4 |ScreenFactory |I| Got 8
>>> screens in 0.015s from:
>>> file:/C:/ofbiz/plugins/example/widget/example/CommonScreens.xml
>>> 2020-12-03 13:01:01,518 |jsse-nio-8443-exec-4 |ScreenFactory |I| Got 1
>>> screens in 0.016s from:
>>> file:/C:/ofbiz/applications/commonext/widget/CommonScreens.xml
>>> 2020-12-03 13:01:01,556 |jsse-nio-8443-exec-4 |ServiceDispatcher |T|
>>> Sync service [example/getLastSystemInfoNote] finished in [16]
>>> milliseconds
>>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ServerHitBin |I| Visit
>>> delegatorName=default, ServerHitBin delegatorName=default
>>> 2020-12-03 13:01:01,587 |jsse-nio-8443-exec-4 |ControlServlet |T|
>>> [[[ExampleReportPdfBarcode(Domain:https://localhost)] Request Done-
>>> total:22.793,since last([ExampleReportPdf...):22.793]]
>>> 2020-12-03 13:01:01,921 |jsse-nio-8443-exec-7 |ControlServlet |T|
>>> [[[setLocaleFromBrowser(Domain:https://localhost)] Request Begun,
>>> encoding=[UTF-8]- total:0.0,since last(Begin):0.0]]
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |ServiceDispatcher |T|
>>> Sync service [example/setLocaleFromBrowser] finished in [32]
>>> milliseconds
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler |I| Ran
>>> Event [service:#setLocaleFromBrowser] from [request], result is
>>> [success]
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler |I|
>>> [RequestHandler.doRequest]: Response is a chained request. Hidden
>>> sessionId by default.
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler |I|
>>> [RequestHandler]: Chain in place: requestUri=json overrideViewUri=null
>>> Hidden sessionId by default.
>>> 2020-12-03 13:01:01,953 |jsse-nio-8443-exec-7 |RequestHandler |I| Ran
>>> Event
>>> [java:org.apache.ofbiz.common.CommonEvents#jsonResponseFromRequestAttributes]
>>> from [request], result is [success]
>>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ServerHitBin |I| Visit
>>> delegatorName=default, ServerHitBin delegatorName=default
>>> 2020-12-03 13:01:01,968 |jsse-nio-8443-exec-7 |ControlServlet |T|
>>> [[[setLocaleFromBrowser(Domain:https://localhost)] Request Done-
>>> total:0.047,since last([setLocaleFromBro...):0.047]]
>>>
>>>
>

12