From owner-freebsd-java Fri Feb 22 9: 8:16 2002 Delivered-To: freebsd-java@freebsd.org Received: from Thanatos.Shenton.Org (a3.ebbed1.client.atlantech.net [209.190.235.163]) by hub.freebsd.org (Postfix) with SMTP id BD36A37B402 for ; Fri, 22 Feb 2002 09:08:11 -0800 (PST) Received: (qmail 56383 invoked by uid 1000); 22 Feb 2002 17:08:05 -0000 To: "Tim E Schafer" Cc: java@freebsd.org Subject: Re: linux-jdk14 bombs (running tomcat with servlet) References: <018e01c1bb4a$a45fa470$441814ac@newtim> From: Chris Shenton Date: 22 Feb 2002 12:08:05 -0500 In-Reply-To: <018e01c1bb4a$a45fa470$441814ac@newtim> Message-ID: <87664psave.fsf@thanatos.shenton.org> Lines: 43 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org [java@freebsd.org CCd so they can archive your suggestions] "Tim E Schafer" writes: > I noticed that the port linux-jdk1.4 doesn't do something that the > linux-jdk1.3.1 port does, that is turn off hotspot. Take a look at: > /usr/local/linux-jdk1.3.1/jre/lib/jvm.cfg > > should look like: > > -classic > -client > -hotspot > -server > > with -classic at the top it chooses to use classic VM over hotspot From native jdk-1.3.1p6 built from ports last night, jre/lib/jvm.cfg: -client -hotspot -server -classic with the only implementation in jdk1.3.1/jre/lib/i386/classic/libjvm.so. (The Linux jdk13 had additional libjvm.so under different dirs). The linux-jdk14 moves this to linux-jdk1.4.0/jre/lib/i386/jvm.cfg: -client KNOWN -server KNOWN -hotspot ALIASED_TO -client -classic WARN -native ERROR -green ERROR with libjvm.so under client/ and server/. So there's no "classic" libjvm, and the "client" is the same as "hotspot". So I tried the only option I have: swapping -client with -server. No help, not surprisingly: same error. Bummer. Thanks for your suggestions. I've never looked under the covers of the java machine, didn't know these knobs were there to tweak. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message