Hi there,
This may seem a little out of the blue, but we just configured a 2nd
gen XServe G5 with Mac OS X Server 10.4 running WO Apps with Java 1.5.
The system was re-installed from scratch with no modifications to the
Java VM aside from running all updates.
When I type java -version, I get
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode)
When I type java -server -version, I get the exact same thing
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
b05-241)
Java HotSpot(TM) Client VM (build 1.5.0_13-121, mixed mode)
Does anyone have any idea how I could get our server to use the Java
Server VM? From what I can remember reading last month, we can get
30-40% performance increase running the server version. I included the
previous discussion about this matter if it can help.
Thank you for your time and support.
Kind Regards,
Pascal L.
NeverTales.com
On 19-Dec-07, at 11:42 AM, Mike Schrag wrote:
I would agree .. And definitely if you're deploying on any other
platform. This is actually a bit of a weird anomaly on OS X Server.
On Dec 19, 2007, at 11:37 AM, Mr. Pierre Frisch wrote:
Well I stand corrected. I did not know there was a different
default on OSX server and client. I would still stand by my
recommendation as it does not cost anything.
Pierre
--
Pierre Frisch
[EMAIL PROTECTED]
On Dec 19, 2007, at 8:28, Mike Schrag wrote:
Are you sure?
On on of our Xserves:
emerald:~ local$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0_06-113)
Java HotSpot(TM) Server VM (build 1.5.0_06-68, mixed mode)
On my OS X client:
vdoop:~ mschrag$ java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
ms
On Dec 19, 2007, at 11:22 AM, Mr. Pierre Frisch wrote:
No the default setting on MacOSX is always -client. If you want
the server JVM you have to include the -server option. You can
check this very easily by trying "java -version" and "java -
server -version".
java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode,
sharing)
java -server -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-
b05-237)
Java HotSpot(TM) Server VM (build 1.5.0_13-119, mixed mode)
Pierre
--
Pierre Frisch
[EMAIL PROTECTED]
On Dec 19, 2007, at 7:30, Mike Schrag wrote:
The -server parameter works with all version of the Hotspot
JVM. The Hotspot JVM comes in two variety the server and the
client, with different optimization. The default (client)
optimize for UI and speed of startup. The server version will
take longer to start but with optimize better the generated
code which is typically what you want in WO application. I
would recommend to set that parameter by default on all your
applications as I have never found any negative effect for WO
apps.
I actually thought that on an Xserve -server was the default
setting? Now I'm doubting myself and I have to go check :)
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]