William,
On 4/7/25 2:28 PM, William Crowell wrote:
I am running Apache Tomcat 9.0.97 on Windows Server 2022 using Oracle’s JDK
1.8.0_441-b07. Anytime I generate a thread dump I see an AWT-Windows thread.
Should this thread not be there when I am specifying the JVM to run in headless
mode
Chuck,
Thanks for your reply. No wonder I was not seeing this thread in dumps of
newer JVMs. I wonder when that was removed?
Regards,
William Crowell
From: Chuck Caldarale
Date: Monday, April 7, 2025 at 3:49 PM
To: Tomcat Users List
Subject: Re: Headless Mode
> On 2025 Apr 7, at 13
the JVM to run in
> headless mode?
> -Djava.awt.headless=true
>
> This thread sits in a loop waiting for events which would take up CPU. Maybe
> I am misunderstanding that JVM option?
Even in headless mode, the JVM must be able to do some graphics processing
(such as image processi
I am running Apache Tomcat 9.0.97 on Windows Server 2022 using Oracle’s JDK
1.8.0_441-b07. Anytime I generate a thread dump I see an AWT-Windows thread.
Should this thread not be there when I am specifying the JVM to run in headless
mode?
-Djava.awt.headless=true
This thread sits in a loop
What happens if you don't set
"headless" mode?
> I have some image processing code in spring bean which runs well at
> the first time.
>
> After some time,let me say 1 or 2 days, exception occurs. Any clue
> would be appreciated.
>
> Env detail: OS : Ubuntu 14.
Hi all,
I've add the following line to setenv.sh in tomcat bin directory.
export CATALINA_OPTS="$CATALINA_OPTS -Djava.awt.headless=true"
I have some image processing code in spring bean which runs well at the
first time.
After some time,let me say 1 or 2 days, exception ocurrs. Any
to release Java
updates, you might try the SoyLatte / OpenJDK 7 builds. YMMV
p
Malcolm
Il 09/03/10 18.25, Caldarale, Charles R ha scritto:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24
I can't be categorical, because I
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24
>
> To me, Objective C is no more objectionable than C++: they're both
> horrible beasts.
Objectionable C - the beginning of a new language: tak
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 3/9/2010 4:15 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24
>>
>>> (Written in Objective C?)
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24
>
> > (Written in Objective C?)
>
> Ha.
Don't laugh - our phones use it too.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AN
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 3/9/2010 4:02 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24
>>
>> You might get lucky if you down
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24
>
> You might get lucky if you downloaded and installed the JRE
> directly from Sun
You can't - Sun does not supply an OS X variant, since it&
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Malcolm,
On 3/9/2010 2:46 PM, Malcolm Warren wrote:
> In fact just after receiving this email from you I also got one from
> Apple saying that it's a bug and that they're trying to solve it.
> Sorry for the bother, and thanks again.
You might get luc
ice-sa.com]
Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24
I can't be categorical, because I have never used Tomcat on an Apple
machine, but neither here nor in the attachments do I spot anything
that might be Tomcat-related.
It's definitely an Apple JVM problem; To
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Re: Nasty problem with headless mode in Tomcat 6-0-24
>
> I can't be categorical, because I have never used Tomcat on an Apple
> machine, but neither here nor in the attachments do I spot anything
> that might b
em on both.
Any call that uses headless mode causes java to crash completely.
I have two separate calls that use headless, one for creating .pdfs and
the other for measuring the size of .jpg photos.
The crash is caused by both, so the cause can't be laid at the door of a
particular prog
16 matches
Mail list logo