Re: [daemon] High CPU load after update from 1.3.2 to 1.3.3

2023-05-16 Thread Andreas Kuhtz
Hello,

I know that the statement "high CPU load" ist pretty vague, but the CPU
load in Windows task manager was the only visible thing I saw. No different
logs even with LogLevel=DEBUG.

But I found out that removing the StopTimeout parameter (in my case
--StopTimeout=15) solves the issue. So I think it might be related to this
change:
https://github.com/apache/commons-daemon/commit/243a8521f780b98247820ae187e395597f6c9b51#diff-b4e825062840bfdafb7eeed624d22a66257983305ca7e21470b679bff4ef1ffeR1840-R1850



Am Mo., 15. Mai 2023 um 21:08 Uhr schrieb
:

> Andreas,
>
> Use the java flight recorder to take a recording of a minute or two.  Open
> it in Java Mission Control and look at the method samples.  That will give
> you a good idea where the CPU usage is coming from.  If that doesn't seem
> helpful, maybe enable -XX+DebugNonSafepoints and try again.
>
>
> > -Original Message-
> > From: Andreas Kuhtz 
> > Sent: Monday, May 15, 2023 11:25 AM
> > To: user@commons.apache.org
> > Subject: [daemon] High CPU load after update from 1.3.2 to 1.3.3
> >
> > Hi there,
> >
> > I see a high CPU load after updating commons-daemon from 1.3.2 to 1.3.3
> > (and 1.3.4) on my system.
> > The application is a simple SpringBoot application that is started with
> service-
> > user LocalSystem (no difference if started with default value).
> >
> > How can I find the cause for this?
> >
> > Many thanks,
> > Andreas
>
> -
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>


[daemon] High CPU load after update from 1.3.2 to 1.3.3

2023-05-15 Thread Andreas Kuhtz
Hi there,

I see a high CPU load after updating commons-daemon from 1.3.2 to 1.3.3
(and 1.3.4) on my system.
The application is a simple SpringBoot application that is started with
service-user LocalSystem (no difference if started with default value).

How can I find the cause for this?

Many thanks,
Andreas


Re: [email] ImageHtmlEmail and base64 encoded image in html body throws exception

2017-12-07 Thread Andreas Kuhtz
Hi Raffaele,

I think the form ":

