Carl Olivier ha scritto:
Greetings.
I am having a problem with my Tomcat server (5.0.28) running on Mac XServe.
Not sure if anyone here can help, but trying my luck...
output from /usr/bin/sw_vers below:
ProductName: Mac OS X Server
ProductVersion: 10.4.2
BuildVersion: 8C47
java - version output:
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-232) Java
HotSpot(TM) Client VM (build 1.4.2-54, mixed mode)
It seems when anything (well a lot?) executing withing the JVM requiring any
java imaging libs, or access to a default toolkit for image processing
causes this (or similar errors) to occur - and result in the java process
exiting! Log entries from Tomcat log file at the time of process exit and
failure:
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
Exception in declaration()
2005-11-08 15:05:17.195 java[5522] CFLog (0): CFMessagePort:
bootstrap_register(): failed 1100 (0x44c), port = 0x5a20f, name =
'Processes-2.5522'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2005-11-08 15:05:17.196 java[5522] CFLog (99): CFMessagePortCreateLocal():
failed to name Mach port (Processes-2.5522) CFMessagePortCreateLocal failed
(name = Processes-2.5522 error = 0)
The java runtime switches I am using are below:
-Xms784m -Xmx784m -Xss128k -XX:+UseParallelGC -XX:MaxPermSize=196m
-XX:+DisableExplicitGC -Djava.awt.headless=true
Does anyone have any idea as to why this is happening, or what could
potentially cause this?
One my application (Servlet) that works with bitmap images hangs in
the same way (java VM exits). Ther error don't occurs overy times, is
not easily reproducible.
There is a bug report at apple
"3844767:1.4.2_05-141.3:java vm crash when using javax.image
19-Oct-2004 06:11 PM"
But no solution.
Now I am using SVG, o "very" alternative vay. I'd like to change my
server.
output from /usr/bin/sw_vers below:
ProductName: Mac OS X
ProductVersion: 10.3.9
BuildVersion: 7W98
java - version output:
java version "1.4.2_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_09-233)
Java HotSpot(TM) Client VM (build 1.4.2-56, mixed mode)
Edoardo Panfili
--
[EMAIL PROTECTED]
AIM: edoardopn
Jabber: [EMAIL PROTECTED]
tel:075 9142766
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]