You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Malcolm Warren <ma...@villeinitalia.com> on 2010/03/09 18:09:01 UTC
Nasty problem with headless mode in Tomcat 6-0-24
Not quite sure where to send this problem, hope you can forward this
message to whoever can help.
I sent this problem to Apple, but I'm wondering if it might be a Tomcat
problem. I hope it can be solved soon by somebody.
I have Mac Snow Leopard on two separate Intel machines and the same
problem 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 programme.
I then assumed that the problem was in Java 6, but when I installed Java
5 in Snow Leopard, recompiled all my programmes in 1.5 and ran Tomcat
again, the same thing happened.
Tomcat is 6.0.24
Java 5 is java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-304)
Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing)
Java 6 is java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
I've attached 2 crash logs, from when I was running java 5 and another
in java 6
Hope you can help, if not, sorry for the bother.
Malcolm Warren
RE: [OT] Nasty problem with headless mode in Tomcat 6-0-24
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Christopher Schultz [mailto:chris@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: takes all the crap in C++ and makes it worse...
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Nasty problem with headless mode in Tomcat 6-0-24
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chuck,
On 3/9/2010 4:15 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:chris@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.
I know. I helped a friend write a couple of iPhone apps.
To me, Objective C is no more objectionable than C++: they're both
horrible beasts.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuWxcUACgkQ9CaO5/Lv0PA6GQCeK6KO9Shi+DzZlx1zT+hpQ+w3
QVoAni+j8Mx1EgJixZHJaNF5dm3Fec90
=0a9+
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Nasty problem with headless mode in Tomcat 6-0-24
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Christopher Schultz [mailto:chris@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 AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Nasty problem with headless mode in Tomcat 6-0-24
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chuck,
On 3/9/2010 4:02 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:chris@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's an
> almost-but-not-quite sort-of-UNIX thing.
:(
> (Written in Objective C?)
Ha.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuWufIACgkQ9CaO5/Lv0PBgBQCgu4dQHUezLIvkjoFqAPtjYpi/
tpEAn2NK+iUA1tzHERpp9YDttHDcGmoc
=ZnGT
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: Nasty problem with headless mode in Tomcat 6-0-24
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Christopher Schultz [mailto:chris@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's an almost-but-not-quite sort-of-UNIX thing. (Written in Objective C?)
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
Re: Nasty problem with headless mode in Tomcat 6-0-24
Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----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 lucky if you downloaded and installed the JRE directly
from Sun: I believe Apple's JVM is a re-packaged Sun distro, and it may
have links to some buggy libraries. If the Sun JVM ships with it's own
graphics library, you may be able to avoid this bug.
...or they both use the same buggy gfx library and you're screwed :(
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuWtlQACgkQ9CaO5/Lv0PAgGACfT9mDWjScvhqQufeUlZVV3zSc
NJoAoKm22GnEJta9r3Z5K2C4GhYeUt2+
=DjMW
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Nasty problem with headless mode in Tomcat 6-0-24
Posted by Pid <pi...@pidster.com>.
On 09/03/2010 19:46, Malcolm Warren wrote:
> Ok, thanks.
>
> 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.
Given that it usually takes about 18months for Apple 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:aw@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; Tomcat is not involved. Good luck.
>>
>> - Chuck
>>
>>
>> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
>> PROPRIETARY MATERIAL and is thus for use only by the intended
>> recipient. If you received this in error, please contact the sender
>> and delete the e-mail and its attachments from all computers.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Nasty problem with headless mode in Tomcat 6-0-24
Posted by Malcolm Warren <ma...@villeinitalia.com>.
Ok, thanks.
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.
Malcolm
Il 09/03/10 18.25, Caldarale, Charles R ha scritto:
>> From: André Warnier [mailto:aw@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; Tomcat is not involved. Good luck.
>
> - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
>
RE: Nasty problem with headless mode in Tomcat 6-0-24
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: André Warnier [mailto:aw@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; Tomcat is not involved. Good luck.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Nasty problem with headless mode in Tomcat 6-0-24
Posted by André Warnier <aw...@ice-sa.com>.
Hi.
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.
If there anything which mentions Tomcat or Jakarta or Apache, please
point it out.
Malcolm Warren wrote:
> Not quite sure where to send this problem, hope you can forward this
> message to whoever can help.
> I sent this problem to Apple, but I'm wondering if it might be a Tomcat
> problem. I hope it can be solved soon by somebody.
>
> I have Mac Snow Leopard on two separate Intel machines and the same
> problem 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 programme.
>
> I then assumed that the problem was in Java 6, but when I installed Java
> 5 in Snow Leopard, recompiled all my programmes in 1.5 and ran Tomcat
> again, the same thing happened.
>
> Tomcat is 6.0.24
> Java 5 is java version "1.5.0_19"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-304)
> Java HotSpot(TM) Client VM (build 1.5.0_19-137, mixed mode, sharing)
>
> Java 6 is java version "1.6.0_17"
> Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-10M3025)
> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
>
> I've attached 2 crash logs, from when I was running java 5 and another
> in java 6
>
>
> Hope you can help, if not, sorry for the bother.
>
>
> Malcolm Warren
>
>
> ------------------------------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org