> Hi Martin,
>
> have you read my question? Why are you continueing to talk about a
> different matter, can I ask you to try to explain me, if you know it, if I
> found a bug or not?
> Saying differently, how do you send an email containing base64 encoded
> images in its html?
>
> Thanks, bye
>
> Raffaele Gambelli
> WebRainbow® Software Analyst & Developer
>
> Hitachi Systems CBT
> r.gambe...@hitachi-systems-cbt.com | Phone +39 051 8550 576
> Via Ettore Cristoni, 84 | 40033 Casalecchio Di Reno
> www.hitachi-systems-cbt.com
>
> This email for the D.Lgs n.196/2003 (Privacy Code), may contain
> confidential and/or privileged information for the sole use of the intended
> recipient. Any review or distribution by others is strictly prohibited. If
> you are not the intended recipient, you must not use, copy, disclose or
> take any action based on this message or any information here. If you have
> received this email in error, please contact us (e-mail:
> priv...@hitachi-systems-cbt.com) by reply e-mail and delete all copies.
> Legal privilege is not waived because you have read this e-mail. Thank you
> for your cooperation.
>
>
> -Martin Gainty  ha scritto: -
> Per: Commons Users List 
> Da: Martin Gainty 
> Data: 07/12/2017 04.43PM
> Oggetto: Re: [email] ImageHtmlEmail and base64 encoded image in html body
> throws exception
>
> break the rules at your own peril
>
>
> bye
> __
>
>
>
> 
> From: Raffaele Gambelli 
> Sent: Wednesday, December 6, 2017 10:43 AM
> To: Commons Users List
> Subject: Re: [email] ImageHtmlEmail and base64 encoded image in html body
> throws exception
>
> Hi Martin,
>
> do you think that applying what you said resolves the exception Caused by:
> java.net.MalformedURLException: unknown protocol: data ?
> I think not...
>
> Anyway thanks for your precision but passing null to DataSourceUrlResolver
> works perfectly for "src" like http://www.apache.org/images/
> asf_logo_wide.gif
>
> [http://www.apache.org/images/asf_logo_wide.gif]
>
>
> regards
>
> Raffaele Gambelli
>
>
>
> -Martin Gainty  ha scritto: -
> Per: Commons Users List 
> Da: Martin Gainty 
> Data: 06/12/2017 03.52PM
> Oggetto: Re: [email] ImageHtmlEmail and base64 encoded image in html body
> throws exception
>
> DataSourceUrlResolver image argument needs to be a URL (not null and not a
> plain String)
>
>
>
> DataSourceUrlResolver(final URL baseUrl)
>
> M-
> 
> From: Raffaele Gambelli 
> Sent: Wednesday, December 6, 2017 8:19 AM
> To: user@commons.apache.org
> Subject: [email] ImageHtmlEmail and base64 encoded image in html body
> throws exception
>
> Hi all,
>
> I would like to send emails with some given html, sometimes my html
> contains base64 encoded images, I mean images like this
> https://jsfiddle.net/casiano/xadvz/
> [https://assets.servedby-buysellads.com/p/manage/asset/id/32052]<
> https://jsfiddle.net/casiano/xadvz/>
>
> base64 testing image - JSFiddle
> jsfiddle.net
> Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code
> editor.
>
>
>
> [https://assets.servedby-buysellads.com/p/manage/asset/id/32052]<
> https://jsfiddle.net/casiano/xadvz/>
>
> base64 testing image - JSFiddle
> [https://assets.servedby-buysellads.com/p/manage/asset/id/32052]<
> https://jsfiddle.net/casiano/xadvz/>
>
> base64 testing image - JSFiddle
> jsfiddle.net
> Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code
> editor.
>
>
>
> jsfiddle.net
> Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code
> editor.
>
>
>
>
> https://commons.apache.org/proper/commons-email/userguide.html.
> Commons Email  Examples email/userguide.html>
> commons.apache.org
> A simple text email. Our first example will create a basic email message
> to "John Doe" and send it through your Google Mail (GMail) account.
>
>
>
>
> Nevertheless it seems strange that commons email is not able to handle
> with those inline images that are quite common in signatures, am I wrong?
> Thanks and best regards
>
> Raffaele Gambelli
>
> -
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>
>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>
>
>
> -
> To 

Re: [configuration] Release date for commons-configuration2 ?

2017-09-27 Thread Andreas Kuhtz
Hi Gary,

I wasn't aware that pushing a SNAPSHOT build needs the release process will
all preparations to be executed, but I'll wait for the next release in this
case.
Thank you for all the good solutions that are provided by the configuration
team.

Andreas

2017-09-26 22:17 GMT+02:00 Gary Gregory <garydgreg...@gmail.com>:

> On Tue, Sep 26, 2017 at 2:07 PM, Andreas Kuhtz <andreas.ku...@gmail.com>
> wrote:
>
> > Thank you for the response.
> > I looked at http://repository.apache.org/snapshots/ already, but there
> is
> > no 2.2-SNAPSHOT. If someone has permissions to publish the current
> > 2.2-SNAPSHOT that would be great.
> >
>
> Unfortunately, it's more complicated than that. We have a release process
> that requires a release manager from our team to volunteer and jump through
> a bunch of hoops.
>
> Gary
>
> <http://repository.apache.org/snapshots/>
> >
> > 2017-09-26 21:59 GMT+02:00 Pascal Schumacher <pascalschumac...@gmx.net>:
> >
> > > Sorry my response was less that clear. The public maven repo address
> is:
> > > http://repository.apache.org/snapshots/
> > >
> > > See: https://www.apache.org/dev/repository-faq.html#basic
> > >
> > >
> > > Am 26.09.2017 um 21:56 schrieb Pascal Schumacher:
> > >
> > >> No idea if there are concrete plans for a release date of
> > >> commons-configuration 2.2 with the YAML feature.
> > >>
> > >> https://repository.apache.org/content/groups/snapshots/org/a
> > >> pache/commons/commons-configuration2/ should have a snapshots with
> the
> > >> feature.
> > >>
> > >> Kind regards,
> > >> Pascal
> > >>
> > >> Am 26.09.2017 um 21:43 schrieb Andreas Kuhtz:
> > >>
> > >>> Hello,
> > >>>
> > >>> Is there a planned release date for commons-configuration2 or is a
> > >>> SNAPSHOT
> > >>> available in a public maven repo?
> > >>>
> > >>> I would like to use the YAML configuration in my project.
> > >>>
> > >>> Best regards,
> > >>> Andreas
> > >>>
> > >>>
> > >>
> > >> -
> > >> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> > >> For additional commands, e-mail: user-h...@commons.apache.org
> > >>
> > >>
> > >
> > > -
> > > To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> > > For additional commands, e-mail: user-h...@commons.apache.org
> > >
> > >
> >
>


Re: [configuration] Release date for commons-configuration2 ?

2017-09-26 Thread Andreas Kuhtz
Thank you for the response.
I looked at http://repository.apache.org/snapshots/ already, but there is
no 2.2-SNAPSHOT. If someone has permissions to publish the current
2.2-SNAPSHOT that would be great.
<http://repository.apache.org/snapshots/>

2017-09-26 21:59 GMT+02:00 Pascal Schumacher <pascalschumac...@gmx.net>:

> Sorry my response was less that clear. The public maven repo address is:
> http://repository.apache.org/snapshots/
>
> See: https://www.apache.org/dev/repository-faq.html#basic
>
>
> Am 26.09.2017 um 21:56 schrieb Pascal Schumacher:
>
>> No idea if there are concrete plans for a release date of
>> commons-configuration 2.2 with the YAML feature.
>>
>> https://repository.apache.org/content/groups/snapshots/org/a
>> pache/commons/commons-configuration2/ should have a snapshots with the
>> feature.
>>
>> Kind regards,
>> Pascal
>>
>> Am 26.09.2017 um 21:43 schrieb Andreas Kuhtz:
>>
>>> Hello,
>>>
>>> Is there a planned release date for commons-configuration2 or is a
>>> SNAPSHOT
>>> available in a public maven repo?
>>>
>>> I would like to use the YAML configuration in my project.
>>>
>>> Best regards,
>>> Andreas
>>>
>>>
>>
>> -
>> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
>> For additional commands, e-mail: user-h...@commons.apache.org
>>
>>
>
> -
> To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
> For additional commands, e-mail: user-h...@commons.apache.org
>
>


[configuration] Release date for commons-configuration2 ?

2017-09-26 Thread Andreas Kuhtz
Hello,

Is there a planned release date for commons-configuration2 or is a SNAPSHOT
available in a public maven repo?

I would like to use the YAML configuration in my project.

Best regards,
Andreas