From owner-freebsd-java@FreeBSD.ORG Mon May 26 05:19:01 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5382B37B401 for ; Mon, 26 May 2003 05:19:01 -0700 (PDT) Received: from mail.die.supsi.ch (mail.die.supsi.ch [193.5.153.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 62FDD43F93 for ; Mon, 26 May 2003 05:18:55 -0700 (PDT) (envelope-from nunnari@die.supsi.ch) Received: from die.supsi.ch (pcm2022.die.supsi.ch [193.5.152.22]) by mail.die.supsi.ch (8.11.6/8.11.6) with ESMTP id h4QCIlU23869 for ; Mon, 26 May 2003 14:18:48 +0200 Message-ID: <3ED20627.6090308@die.supsi.ch> Date: Mon, 26 May 2003 14:18:47 +0200 From: Roberto Nunnari User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: tomcat on port 80 as user www:ww X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 12:19:01 -0000 Hello. just a question: What about running jakarta-tomcat4.1 as user www:www on port 80? I don't need apache, so I run tomcat on port 80, but I can only run it as root... Any known security issues with running jakarta-tomcat4.1 as user root? Best regards. -- Roberto Nunnari -software engineer- mailto:nunnari@die.supsi.ch Scuola Universitaria Professionale della Svizzera Italiana Dipartimento di Informatica e Elettronica http://www.die.supsi.ch SUPSI-DIE Via Cantonale tel: +41-91-6108561 6928 Manno """ fax: +41-91-6108570 Switzerland (o o) =======================oOO==(_)==OOo======================== From owner-freebsd-java@FreeBSD.ORG Mon May 26 07:49:58 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8417337B401 for ; Mon, 26 May 2003 07:49:58 -0700 (PDT) Received: from eowyn.vianetworks.nl (eowyn.vianetworks.nl [212.61.25.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 83B3343F3F for ; Mon, 26 May 2003 07:49:57 -0700 (PDT) (envelope-from marc@bowtie.nl) Received: from nietzsche.intra.bowtie.nl (p14229165.net.upc.nl [212.142.29.165]) by eowyn.vianetworks.nl (Postfix) with ESMTP id 5093E20FC0 for ; Mon, 26 May 2003 16:49:55 +0200 (CEST) Received: from bowtie.nl (euripides.intra.bowtie.nl [192.168.4.15]) h4QDJmBK044357; Mon, 26 May 2003 15:19:50 +0200 (CEST) (envelope-from marc@bowtie.nl) Message-ID: <3ED21473.9020506@bowtie.nl> Date: Mon, 26 May 2003 15:19:47 +0200 From: Marc van Kempen Organization: BowTie Technology User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4b) Gecko/20030509 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roberto Nunnari References: <3ED20627.6090308@die.supsi.ch> In-Reply-To: <3ED20627.6090308@die.supsi.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: tomcat on port 80 as user www:ww X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 14:49:58 -0000 Roberto Nunnari wrote: > Hello. > > just a question: > > What about running jakarta-tomcat4.1 as user www:www on port 80? > I don't need apache, so I run tomcat on port 80, but I can only > run it as root... > > Any known security issues with running jakarta-tomcat4.1 as user root? > > Best regards. Just run a port forwarder from 80 (ipfw can do it too) to 8080 (or whereever Tomcat lives). That way you don't have to trust it at all. Regards, Marc. -- ---------------------------------------------------- Marc van Kempen tel. +31 40 2 64 98 60 BowTie Technology fax. +31 40 2 64 98 61 Raiffeisenstraat 7 mailto:marc@bowtie.nl 5611 CH Eindhoven http://www.bowtie.nl ---------------------------------------------------- From owner-freebsd-java@FreeBSD.ORG Mon May 26 08:08:08 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C45CE37B401 for ; Mon, 26 May 2003 08:08:08 -0700 (PDT) Received: from yello.shallow.net (yello.shallow.net [203.18.243.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id C8CB043F93 for ; Mon, 26 May 2003 08:08:07 -0700 (PDT) (envelope-from joshua@shallow.net) Received: by yello.shallow.net (Postfix, from userid 1001) id 80CEF29B9; Tue, 27 May 2003 01:08:06 +1000 (EST) Date: Tue, 27 May 2003 01:08:06 +1000 From: Joshua Goodall To: Roberto Nunnari Message-ID: <20030526150806.GA538@roughtrade.net> References: <3ED20627.6090308@die.supsi.ch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ED20627.6090308@die.supsi.ch> User-Agent: Mutt/1.5.3i cc: freebsd-java@freebsd.org Subject: Re: tomcat on port 80 as user www:ww X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 15:08:09 -0000 On Mon, May 26, 2003 at 02:18:47PM +0200, Roberto Nunnari wrote: > What about running jakarta-tomcat4.1 as user www:www on port 80? > I don't need apache, so I run tomcat on port 80, but I can only > run it as root... > > Any known security issues with running jakarta-tomcat4.1 as user root? Let me rephrase that for you. "Any known security issues with running {APPLICATION} as user root?" The answer is always yes. Anyone telling you otherwise is not fit to manage a server. Well-written daemons that listen on privileged ports change their uid as soon as possible. Instead, I recommend investigating the possibilities of natd & divert sockets. Regards, Joshua. From owner-freebsd-java@FreeBSD.ORG Mon May 26 08:36:58 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 064FB37B404 for ; Mon, 26 May 2003 08:36:58 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5F7E43F85 for ; Mon, 26 May 2003 08:36:55 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h4QFairN023098 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Mon, 26 May 2003 17:36:51 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h4QFagOs060528 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 26 May 2003 17:36:42 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h4QFagMh055379 for ; Mon, 26 May 2003 17:36:42 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h4QFafnl055378 for freebsd-java@freebsd.org; Mon, 26 May 2003 17:36:41 +0200 (CEST) Date: Mon, 26 May 2003 17:36:41 +0200 From: Bernd Walter To: freebsd-java@freebsd.org Message-ID: <20030526153641.GC55219@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD cicely12.cicely.de 5.1-BETA alpha User-Agent: Mutt/1.5.4i Subject: jdk on alpha X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 15:36:58 -0000 What are the outstanding issues? I've read on http://kjkoster.org/java/content/newarch.jsp that invokeNative_alpha.s needs to be done. Is this still true? What is the best jdk version to start with? I've also read on that page that we need a working jdk to bootstrap with an example on how to do this with help from another machine. Are there any ideas on how to handle this from ports? E.g. can we distribute a native bootstrap jdk binary like it's done for modula? -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de From owner-freebsd-java@FreeBSD.ORG Mon May 26 09:25:52 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A528937B401 for ; Mon, 26 May 2003 09:25:52 -0700 (PDT) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id B416143F75 for ; Mon, 26 May 2003 09:25:51 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3p2/8.9.3) with ESMTP id KAA08480; Mon, 26 May 2003 10:25:49 -0600 (MDT) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.9/8.12.8) id h4QGPnxG044980; Mon, 26 May 2003 10:25:49 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16082.16392.155803.403138@emerger.yogotech.com> Date: Mon, 26 May 2003 10:25:44 -0600 To: ticso@cicely.de In-Reply-To: <20030526153641.GC55219@cicely12.cicely.de> References: <20030526153641.GC55219@cicely12.cicely.de> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid cc: freebsd-java@freebsd.org Subject: Re: jdk on alpha X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nate Williams List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 16:25:53 -0000 > What are the outstanding issues? > > I've read on http://kjkoster.org/java/content/newarch.jsp that > invokeNative_alpha.s needs to be done. > Is this still true? Yes. > What is the best jdk version to start with? The only one available, which is the one released by DEC (prior to being Compaq, which happened prior to HPC) for Linux. > I've also read on that page that we need a working jdk to bootstrap > with an example on how to do this with help from another machine. No need, since the Linux native one works. > Are there any ideas on how to handle this from ports? > E.g. can we distribute a native bootstrap jdk binary like it's done > for modula? No. However, in my opinion using the JVM, it's really a non-issue, unless you're doing it for research purposes. My 486/66 box with 16MB of memory blows the doors off my 500Mhz Alpha with 256MB of memory. Java on the alpha is slow, piggy, and basically useless. DEC at one point had a VM in beta-test that had a very aggressive JIT compiler but it never got into production, since Compaq essentially shut all the work down after they bought DEC. As stated above, the basic JVM port that DEC made was unbearably slow. Unless you want Java just for the sake of Java, you're better off buying a different hardware platform and running Java on it, since the Alpha does not run Java very well. Nate From owner-freebsd-java@FreeBSD.ORG Mon May 26 09:50:27 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16F9C37B401 for ; Mon, 26 May 2003 09:50:27 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 639A743F75 for ; Mon, 26 May 2003 09:50:25 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h4QGoKrN024168 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 26 May 2003 18:50:22 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h4QGoIOs060911 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 May 2003 18:50:19 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h4QGoIMh095542; Mon, 26 May 2003 18:50:18 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h4QGoH0b095541; Mon, 26 May 2003 18:50:17 +0200 (CEST) Date: Mon, 26 May 2003 18:50:17 +0200 From: Bernd Walter To: Nate Williams Message-ID: <20030526165016.GB66136@cicely12.cicely.de> References: <20030526153641.GC55219@cicely12.cicely.de> <16082.16392.155803.403138@emerger.yogotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16082.16392.155803.403138@emerger.yogotech.com> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-BETA alpha User-Agent: Mutt/1.5.4i cc: ticso@cicely.de cc: freebsd-java@freebsd.org Subject: Re: jdk on alpha X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 16:50:27 -0000 On Mon, May 26, 2003 at 10:25:44AM -0600, Nate Williams wrote: > > What are the outstanding issues? > > > > I've read on http://kjkoster.org/java/content/newarch.jsp that > > invokeNative_alpha.s needs to be done. > > Is this still true? > > Yes. OK - that needs to be done. > > What is the best jdk version to start with? > > The only one available, which is the one released by DEC (prior to being > Compaq, which happened prior to HPC) for Linux. > > > I've also read on that page that we need a working jdk to bootstrap > > with an example on how to do this with help from another machine. > > No need, since the Linux native one works. Is it recent enough to build jdk14? Otherwise I would prefer to go the i386 cross build way. It's problematic in respect to ports, but from what I've heard installaing the DEC binary is also manual work. > > Are there any ideas on how to handle this from ports? > > E.g. can we distribute a native bootstrap jdk binary like it's done > > for modula? > > No. However, in my opinion using the JVM, it's really a non-issue, Bad news, but I'd already expected this. > unless you're doing it for research purposes. My 486/66 box with 16MB > of memory blows the doors off my 500Mhz Alpha with 256MB of memory. > Java on the alpha is slow, piggy, and basically useless. Well - I can't argue on that, but having at least a runable java is required today in many cases - even in simple one such as web browsing. > DEC at one point had a VM in beta-test that had a very aggressive JIT > compiler but it never got into production, since Compaq essentially shut > all the work down after they bought DEC. As stated above, the basic JVM > port that DEC made was unbearably slow. > > Unless you want Java just for the sake of Java, you're better off buying > a different hardware platform and running Java on it, since the Alpha > does not run Java very well. Not an option - I want it for Alpha and I want it native. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de From owner-freebsd-java@FreeBSD.ORG Mon May 26 11:01:27 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4682237B401 for ; Mon, 26 May 2003 11:01:27 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0E0A43F3F for ; Mon, 26 May 2003 11:01:26 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4QI1QUp007930 for ; Mon, 26 May 2003 11:01:26 -0700 (PDT) (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4QI1QpG007925 for java@freebsd.org; Mon, 26 May 2003 11:01:26 -0700 (PDT) Date: Mon, 26 May 2003 11:01:26 -0700 (PDT) Message-Id: <200305261801.h4QI1QpG007925@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: java@FreeBSD.org Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 18:01:27 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- o [2002/02/25] java/35320 java linux-jdk-1.4 JVM fails when running Tomc 1 problem total. Non-critical problems From owner-freebsd-java@FreeBSD.ORG Mon May 26 12:14:48 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A64D237B401 for ; Mon, 26 May 2003 12:14:48 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id CAF3B43F85 for ; Mon, 26 May 2003 12:14:45 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h4QLNsS8091509; Mon, 26 May 2003 21:23:55 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h4QJLg6X089728; Mon, 26 May 2003 22:21:42 +0300 (EEST) (envelope-from ml) Date: Mon, 26 May 2003 22:21:42 +0300 From: Alexey Zelkin To: ticso@cicely.de Message-ID: <20030526222142.A89689@phantom.cris.net> References: <20030526153641.GC55219@cicely12.cicely.de> <16082.16392.155803.403138@emerger.yogotech.com> <20030526165016.GB66136@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20030526165016.GB66136@cicely12.cicely.de>; from ticso@cicely12.cicely.de on Mon, May 26, 2003 at 06:50:17PM +0200 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: Nate Williams cc: freebsd-java@freebsd.org Subject: Re: jdk on alpha X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 19:14:48 -0000 Sorry to say, but I doubt that you'll be able to even compile (someday) jdk14 on alpha. Unlike jdk13 it does not have classic VM implementation and it means that first pre-requisite of new platform port is MD implementation for cpu/ part. Unfortunatelly I doubt that I, you or somebody will be able to port it to alpha (since this is mostly "do it from scratch" task) without significant time investments and not being Sun employee. Since Sun provides HotSpot's CPU implementations for 'i386', 'sparc' and 'ia64' platforms only -- there're some chances that someday these will be supported by FreeBSD, but nothing more. PS: I am speaking about HotSpot Java World only. On Mon, May 26, 2003 at 06:50:17PM +0200, Bernd Walter wrote: > On Mon, May 26, 2003 at 10:25:44AM -0600, Nate Williams wrote: > > > What are the outstanding issues? > > > > > > I've read on http://kjkoster.org/java/content/newarch.jsp that > > > invokeNative_alpha.s needs to be done. > > > Is this still true? > > > > Yes. > > OK - that needs to be done. Keep in mind -- it's for classic VM only (i.e. no JIT and 1.3 only). [..] From owner-freebsd-java@FreeBSD.ORG Mon May 26 13:46:18 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3143C37B401 for ; Mon, 26 May 2003 13:46:18 -0700 (PDT) Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20B4E43FAF for ; Mon, 26 May 2003 13:46:17 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from emerger.yogotech.com (emerger.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3p2/8.9.3) with ESMTP id OAA10057; Mon, 26 May 2003 14:46:15 -0600 (MDT) (envelope-from nate@yogotech.com) Received: (from nate@localhost) by emerger.yogotech.com (8.12.9/8.12.8) id h4QKkEdr045807; Mon, 26 May 2003 14:46:14 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16082.32022.793458.209912@emerger.yogotech.com> Date: Mon, 26 May 2003 14:46:14 -0600 To: ticso@cicely.de In-Reply-To: <20030526165016.GB66136@cicely12.cicely.de> References: <20030526153641.GC55219@cicely12.cicely.de> <16082.16392.155803.403138@emerger.yogotech.com> <20030526165016.GB66136@cicely12.cicely.de> X-Mailer: VM 7.07 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid cc: Nate Williams cc: freebsd-java@freebsd.org Subject: Re: jdk on alpha X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nate Williams List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 20:46:18 -0000 > > > What are the outstanding issues? > > > > > > I've read on http://kjkoster.org/java/content/newarch.jsp that > > > invokeNative_alpha.s needs to be done. > > > Is this still true? > > > > Yes. > > OK - that needs to be done. > > > > What is the best jdk version to start with? > > > > The only one available, which is the one released by DEC (prior to being > > Compaq, which happened prior to HPC) for Linux. > > > > > I've also read on that page that we need a working jdk to bootstrap > > > with an example on how to do this with help from another machine. > > > > No need, since the Linux native one works. > > Is it recent enough to build jdk14? Ahh, nope. > Otherwise I would prefer to go the i386 cross build way. > It's problematic in respect to ports, but from what I've heard > installaing the DEC binary is also manual work. Last I remember it was pretty easy. However, it's an older JDK, so yes, there will be issue. > > > Are there any ideas on how to handle this from ports? > > > E.g. can we distribute a native bootstrap jdk binary like it's done > > > for modula? > > > > No. However, in my opinion using the JVM, it's really a non-issue, > > Bad news, but I'd already expected this. > > > unless you're doing it for research purposes. My 486/66 box with 16MB > > of memory blows the doors off my 500Mhz Alpha with 256MB of memory. > > Java on the alpha is slow, piggy, and basically useless. > > Well - I can't argue on that, but having at least a runable java is > required today in many cases - even in simple one such as web browsing. Again, it's *SO SLOW* as to be complete unusable. Again, my 486/66 blows the doors off of the Alpha. Rendering a page on an Alpha using Java is simply way too slow and resource hungry. Nate From owner-freebsd-java@FreeBSD.ORG Mon May 26 14:23:24 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED16C37B401 for ; Mon, 26 May 2003 14:23:24 -0700 (PDT) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99CB043F3F for ; Mon, 26 May 2003 14:23:23 -0700 (PDT) (envelope-from ticso@cicely12.cicely.de) Received: from cicely5.cicely.de (cicely5.cicely.de [IPv6:3ffe:400:8d0:301:200:92ff:fe9b:20e7]) by srv1.cosmo-project.de (8.12.9/8.12.9) with ESMTP id h4QLN7rN027845 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Mon, 26 May 2003 23:23:18 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (cicely12.cicely.de [IPv6:3ffe:400:8d0:301::12]) by cicely5.cicely.de (8.12.9/8.12.9) with ESMTP id h4QLN3Os062326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 26 May 2003 23:23:03 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: from cicely12.cicely.de (localhost [127.0.0.1]) by cicely12.cicely.de (8.12.9/8.12.9) with ESMTP id h4QLN3Mh096145; Mon, 26 May 2003 23:23:03 +0200 (CEST) (envelope-from ticso@cicely12.cicely.de) Received: (from ticso@localhost) by cicely12.cicely.de (8.12.9/8.12.9/Submit) id h4QLN3td096144; Mon, 26 May 2003 23:23:03 +0200 (CEST) Date: Mon, 26 May 2003 23:23:03 +0200 From: Bernd Walter To: Alexey Zelkin , Nate Williams Message-ID: <20030526212302.GE66136@cicely12.cicely.de> References: <20030526153641.GC55219@cicely12.cicely.de> <16082.16392.155803.403138@emerger.yogotech.com> <20030526165016.GB66136@cicely12.cicely.de> <16082.32022.793458.209912@emerger.yogotech.com> <20030526153641.GC55219@cicely12.cicely.de> <16082.16392.155803.403138@emerger.yogotech.com> <20030526165016.GB66136@cicely12.cicely.de> <20030526222142.A89689@phantom.cris.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16082.32022.793458.209912@emerger.yogotech.com> <20030526222142.A89689@phantom.cris.net> X-Operating-System: FreeBSD cicely12.cicely.de 5.1-BETA alpha User-Agent: Mutt/1.5.4i cc: ticso@cicely.de cc: freebsd-java@freebsd.org Subject: Re: jdk on alpha X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ticso@cicely.de List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 21:23:25 -0000 On Mon, May 26, 2003 at 10:21:42PM +0300, Alexey Zelkin wrote: > On Mon, May 26, 2003 at 06:50:17PM +0200, Bernd Walter wrote: > > On Mon, May 26, 2003 at 10:25:44AM -0600, Nate Williams wrote: > > > > What are the outstanding issues? > > > > > > > > I've read on http://kjkoster.org/java/content/newarch.jsp that > > > > invokeNative_alpha.s needs to be done. > > > > Is this still true? > > > > > > Yes. > > > > OK - that needs to be done. > > Keep in mind -- it's for classic VM only (i.e. no JIT and 1.3 only). Thanks for clarification. So I will have to start with jdk13. On Mon, May 26, 2003 at 02:46:14PM -0600, Nate Williams wrote: > > > unless you're doing it for research purposes. My 486/66 box with 16MB > > > of memory blows the doors off my 500Mhz Alpha with 256MB of memory. > > > Java on the alpha is slow, piggy, and basically useless. > > > > Well - I can't argue on that, but having at least a runable java is > > required today in many cases - even in simple one such as web browsing. > > Again, it's *SO SLOW* as to be complete unusable. Again, my 486/66 > blows the doors off of the Alpha. Rendering a page on an Alpha using > Java is simply way too slow and resource hungry. I will see. -- B.Walter BWCT http://www.bwct.de ticso@bwct.de info@bwct.de From owner-freebsd-java@FreeBSD.ORG Mon May 26 21:26:56 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0F5E37B401 for ; Mon, 26 May 2003 21:26:56 -0700 (PDT) Received: from yello.shallow.net (yello.shallow.net [203.18.243.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F45343F3F for ; Mon, 26 May 2003 21:26:56 -0700 (PDT) (envelope-from joshua@shallow.net) Received: by yello.shallow.net (Postfix, from userid 1001) id E367A2A15; Tue, 27 May 2003 14:26:54 +1000 (EST) Date: Tue, 27 May 2003 14:26:54 +1000 From: Joshua Goodall To: Marc van Kempen Message-ID: <20030527042654.GB538@roughtrade.net> References: <3ED20627.6090308@die.supsi.ch> <3ED21473.9020506@bowtie.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3ED21473.9020506@bowtie.nl> User-Agent: Mutt/1.5.3i cc: freebsd-java@freebsd.org Subject: Re: tomcat on port 80 as user www:ww X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 04:26:57 -0000 On Mon, May 26, 2003 at 03:19:47PM +0200, Marc van Kempen wrote: > Just run a port forwarder from 80 (ipfw can do it too) to 8080 (or > whereever Tomcat lives). That way you don't have to trust it at all. worked example: let's say Tomcat is running on 127.0.0.1:8080 and your outside IP is 192.0.34.166, then # ipfw add fwd 127.0.0.1,8080 tcp from any to 192.0.34.166 80 should do the trick. You will need options IPFIREWALL options IPFIREWALL_FORWARD in your kernel config. J -- Joshua Goodall "tea makes itself" joshua@roughtrade.net - Ana Susanj From owner-freebsd-java@FreeBSD.ORG Tue May 27 01:05:42 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CD4137B401 for ; Tue, 27 May 2003 01:05:41 -0700 (PDT) Received: from mail.die.supsi.ch (mail.die.supsi.ch [193.5.153.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EB9143F93 for ; Tue, 27 May 2003 01:05:36 -0700 (PDT) (envelope-from nunnari@die.supsi.ch) Received: from die.supsi.ch (pcm2022.die.supsi.ch [193.5.152.22]) by mail.die.supsi.ch (8.11.6/8.11.6) with ESMTP id h4R85IU03448; Tue, 27 May 2003 10:05:18 +0200 Message-ID: <3ED31C3D.9040105@die.supsi.ch> Date: Tue, 27 May 2003 10:05:17 +0200 From: Roberto Nunnari User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joshua Goodall , Marc van Kempen References: <3ED20627.6090308@die.supsi.ch> <3ED21473.9020506@bowtie.nl> <20030527042654.GB538@roughtrade.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: tomcat on port 80 as user www:ww X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 08:05:42 -0000 Joshua and Marc, Thank you very much for your helpful hints. I'm now running tomcat as user www:www on port 8180 and accessing it through port 80! Great! Best regards. Joshua Goodall wrote: > On Mon, May 26, 2003 at 03:19:47PM +0200, Marc van Kempen wrote: > >>Just run a port forwarder from 80 (ipfw can do it too) to 8080 (or >>whereever Tomcat lives). That way you don't have to trust it at all. > > > worked example: let's say Tomcat is running on 127.0.0.1:8080 > and your outside IP is 192.0.34.166, then > > # ipfw add fwd 127.0.0.1,8080 tcp from any to 192.0.34.166 80 > > should do the trick. You will need > options IPFIREWALL > options IPFIREWALL_FORWARD > in your kernel config. > > J > -- Roberto Nunnari -software engineer- mailto:nunnari@die.supsi.ch Scuola Universitaria Professionale della Svizzera Italiana Dipartimento di Informatica e Elettronica http://www.die.supsi.ch SUPSI-DIE Via Cantonale tel: +41-91-6108561 6928 Manno """ fax: +41-91-6108570 Switzerland (o o) =======================oOO==(_)==OOo======================== From owner-freebsd-java@FreeBSD.ORG Tue May 27 03:39:25 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C58537B401 for ; Tue, 27 May 2003 03:39:25 -0700 (PDT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 60CB143F85 for ; Tue, 27 May 2003 03:39:23 -0700 (PDT) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (proxy.softlab.ece.ntua.gr [147.102.1.5]) by ulysses.noc.ntua.gr (8.11.6p2/8.11.6) with ESMTP id h4RAdLc99150 for ; Tue, 27 May 2003 13:39:21 +0300 (EEST) Received: from theseas.softlab.ece.ntua.gr (mantzios@localhost [127.0.0.1]) id h4RAdLCL007867 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Tue, 27 May 2003 13:39:21 +0300 Received: from localhost (mantzios@localhost)id h4RAdKnt007863 for ; Tue, 27 May 2003 13:39:21 +0300 X-Authentication-Warning: theseas.softlab.ece.ntua.gr: mantzios owned process doing -bs Date: Tue, 27 May 2003 13:39:20 +0300 (EEST) From: Mantzios Achilleus To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: -Xss question X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 10:39:25 -0000 On a 5.0-RELEASE-p7 I try to set java -Xss10M and i get freebsd# /usr/local/jdk1.4.1/bin/java -Xss10M -version Stack size of 10240 Kb exceeds current limit of 1024 Kb. (Stack sizes are rounded up to a multiple of the system page size.) See limit(1) to increase the stack size limit. my shell limits are: freebsd# limit cputime unlimited filesize unlimited datasize 524288 kbytes stacksize 65536 kbytes coredumpsize unlimited memoryuse unlimited vmemoryuse unlimited descriptors 5450 memorylocked unlimited maxproc 2725 sbsize unlimited freebsd# also my kern.usrstack: 3217031168 Anybody knows how to overcome this? ---------------------------------------------------------------- | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | ---------------------------------------------------------------- From owner-freebsd-java@FreeBSD.ORG Tue May 27 04:19:57 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0865B37B401 for ; Tue, 27 May 2003 04:19:57 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id C36A343F3F for ; Tue, 27 May 2003 04:19:52 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h4RDTGfV085782; Tue, 27 May 2003 13:29:19 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h4RBQsCI093384; Tue, 27 May 2003 14:26:54 +0300 (EEST) (envelope-from ml) Date: Tue, 27 May 2003 14:26:54 +0300 From: Alexey Zelkin To: Mantzios Achilleus Message-ID: <20030527142654.A93363@phantom.cris.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from mantzios@softlab.ece.ntua.gr on Tue, May 27, 2003 at 01:39:20PM +0300 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: freebsd-java@freebsd.org Subject: Re: -Xss question X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 11:19:57 -0000 For now most bigger number allowed for -Xss is 1020kb Scheduled to be fixed in next patchset. ps: Are you sure that you *really* want to set 10mb stack size for *each* java thread ? On Tue, May 27, 2003 at 01:39:20PM +0300, Mantzios Achilleus wrote: > On a 5.0-RELEASE-p7 I try to set > java -Xss10M and i get > > freebsd# /usr/local/jdk1.4.1/bin/java -Xss10M -version > Stack size of 10240 Kb exceeds current limit of 1024 Kb. > (Stack sizes are rounded up to a multiple of the system page size.) > See limit(1) to increase the stack size limit. > > my shell limits are: > freebsd# limit > cputime unlimited > filesize unlimited > datasize 524288 kbytes > stacksize 65536 kbytes > coredumpsize unlimited > memoryuse unlimited > vmemoryuse unlimited > descriptors 5450 > memorylocked unlimited > maxproc 2725 > sbsize unlimited > freebsd# > > also my kern.usrstack: 3217031168 > > Anybody knows how to overcome this? > ---------------------------------------------------------------- > | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | > ---------------------------------------------------------------- > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" From owner-freebsd-java@FreeBSD.ORG Tue May 27 07:21:46 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B8F9637B401 for ; Tue, 27 May 2003 07:21:46 -0700 (PDT) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [147.102.222.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D63643FAF for ; Tue, 27 May 2003 07:21:45 -0700 (PDT) (envelope-from mantzios@softlab.ece.ntua.gr) Received: from theseas.softlab.ece.ntua.gr (proxy.softlab.ece.ntua.gr [147.102.1.5]) by ulysses.noc.ntua.gr (8.11.6p2/8.11.6) with ESMTP id h4RELht25287; Tue, 27 May 2003 17:21:43 +0300 (EEST) Received: from theseas.softlab.ece.ntua.gr (mantzios@localhost [127.0.0.1]) id h4RDnECL020642 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 27 May 2003 16:49:14 +0300 Received: from localhost (mantzios@localhost)id h4RDnBOJ020633; Tue, 27 May 2003 16:49:13 +0300 X-Authentication-Warning: theseas.softlab.ece.ntua.gr: mantzios owned process doing -bs Date: Tue, 27 May 2003 16:49:11 +0300 (EEST) From: Mantzios Achilleus To: Alexey Zelkin In-Reply-To: <20030527142654.A93363@phantom.cris.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-java@freebsd.org Subject: Re: -Xss question X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 14:21:47 -0000 On Tue, 27 May 2003, Alexey Zelkin wrote: > For now most bigger number allowed for -Xss is 1020kb > > Scheduled to be fixed in next patchset. > > ps: Are you sure that you *really* want to set 10mb stack size for *each* > java thread ? Nope :) The thing is i was just trying to benchmark my jboss app against an identical linux setup. Thanx. > > On Tue, May 27, 2003 at 01:39:20PM +0300, Mantzios Achilleus wrote: > > On a 5.0-RELEASE-p7 I try to set > > java -Xss10M and i get > > > > freebsd# /usr/local/jdk1.4.1/bin/java -Xss10M -version > > Stack size of 10240 Kb exceeds current limit of 1024 Kb. > > (Stack sizes are rounded up to a multiple of the system page size.) > > See limit(1) to increase the stack size limit. > > > > my shell limits are: > > freebsd# limit > > cputime unlimited > > filesize unlimited > > datasize 524288 kbytes > > stacksize 65536 kbytes > > coredumpsize unlimited > > memoryuse unlimited > > vmemoryuse unlimited > > descriptors 5450 > > memorylocked unlimited > > maxproc 2725 > > sbsize unlimited > > freebsd# > > > > also my kern.usrstack: 3217031168 > > > > Anybody knows how to overcome this? > > ---------------------------------------------------------------- > > | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | > > ---------------------------------------------------------------- > > > > _______________________________________________ > > freebsd-java@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-java > > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > ---------------------------------------------------------------- | go to the source -> http://www.softlab.ece.ntua.gr/~mantzios | ---------------------------------------------------------------- From owner-freebsd-java@FreeBSD.ORG Tue May 27 12:19:05 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 240EF37B401 for ; Tue, 27 May 2003 12:19:05 -0700 (PDT) Received: from uni-freiburg.de (msb.ruf.uni-freiburg.de [132.230.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB8F743F75 for ; Tue, 27 May 2003 12:19:03 -0700 (PDT) (envelope-from roman.kennke@cognition.uni-freiburg.de) Received: from [217.187.89.11] (account ) by uni-freiburg.de (CommuniGate Pro WebUser 3.5.9) with HTTP id 19566395 for ; Tue, 27 May 2003 21:19:02 +0200 From: "Roman Kennke" To: freebsd-java@freebsd.org X-Mailer: CommuniGate Pro Web Mailer v.3.5.9 Date: Tue, 27 May 2003 21:19:02 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Subject: -server flag and native VM X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 19:19:05 -0000 Hi, I try to use the -server - flag with the native VM 1.3.1 and it only says: 'java was not found in ../bin/i386/native_threads/java' Obviously there is no file java in this directory. In the linux-sun - version of the 1.3.1 VM there are several files in this dir, including java. Is it not possible to use native threads in the native VM? Or do I have to invoke it in a different way? Roman From owner-freebsd-java@FreeBSD.ORG Tue May 27 13:50:57 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 878CB37B401 for ; Tue, 27 May 2003 13:50:57 -0700 (PDT) Received: from aromo.spock.cl (aromo.spock.cl [200.27.125.98]) by mx1.FreeBSD.org (Postfix) with ESMTP id 091B143FB1 for ; Tue, 27 May 2003 13:50:54 -0700 (PDT) (envelope-from roberto@spock.cl) Received: from spock.cl (multia.spock.cl [200.27.125.107]) by aromo.spock.cl (8.12.9/8.12.8) with ESMTP id h4RKosqd062354 for ; Tue, 27 May 2003 16:50:55 -0400 (CLT) Message-ID: <3ED3CFBE.5050805@spock.cl> Date: Tue, 27 May 2003 16:51:10 -0400 From: Roberto de Iriarte User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3) Gecko/20030418 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: jdk on alpha X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 May 2003 20:50:57 -0000 Two comments on the Java on alpha thing. a) Java is slow on the Alpha, with the current implementations (i.e Linux-Java for AXP) a 500 Mhz 21164 is about as fast as a 167 Mhz UltraSparc I. b) One could think about completing some work on an advanced JIT for the alpha based either on the kaffe JIT work or on the CACAO research project (see http://www.complang.tuwien.ac.at/java/cacao/) I emailed Andreas Krall a while ago, he can make the sources of his work availible, i recevied a copy of them but they would require a LOT of work to be made useful. Some personal thoughts on this subject. When i first became interested in the alpha platform some five years ago, it was not in the state of neglect that it is today. Back then, you could (with a thich enough wallet) purchase very interesting systems that had very little equal performance-wise (see, per example http://www.specbench.org/cpu95/results/res99q1/ , back then Alphas would outperform everything else in SpecINT by at least one third, and by a factor of two on SpecFP ...) Nowadays, i could not justify the purchase of a new alpha unless i had some application that cannot be ported to another platform. (Yes, i know old alphas are very nice machines of tremendous historical relevance, but the supply of newer used stock is getting scarce) BTW, i am no stranger to Alpha, i own a small collection: AS2100 4/200, AS2100A 5/375, AS1000 4/200, AS800, Digital Server 3305, Alphastation XP1000 6/500, Alphastation 250/4-300, Alphastation 200/4-166, and several Multias, just to show my appreciation of the architecture, and yet i am typing this on a PeeCee. IMHO, a project to develop a 64bit JVM that exploits the AMD64 platform would have a much brighter future. Even from this far (Chile) i have already placed an order for the building blocks to assembly such a system. (Yes, i know the amd64 port is not complete yet....) Comments? Regards, and thanks to all for the excellent work! Roberto de Iriarte Santiago, Chile From owner-freebsd-java@FreeBSD.ORG Tue May 27 17:41:03 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABE3437B401 for ; Tue, 27 May 2003 17:41:03 -0700 (PDT) Received: from titan.kgt.co.jp (titan.kgt.co.jp [210.141.246.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id E1DFF43FCB for ; Tue, 27 May 2003 17:41:02 -0700 (PDT) (envelope-from haro@kgt.co.jp) Received: from navgw.tt.kgt.co.jp (navgw [210.141.246.71]) by titan.kgt.co.jp (Postfix) with ESMTP id 5A6974A3CA; Wed, 28 May 2003 09:41:01 +0900 (JST) Received: from tt.kgt.co.jp (pegasus [192.168.10.1]) by navgw.tt.kgt.co.jp (Postfix) with ESMTP id 2B49847711; Wed, 28 May 2003 09:41:01 +0900 (JST) Received: from localhost [192.168.13.83] by tt.kgt.co.jp with ESMTP (SMTPD32-7.12) id A59D2B7007A; Wed, 28 May 2003 09:41:01 +0900 Date: Wed, 28 May 2003 09:40:50 +0900 (JST) Message-Id: <20030528.094050.74757549.haro@kgt.co.jp> To: roman.kennke@cognition.uni-freiburg.de From: Munehiro Matsuda In-Reply-To: References: X-Mailer: Mew version 2.2 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: -server flag and native VM X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 00:41:03 -0000 Hi, From: "Roman Kennke" Date: Tue, 27 May 2003 21:19:02 +0200 ::Hi, :: ::I try to use the -server - flag with the native VM 1.3.1 ::and it only says: 'java was not found in ::../bin/i386/native_threads/java' :: ::Obviously there is no file java in this directory. In the ::linux-sun - version of the 1.3.1 VM there are several files ::in this dir, including java. Is it not possible to use ::native threads in the native VM? Or do I have to invoke it ::in a different way? :: ::Roman To invoke native threads, you have to use -native option. Also, you need to have the jdk compiled/installed with WITH_NATIVE_THREADS option set. The -server option applies to HotSpot Server VM, which you have to set WITH_HOTSPOT flag when compiling/installing the jdk1.3.1 port. Hope this helps, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Network & Security Dept., Kubota Graphics Technologies Inc. /|\ |_| |_|_| 2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan Tel: +81-3-3225-0373 Fax: +81-3-3225-0740 Email: haro@kgt.co.jp From owner-freebsd-java@FreeBSD.ORG Tue May 27 22:51:43 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6ED2037B401 for ; Tue, 27 May 2003 22:51:43 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A78843F75 for ; Tue, 27 May 2003 22:51:42 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 19Ktqf-0005e0-05 for freebsd-java@freebsd.org; Tue, 27 May 2003 23:51:42 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 19Ktp4-00056A-05; Tue, 27 May 2003 23:50:03 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h4S5tKMP021605; Tue, 27 May 2003 23:55:23 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h4S5qPAK021588; Tue, 27 May 2003 23:52:25 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Tue, 27 May 2003 23:51:31 -0600 From: Greg Lewis To: ticso@cicely.de Message-ID: <20030528055131.GA21522@misty.eyesbeyond.com> References: <20030526153641.GC55219@cicely12.cicely.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030526153641.GC55219@cicely12.cicely.de> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.2 required=8.0 tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.54 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) cc: freebsd-java@freebsd.org Subject: Re: jdk on alpha X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 05:51:43 -0000 On Mon, May 26, 2003 at 05:36:41PM +0200, Bernd Walter wrote: > What are the outstanding issues? The main issue is to get invokeNative_alpha.s written. I'm also not sure how well the Alpha context switching code is tested, so there may be additional Alpha assembler clean up required there. After that there may well be additional endian/64 bit issues, but hopefully they will be minor. > I've read on http://kjkoster.org/java/content/newarch.jsp that > invokeNative_alpha.s needs to be done. > Is this still true? Very much so. > What is the best jdk version to start with? Probably 1.3 if you have a way of bootstrapping it. 1.4 is going to quite difficult as Alexey has indicated since you have to basically rewrite the MI part of the HotSpot VM for alpha. I can offer some advice in terms of bootstrapping and possibly patches if there is no 1.3 that will run under emulation on the Alpha. > I've also read on that page that we need a working jdk to bootstrap > with an example on how to do this with help from another machine. > Are there any ideas on how to handle this from ports? > E.g. can we distribute a native bootstrap jdk binary like it's done > for modula? Yes, we have legal approval to do this if the binary is compliant. FreeBSD/i386 is compliant, so FreeBSD/alpha should be able to be if someone (e.g., you :) is prepared to work on it. Note that I have an alpha ready and able to run the tests :). It sounds like you're very serious about this effort, in which case it may be beneficial for you (and the porting team) if you are able to work from the 1.3 repository rather than the current 1.3 patches. Please get in touch with me if you're interested in repository access for this project. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Wed May 28 08:43:56 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 512BD37B404 for ; Wed, 28 May 2003 08:43:56 -0700 (PDT) Received: from smtp.web.de (smtp01.web.de [217.72.192.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6481643FBD for ; Wed, 28 May 2003 08:43:55 -0700 (PDT) (envelope-from g.w.k@web.de) Received: from [213.148.149.130] (helo=hunter.muc.mscsoftware.com) by smtp.web.de with asmtp (TLSv1:RC4-MD5:128) (WEB.DE 4.98 #218) id 19L35l-00061h-00 for freebsd-java@freebsd.org; Wed, 28 May 2003 17:43:54 +0200 From: "Georg-W. Koltermann" To: freebsd-java@freebsd.org Content-Type: text/plain Organization: Message-Id: <1054136629.815.20.camel@hunter.muc.mscsoftware.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.4 Date: 28 May 2003 17:43:49 +0200 Content-Transfer-Encoding: 7bit Sender: g.w.k@web.de Subject: JOB POSTING: Seeking experienced JAVA enterprise developer for Munich, Germany X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 15:43:56 -0000 Hi, we are looking for a senior JAVA developer for creating an engineering data management application. The person should be fluent with server-side Java technologies like Servlet, JSP (incl. Struts, Velocity, JSTL), EJB, XML. Also required is a knowledge of UML and J2EE design patterns. The employer is NOT a startup, it's a major worldwide supplier of engineering simulation software. The position is for Munich, Germany, and is available immediately. Send me an email if you are interested. -- Regards, Georg. -- Georg-W. Koltermann From owner-freebsd-java@FreeBSD.ORG Wed May 28 11:16:41 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8DED37B401 for ; Wed, 28 May 2003 11:16:41 -0700 (PDT) Received: from l07.oase.research.kpn.com (l07.oase.research.kpn.com [139.63.192.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7B3043F85 for ; Wed, 28 May 2003 11:16:39 -0700 (PDT) (envelope-from k.j.koster@telecom.tno.nl) content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Wed, 28 May 2003 20:16:38 +0200 Message-ID: <0DD8055E0FECF744B5FF8053F80C4A2D7379D2@l07.oase.research.kpn.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: jdk on alpha Thread-Index: AcMk3UjGt94fiuZoQQ+zKZOBNwb5JwAZ3CnQ From: To: , cc: freebsd-java@freebsd.org Subject: RE: jdk on alpha X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 May 2003 18:16:42 -0000 Dear All, >=20 > > What is the best jdk version to start with? >=20 > Probably 1.3 if you have a way of bootstrapping it. 1.4 is=20 > going to quite > difficult as Alexey has indicated since you have to basically rewrite > the MI part of the HotSpot VM for alpha. >=20 > I can offer some advice in terms of bootstrapping and possibly patches > if there is no 1.3 that will run under emulation on the Alpha. > My site describes how to use an NFS mount and rsh(1) to bootstrap the = build using a regular x86 PC. Basically you forward all calls to the = bootstrap JDK to another machine using rsh(1). I have the scripts up for = download. Kees Jan =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D You can't have everything. Where would you put it? [Steven Wright] From owner-freebsd-java@FreeBSD.ORG Thu May 29 08:45:14 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C6F037B401 for ; Thu, 29 May 2003 08:45:14 -0700 (PDT) Received: from galilee.polands.org (CPE-24-208-57-240.new.rr.com [24.208.57.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id E25C443FAF for ; Thu, 29 May 2003 08:45:12 -0700 (PDT) (envelope-from doug@polands.org) Received: from email.polands.org (samaria.polands.org [172.16.1.17]) by galilee.polands.org (8.12.9/8.12.9) with SMTP id h4TFsFNP058233 for ; Thu, 29 May 2003 10:54:15 -0500 (CDT) (envelope-from doug@polands.org) Received: from 63.104.35.130 (proxying for 164.5.45.79) (SquirrelMail authenticated user djp) by email.polands.org with HTTP; Thu, 29 May 2003 10:45:11 -0500 (CDT) Message-ID: <27797.63.104.35.130.1054223111.squirrel@email.polands.org> Date: Thu, 29 May 2003 10:45:11 -0500 (CDT) From: "Doug Poland" To: freebsd-java@freebsd.org User-Agent: SquirrelMail/1.4.0 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Priority: 3 Importance: Normal Subject: Yet another problem building /usr/ports/java/jdk14 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 15:45:14 -0000 Hi, I had to remove a working JDK1.4 from a 4-STABLE machine and am now having problems re-building from the port. Here's a snip from the build.... Compiling /usr/ports/java/jdk14/work/hotspot/src/share/vm/runtime/functionAtEnd.cpp echo Linking vm... ; \ g++ -shared -mimpure-text -z noversion -o libjvm_g.so functionAtStart.o accessFlags.o ad_i486.o ad_i486_clone.o ... snip... vtune_bsd.o workgroup.o functionAtEnd.o -lm -lc_r Linking vm... trainGeneration.o: could not read symbols: Input/output error gmake[3]: *** [libjvm_g.so] Error 1 gmake[3]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[2]: *** [the_vm] Error 2 gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp/bsd_i486_compiler2/jvmg' gmake[1]: *** [jvmg] Error 2 gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/control/build/bsd-i586/hotspot-i586/tmp' gmake: *** [jvmg] Error 2 *** Error code 2 Stop in /usr/ports/java/jdk14. I've run make clean and tried to build twice with the same result. CVSup'd a day or two ago. Any clues? -- Regards, Doug From owner-freebsd-java@FreeBSD.ORG Thu May 29 10:53:22 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5561537B405 for ; Thu, 29 May 2003 10:53:22 -0700 (PDT) Received: from mgr5.xmission.com (mgr5.xmission.com [198.60.22.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC38A43FB1 for ; Thu, 29 May 2003 10:53:20 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr5.xmission.com with spam-scanned (Exim 3.35 #1) id 19LRaa-0008VQ-05 for freebsd-java@freebsd.org; Thu, 29 May 2003 11:53:20 -0600 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr5.xmission.com with esmtp (Exim 3.35 #1) id 19LRaW-0008Tw-05; Thu, 29 May 2003 11:53:17 -0600 Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.12.9/8.12.9) with ESMTP id h4THweMP031248; Thu, 29 May 2003 11:58:40 -0600 (MDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.12.9/8.12.9/Submit) id h4THwbi6031247; Thu, 29 May 2003 11:58:37 -0600 (MDT) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 29 May 2003 11:58:37 -0600 From: Greg Lewis To: Herve Quiroz Message-ID: <20030529175837.GA31122@misty.eyesbeyond.com> References: <20030514.125107.74756915.haro@kgt.co.jp> <20030520181421.GB28600@misty.eyesbeyond.com> <20030523072854.GA61661@misty.eyesbeyond.com> <20030523140852.H81713@puget.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030523140852.H81713@puget.esil.univ-mrs.fr> User-Agent: Mutt/1.4.1i X-Spam-Status: No, hits=-9.2 required=8.0 tests=BAYES_10,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_MUTT,X_AUTH_WARNING version=2.54 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.54 (1.174.2.17-2003-05-11-exp) cc: freebsd-java@freebsd.org Subject: Re: bsd.java.mk 2.0 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2003 17:53:22 -0000 On Fri, May 23, 2003 at 02:31:29PM +0200, Herve Quiroz wrote: > Hi Greg, > > On Fri, 23 May 2003, Greg Lewis wrote: > > > > > This may need extending to cope with ports that need a JDK at run time > > > > (any examples?). > > > > > > devel/jakarta-ant ? > > > > Good call. How about: > > > > USE_JAVA = [ BUILD-RUN ] > > > > Where BUILD and RUN may take the values jdk or jre. I think this should > > be clear, but the BUILD portion adds a build depends and the RUN portion > > adds a run depends. The most common case will be jdk-jre, meaning the > > port requires the JDK to build but only the jre to run. > > > > This kinda feels a little clunky, so as an alternative maybe: > > > > USE_JAVA = yes > > JAVA_BUILD = jdk > > JAVA_RUN = jre > > > > Comments? > > At first, I would have said I prefer the second. But I don't know really. > Maybe with an example I can figure what you mean exactly. Tell me f I > understand correctly: > > For most of the ports (libs): > USE_JAVA= BUILD=jdk RUN=jre If the two variants I proposed this would be done as: USE_JAVA = jdk-jre or USE_JAVA = yes JAVA_BUILD = jdk JAVA_RUN = jre > Which means build dependency for the chosen JDK and run dependency for the > chosen JRE > > For devel/jakarta-ant: > USE_JAVA= RUN=JDK USE_JAVA = -jdk (no build required) or USE_JAVA = yes JAVA_RUN = jdk This example makes me want to choose the second version :). > Which means it builds without anything (JDK related I mean) as ant is > "install only" and need a JDK to run. > [snip] > > > I think we've got something here: use space separated preferences (in the > > > right order) for all JDK/JRE properties. So no more "+" (e.g. "1.3+") but > > > instead an explicit list of versions... > > > > I like the space separation :). However, I think the "+" sign is still > > useful as a short hand for 1.x 1.y ... 1.current. It also means we don't > > have to do a sweep when a new Java version comes out and add (for example) > > 1.5 to the list. I think for maximum flexibility and to preserve the > > usefulness of the "+" we should allow both a "+" and a space separated > > list. If the version is written with a "+" it must be the only version, > > i.e. you can't have "1.1 1.3+" as a list. > > That's a good point. The "+" is still greatly needed. And may be overriden > by the bsd.java.mk: > > .if ${USE_JAVA_VERSION} == "1.3+" > USE_JAVA_VERSION= 1.3 1.2 1.1 > .endif > > So we need to update only bsd.java.mk when a new version of Java comes > out. Yes, exactly. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org From owner-freebsd-java@FreeBSD.ORG Thu May 29 23:10:46 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 795F737B401 for ; Thu, 29 May 2003 23:10:46 -0700 (PDT) Received: from zmamail04.zma.compaq.com (mailout.zma.compaq.com [161.114.64.104]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6970B43F75 for ; Thu, 29 May 2003 23:10:44 -0700 (PDT) (envelope-from tommy.yan@hp.com) Received: from sgpexg11.asiapacific.cpqcorp.net (sgpexg11.asiapacific.cpqcorp.net [16.149.1.7]) by zmamail04.zma.compaq.com (Postfix) with ESMTP id 41884BA13 for ; Fri, 30 May 2003 02:10:42 -0400 (EDT) Received: from cnbexc02.asiapacific.cpqcorp.net ([15.105.187.21]) by sgpexg11.asiapacific.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966); Fri, 30 May 2003 14:09:57 +0800 content-class: urn:content-classes:message MIME-Version: 1.0 X-MimeOLE: Produced By Microsoft Exchange V6.0.6375.0 Date: Fri, 30 May 2003 14:06:52 +0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JDK error 11 on Itanium2 hpux Thread-Index: AcMj/MEd2z8YqeIFSvO1K95fxWdqSAAAKc1gAGMQ/6AAB3kI8AAFIZogAC1RpyA= From: "Yan, Tommy" To: X-OriginalArrivalTime: 30 May 2003 06:09:58.0020 (UTC) FILETIME=[18C50C40:01C32672] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: JDK error 11 on Itanium2 hpux X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2003 06:10:46 -0000 Hi, Anybody can help me on the following case? =20 Thanks&Regards. Tommy The log file below indicated contains the same message as printed by NC, the J2EE middleware by UFSoft. =20 I 'd like to repeat my environment: Middleware: HP Itanium2 rx2600, hpux11iv1.6, UFSoft NC, JDK1.3.9. Database: HP Itanium2 rx5670, hpux11iv1.6, Oracle 9i R2 When this error occurs, the system was busy handling hundreds of clients(RTE) requesting, From swapinfo, vmstat, sar and netstat I can say only the CPU usage of rx2600 and network traffic remain high, other resources seems normal. =20 =20 The First Time this error occur:=20 2003-05-29 05:20:54 - Ctx( /nc ): IOException in: R( /nc + /servlet/nc.servlet.call.ServletRpcCall + null) No es un caracter ISO 8859_1:pipe 2003-05-29 05:20:54 - Ctx( /nc ): IOException in: R( /nc + /servlet/nc.servlet.call.ServletRpcCall + null) No es un caracter ISO 8859_1:pipe An irrecoverable RSE stack overflow has occurred. Unhandled signal occurred at 0x200000007cdb54b1 SIGSEGV 11* segmentation violation si_signo [11]: SIGSEGV 11* segmentation violation si_errno [0]: error 0 si_code [1]: SEGV_MAPERR [addr: 0x41ff0028] =20 =20 Aborting... =20 Unexpected Signal : 11 occurred at PC=3D0x7cdb54b1 Function name=3DexpandCapacity (compiled Java code) Library=3D(N/A) =20 Current Java thread: "Thread-51" prio=3D2 tid=3D0x00aab6b0 nid=3D77 lwp_id=3D3640 runnable [0x00000000..0x42071df0] =20 Dynamic libraries: /opt/java1.3/bin/../bin/IA64/native_threads/java text:0x00001000-0x0000e470 data:0x0000f000-0x0000f4f0 /usr/lib/hpux32/libsin.so.1 text:0xc127d000-0xc1280240 data:0x7eff3000-0x7eff31b8 /usr/lib/hpux32/libpthread.so.1 text:0xc0072000-0xc012e960 data:0x7eff0000-0x7eff2260 /opt/java1.3/bin/../jre/lib/IA64/server/libjvm.so text:0xc2ced000-0xc394ac70 data:0x7edf2000-0x7efefa30 /usr/lib/hpux32/libdl.so.1 text:0xc0396000-0xc039ca60 data:0x7eddb000-0x7eddb188 /usr/lib/hpux32/libc.so.1 text:0xc012f000-0xc0395cf0 data:0x7edc7000-0x7edda428 /usr/lib/hpux32/libm.so.1 text:0xc04cc000-0xc05cce90 data:0x7edc4000-0x7edc48b8 /usr/lib/hpux32/librt.so.1 text:0xc2031000-0xc2036a90 data:0x7edc1000-0x7edc1190 /usr/lib/hpux32/libuca.so.1 text:0xc2018000-0xc201d050 data:0x7edc0000-0x7edc0150 /usr/lib/hpux32/libstd.so.1 text:0xc1f08000-0xc1f51510 data:0x7edbe000-0x7edbf940 /usr/lib/hpux32/libstream.so.1 text:0xc1f52000-0xc1f91440 data:0x7edb8000-0x7edbb138 /usr/lib/hpux32/libunwind.so.1 text:0xc1fe5000-0xc2017fd0 data:0x7edb7000-0x7edb7ea0 /usr/lib/hpux32/libcl.so.1 text:0xc1796000-0xc1796304 data:0x7edb4000-0x7edb4050 /usr/lib/hpux32/libCsup.so.1 text:0xc1f92000-0xc1fe4e60 data:0x7edac000-0x7edb3318 /usr/lib/hpux32/libIO77.so.1 text:0xc394b000-0xc39f1990 data:0x7eda1000-0x7edab0f8 /opt/java1.3/jre/lib/IA64/native_threads/libhpi.so text:0xc2c65000-0xc2c810a0 data:0x7ed93000-0x7ed94800 /opt/java1.3/jre/lib/IA64/libverify.so text:0xc2c82000-0xc2ca1080 data:0x7ed4f000-0x7ed4ffe0 /opt/java1.3/jre/lib/IA64/libjava.so text:0xc39f2000-0xc3a3a040 data:0x7ed48000-0x7ed4c2c0 /opt/java1.3/jre/lib/IA64/libzip.so text:0xc2ca2000-0xc2cd1100 data:0x7ed44000-0x7ed457c8 /usr/lib/nls/loc/hpux32/locales.1/zh_CN.hp15CN text:0xc06bc000-0xc06bd660 data:0x46651000-0x46774ff0 /usr/lib/nls/loc/hpux32/methods.1/libhp15CN.so text:0xc06be000-0xc06c0d30 data:0x46650000-0x466502e0 /opt/java1.3/jre/lib/IA64/libnet.so text:0xc4a55000-0xc4a68c90 data:0x45bc7000-0x45bc7f60 /usr/lib/hpux32/libnss_nis.so.1 text:0xc039d000-0xc03aad60 data:0x45bc6000-0x45bc6940 /usr/lib/hpux32/libnsl.so.1 text:0xc03de000-0xc04cb700 data:0x45bb6000-0x45bc3070 /usr/lib/hpux32/libxti.so.1 text:0xc05cd000-0xc05f80a0 data:0x45bb3000-0x45bb53c8 /usr/lib/hpux32/libnss_files.so.1 text:0xc05f9000-0xc0609e60 data:0x45bb0000-0x45bb0728 /usr/lib/hpux32/libnss_dns.so.1 text:0xc078e000-0xc079b0c0 data:0x45bad000-0x45bae000 /opt/java1.3/jre/lib/IA64/libioser12.so text:0xc25b2000-0xc25b8830 data:0x43e8f000-0x43e8f0b8 =20 Local Time =3D Thu May 29 17:20:54 2003 Elapsed Time =3D 898 # # HotSpot Virtual Machine Error : 11 # Please report this error to HP customer support. # # Java VM: Java HotSpot(TM) Server VM (1.3.1 1.3.1.09-_18_apr_2003_15_19 IA64 mixed mode) # # An error report file has been saved as hs_err_pid2991.log. # Please refer to the file for further information. =20 =20 The second Time this error occur:=20 =09 ------------------------------------------------------------------------ ------ REFSQL:select abstrcode,abstrname,pk_comabstr from bd_comabstr where ((pk_psndoc =3D'0001AA10000000004QBZ' or is_public=3D'Y') and (groupid=3D'0001' or groupid=3D'1013') ) order by abstrcode =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Claiming Interval: 600000 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1054205972012 MergeSort! Unhandled signal occurred at 0xa2710 SIGSEGV 11* segmentation violation si_signo [11]: SIGSEGV 11* segmentation violation si_errno [0]: error 0 si_code [2]: SEGV_ACCERR [addr: 0x7c] =20 =20 Aborting... =20 Unexpected Signal : 11 occurred at PC=3D0xa2710 Function name=3D(N/A) Library=3D(N/A) =20 NOTE: We are unable to locate the function name symbol for the error just occurred. Please refer to release documentation for possible reason and solutions. =20 =20 =20 Current Java thread: "Thread-9" prio=3D10 tid=3D0x0084ab50 nid=3D25 lwp_id=3D1737 runnable [0x00000000..0x36de4df0] =20 Dynamic libraries: /opt/java1.3/bin/../bin/IA64/native_threads/java text:0x00001000-0x0000e470 data:0x0000f000-0x0000f4f0 /usr/lib/hpux32/libsin.so.1 text:0xc13ac000-0xc13af240 data:0x7eff3000-0x7eff31b8 /usr/lib/hpux32/libpthread.so.1 text:0xc0072000-0xc012e960 data:0x7eff0000-0x7eff2260 /opt/java1.3/bin/../jre/lib/IA64/server/libjvm.so text:0xc262f000-0xc328cc70 data:0x7edf2000-0x7efefa30 /usr/lib/hpux32/libdl.so.1 text:0xc0396000-0xc039ca60 data:0x7eddb000-0x7eddb188 /usr/lib/hpux32/libc.so.1 text:0xc012f000-0xc0395cf0 data:0x7edc7000-0x7edda428 /usr/lib/hpux32/libm.so.1 text:0xc03de000-0xc04dee90 data:0x7edc4000-0x7edc48b8 /usr/lib/hpux32/librt.so.1 text:0xc1e78000-0xc1e7da90 data:0x7edc1000-0x7edc1190 /usr/lib/hpux32/libuca.so.1 text:0xc334f000-0xc3354050 data:0x7edc0000-0x7edc0150 /usr/lib/hpux32/libstd.so.1 text:0xc3355000-0xc339e510 data:0x7edbe000-0x7edbf940 /usr/lib/hpux32/libstream.so.1 text:0xc339f000-0xc33de440 data:0x7edb8000-0x7edbb138 /usr/lib/hpux32/libunwind.so.1 text:0xc33df000-0xc3411fd0 data:0x7edb7000-0x7edb7ea0 /usr/lib/hpux32/libcl.so.1 text:0xc1d53000-0xc1d53304 data:0x7edb4000-0x7edb4050 /usr/lib/hpux32/libCsup.so.1 text:0xc3412000-0xc3464e60 data:0x7edac000-0x7edb3318 /usr/lib/hpux32/libIO77.so.1 text:0xc3465000-0xc350b990 data:0x7eda1000-0x7edab0f8 /opt/java1.3/jre/lib/IA64/native_threads/libhpi.so text:0xc203a000-0xc20560a0 data:0x7ed93000-0x7ed94800 /opt/java1.3/jre/lib/IA64/libverify.so text:0xc2073000-0xc2092080 data:0x7ed4f000-0x7ed4ffe0 /opt/java1.3/jre/lib/IA64/libjava.so text:0xc2093000-0xc20db040 data:0x7ed48000-0x7ed4c2c0 /opt/java1.3/jre/lib/IA64/libzip.so text:0xc20dc000-0xc210b100 data:0x7ed44000-0x7ed457c8 /usr/lib/nls/loc/hpux32/locales.1/zh_CN.hp15CN text:0xc06bc000-0xc06bd660 data:0x38596000-0x386b9ff0 /usr/lib/nls/loc/hpux32/methods.1/libhp15CN.so text:0xc06be000-0xc06c0d30 data:0x38595000-0x385952e0 /opt/java1.3/jre/lib/IA64/libnet.so text:0xc4ad3000-0xc4ae6c90 data:0x37b0c000-0x37b0cf60 /usr/lib/hpux32/libnss_nis.so.1 text:0xc03d0000-0xc03ddd60 data:0x37b0b000-0x37b0b940 /usr/lib/hpux32/libnsl.so.1 text:0xc04df000-0xc05cc700 data:0x37afb000-0x37b08070 /usr/lib/hpux32/libxti.so.1 text:0xc05cd000-0xc05f80a0 data:0x37af8000-0x37afa3c8 /usr/lib/hpux32/libnss_files.so.1 text:0xc05f9000-0xc0609e60 data:0x37af5000-0x37af5728 /usr/lib/hpux32/libnss_dns.so.1 text:0xc078e000-0xc079b0c0 data:0x37af2000-0x37af3000 /opt/java1.3/jre/lib/IA64/libioser12.so text:0xc195a000-0xc1960830 data:0x348bf000-0x348bf0b8 =20 Local Time =3D Thu May 29 18:59:32 2003 Elapsed Time =3D 204 # # HotSpot Virtual Machine Error : 11 # Please report this error to HP customer support. # # Java VM: Java HotSpot(TM) Server VM (1.3.1 1.3.1.09-_18_apr_2003_15_19 IA64 mixed mode) # # An error report file has been saved as hs_err_pid1486.log. # Please refer to the file for further information. # Errors when run on JDK1.4 =20 Unexpected Signal : 11 occurred at PC=3D0xC3875150 =09 Function=3D_ZN18ObjectSynchronizer7inflateEP7oopDesc =09 Library=3D/opt/java1.4/jre/lib/IA64N/server/libjvm.so =20 Current Java thread: "ClusterExchangMessageWorker" prio=3D7 tid=3D0x0005b680 nid=3D12 lwp_id=3D39279 runnable = [0x00000000..0x65abbdd0] =20 Dynamic libraries: /opt/java1.4/bin/IA64N/java text:0x00001000-0x00013640 data:0x00014000-0x00014660 /usr/lib/hpux32/libsin.so.1 text:0xc127c000-0xc127f240 data:0x7eff3000-0x7eff31b8 /usr/lib/hpux32/libpthread.so.1 text:0xc0072000-0xc012e960 data:0x7eff0000-0x7eff2260 /opt/java1.4/jre/lib/IA64N/server/libjvm.so text:0xc2c59000-0xc3b4e040 data:0x7edd3000-0x7efefd20 /usr/lib/hpux32/libdl.so.1 text:0xc0396000-0xc039ca60 data:0x7edb8000-0x7edb8188 /usr/lib/hpux32/libc.so.1 text:0xc012f000-0xc0395cf0 data:0x7eda4000-0x7edb7428 /usr/lib/hpux32/libm.so.1 text:0xc0509000-0xc0609e90 data:0x7eda1000-0x7eda18b8 /usr/lib/hpux32/librt.so.1 text:0xc3b4f000-0xc3b54a90 data:0x7eda0000-0x7eda0190 /usr/lib/hpux32/libuca.so.1 text:0xc1f2b000-0xc1f30050 data:0x7ed9d000-0x7ed9d150 /usr/lib/hpux32/libstd.so.1 text:0xc2067000-0xc20b0510 data:0x7ed9b000-0x7ed9c940 /usr/lib/hpux32/libstream.so.1 text:0xc20b1000-0xc20f0440 data:0x7ed97000-0x7ed9a138 /usr/lib/hpux32/libunwind.so.1 text:0xc2144000-0xc2176fd0 data:0x7ed94000-0x7ed94ea0 /usr/lib/hpux32/libcl.so.1 text:0xc1921000-0xc1921304 data:0x7ed93000-0x7ed93050 /usr/lib/hpux32/libCsup.so.1 text:0xc20f1000-0xc2143e60 data:0x7ed8b000-0x7ed92318 /usr/lib/hpux32/libIO77.so.1 text:0xc3b55000-0xc3bfb990 data:0x7ed7e000-0x7ed880f8 =09 /opt/java1.4/jre/lib/IA64N/native_threads/libhpi.so text:0xc3bfc000-0xc3c18050 data:0x7ed70000-0x7ed71810 /opt/java1.4/jre/lib/IA64N/libverify.so text:0xc3c19000-0xc3c37b20 data:0x7ed2b000-0x7ed2c0a0 /opt/java1.4/jre/lib/IA64N/libjava.so text:0xc3c38000-0xc3c83160 data:0x7ed26000-0x7ed2a318 /opt/java1.4/jre/lib/IA64N/libzip.so text:0xc3c84000-0xc3cb3190 data:0x7ed22000-0x7ed237d8 /usr/lib/nls/loc/hpux32/locales.1/zh_CN.hp15CN text:0xc06bc000-0xc06bd660 data:0x666e1000-0x66804ff0 /usr/lib/nls/loc/hpux32/methods.1/libhp15CN.so text:0xc06be000-0xc06c0d30 data:0x666e0000-0x666e02e0 /opt/java1.4/jre/lib/IA64N/libnet.so text:0xc5c4c000-0xc5c6d1c0 data:0x65bd8000-0x65bd86b0 /usr/lib/hpux32/libnm.so text:0xc5c6e000-0xc5c8d8e0 data:0x65bd7000-0x65bd7448 /usr/lib/hpux32/libnss_dns.so.1 text:0xc078e000-0xc079b0c0 data:0x65bd4000-0x65bd5000 /usr/lib/hpux32/libnss_nis.so.1 text:0xc039d000-0xc03aad60 data:0x65bd3000-0x65bd3940 /usr/lib/hpux32/libnsl.so.1 text:0xc03ab000-0xc0498700 data:0x65bc5000-0x65bd2070 /usr/lib/hpux32/libxti.so.1 text:0xc0499000-0xc04c40a0 data:0x65bc0000-0x65bc23c8 /usr/lib/hpux32/libnss_files.so.1 text:0xc04c5000-0xc04d5e60 data:0x65bbd000-0x65bbd728 /opt/java1.4/jre/lib/IA64N/libioser12.so text:0xc5c8e000-0xc5c94870 data:0x640a1000-0x640a10a8 =20 Local Time =3D Sun May 11 09:39:59 2003 Elapsed Time =3D 108482 # # HotSpot Virtual Machine Error : 11 # Please report this error to HP customer support. # # Java VM: Java HotSpot(TM) Server VM (1.4.1 1.4.1.01-030308-17:46-IA64N IA64 mixed mode) # =20 From owner-freebsd-java@FreeBSD.ORG Sat May 31 02:45:33 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C42A37B401 for ; Sat, 31 May 2003 02:45:33 -0700 (PDT) Received: from gddsn.org.cn (mail.gddsn.org.cn [210.21.6.33]) by mx1.FreeBSD.org (Postfix) with ESMTP id C159F43F85 for ; Sat, 31 May 2003 02:45:32 -0700 (PDT) (envelope-from huang@gddsn.org.cn) Received: from gddsn.org.cn (gw [210.21.6.34]) by gddsn.org.cn (Postfix) with ESMTP id 95E4438CB01; Sat, 31 May 2003 17:45:28 +0800 (CST) Message-ID: <3ED879B7.9070602@gddsn.org.cn> Date: Sat, 31 May 2003 17:45:27 +0800 From: Huang wen hui User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; zh-CN; rv:1.3) Gecko/20030424 X-Accept-Language: zh-cn, zh-tw, en-us MIME-Version: 1.0 To: java@freebsd.org, threads@freebsd.gddsn.org.cn Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: 7bit Subject: Native jdk1.4.1 with libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2003 09:45:33 -0000 hi, This is sample code that can crash Native jdk1.41 with libkse. It works with libthr or libc_r. Is this the problem of signal handling ? #java -version java version "1.4.1-p3" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-p3-root_07_mar_2003_10_47) Java HotSpot(TM) Client VM (build 1.4.1-p3-root_07_mar_2003_10_47, mixed mode) #java TestKSE Illegal instruction (core dumped) ----------------------------------------------------- public class TestKSE { private double[] sampData = null; public TestKSE(){ int len; try{ len = sampData.length; }catch(NullPointerException npe) { System.err.println("catch null"); } } public static void main(String[] args) { new TestKSE(); } } --hwh From owner-freebsd-java@FreeBSD.ORG Sat May 31 04:55:25 2003 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98CCD37B401 for ; Sat, 31 May 2003 04:55:25 -0700 (PDT) Received: from relay1.cris.net (relay1.cris.net [212.110.128.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A53D43FAF for ; Sat, 31 May 2003 04:55:22 -0700 (PDT) (envelope-from ml@phantom.cris.net) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by relay1.cris.net (8.12.6/8.12.6) with ESMTP id h4VEstIX027769; Sat, 31 May 2003 14:54:56 GMT Received: (from ml@localhost) by phantom.cris.net (8.12.6/8.12.2) id h4VC2OLV021781; Sat, 31 May 2003 15:02:24 +0300 (EEST) (envelope-from ml) Date: Sat, 31 May 2003 15:02:24 +0300 From: Alexey Zelkin To: Huang wen hui Message-ID: <20030531150224.A21751@phantom.cris.net> References: <3ED879B7.9070602@gddsn.org.cn> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3ED879B7.9070602@gddsn.org.cn>; from huang@gddsn.org.cn on Sat, May 31, 2003 at 05:45:27PM +0800 X-Operating-System: FreeBSD 4.7-STABLE i386 cc: java@freebsd.org cc: threads@freebsd.gddsn.org.cn Subject: Re: Native jdk1.4.1 with libkse X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2003 11:55:25 -0000 hi, Guys, jdk14-p3 is not guaranted to work with any threading library, but libc_r. On Sat, May 31, 2003 at 05:45:27PM +0800, Huang wen hui wrote: > hi, > This is sample code that can crash Native jdk1.41 with libkse. It > works with libthr or libc_r. Is this the problem of signal handling ? > > #java -version > java version "1.4.1-p3" > Java(TM) 2 Runtime Environment, Standard Edition (build > 1.4.1-p3-root_07_mar_2003_10_47) > Java HotSpot(TM) Client VM (build 1.4.1-p3-root_07_mar_2003_10_47, mixed > mode) > > #java TestKSE > Illegal instruction (core dumped) > > > > ----------------------------------------------------- > public class TestKSE { > private double[] sampData = null; > public TestKSE(){ > int len; > try{ > len = sampData.length; > }catch(NullPointerException npe) { > System.err.println("catch null"); > } > } > > public static void main(String[] args) { > new TestKSE(); > } > } > > --hwh > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"