From owner-freebsd-java Wed Jan 1 19:20:51 2003 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 6544737B401 for ; Wed, 1 Jan 2003 19:20:50 -0800 (PST) Received: from misery.sdf.com (misery.sdf.com [207.200.153.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D4EB43ED8 for ; Wed, 1 Jan 2003 19:20:49 -0800 (PST) (envelope-from tom@sdf.com) Received: from tom (helo=localhost) by misery.sdf.com with local-esmtp (Exim 2.12 #1) id 18TupV-0003tV-00 for freebsd-java@freebsd.org; Wed, 1 Jan 2003 18:11:29 -0800 Date: Wed, 1 Jan 2003 18:11:28 -0800 (PST) From: Tom Samplonius To: freebsd-java@freebsd.org Subject: which jdk? Message-ID: 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 I need a jdk 1.3 or better to run on FreeBSD 4.7-stable for Tomcat. Which jdk is currently the best bet? It seems that native-jdk1.3.1 is working ok, but Hotspot seems to be troublesome. On the linux side, it seems that linux emulator changes may cause trouble, and the kernel code may have to kludged. Is that still the case with more recent 4.7-stables? I don't see any notes about whether the linux jdk's can use Hotspot running with the linux emulator. I think it would be nice if the known working feature set (ex. native threads, Hotspot, JIT, etc. as appropriate for each jdk) of each jdk port could be included in the description. There are so many jdk ports, and it can be difficult to figure out which one will do what things. Tom To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 2 1: 1: 1 2003 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 1B0B437B401 for ; Thu, 2 Jan 2003 01:01:00 -0800 (PST) Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11B8E43E4A for ; Thu, 2 Jan 2003 01:00:49 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [211.74.5.229] (port=49196 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:3) id 18U1Db-000MJz-00 for freebsd-java@freebsd.org; Thu, 02 Jan 2003 17:00:47 +0800 Received: from leafy.idv.tw (localhost [127.0.0.1]) by leafy.idv.tw (8.12.6/8.12.6) with ESMTP id h0290ksU006075 for ; Thu, 2 Jan 2003 17:00:47 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.6/8.12.6/Submit) id h0290kJY006074 for freebsd-java@freebsd.org; Thu, 2 Jan 2003 17:00:46 +0800 (CST) Date: Thu, 2 Jan 2003 17:00:45 +0800 From: leafy To: freebsd-java@freebsd.org Subject: Hotspot build failed on -current Message-ID: <20030102090045.GA6046@leafy.idv.tw> Mail-Followup-To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.3i 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 Building Hotspot on -current gave me this error: In file included from /usr/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os _linux.cpp:49: /usr/include/machine/ansi.h:147: conflicting types for typedef union __mbstate_t __mbstate_t' /usr/include/sys/_types.h:87: previous declaration as typedef union __mbstate_t __mbstate_t' How can I resolve this? Jiawei YE -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu Jan 2 16:20:34 2003 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 8923B37B401 for ; Thu, 2 Jan 2003 16:20:33 -0800 (PST) Received: from omta01.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2029C43E4A for ; Thu, 2 Jan 2003 16:20:28 -0800 (PST) (envelope-from katmandu@volcanomail.com) Received: from sitemail.everyone.net (dsnat [216.200.145.62]) by omta01.mta.everyone.net (Postfix) with ESMTP id E6C2D1C3BE9 for ; Thu, 2 Jan 2003 16:20:27 -0800 (PST) Received: by sitemail.everyone.net (Postfix, from userid 99) id C173545A3; Thu, 2 Jan 2003 16:20:27 -0800 (PST) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Thu, 2 Jan 2003 16:20:27 -0800 (PST) From: Mike Stevens To: freebsd-java@freebsd.org Subject: mod_jk Reply-To: katmandu@volcanomail.com X-Originating-Ip: [192.156.198.62] Message-Id: <20030103002027.C173545A3@sitemail.everyone.net> 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 I'm wondering if anyone has been able to get mod_jk working under FreeBSD? I've been able to get it to compile under FreeBSD 4.6, 4.7 and 5.0 with Apache 1.3.26. It also compiles under FreeBSD 5.0 with Apache 2.0.43. However, it will not actually run under any of these combinations. I've downloaded the jakarta-tomcat-connectors-jk-1.2.2-src tarball and gone to the ./jk/native directory. I then did a ./configure --with-apxs=/usr/local/apache/bin/apxs followed by a gmake. Tomcat is not on this server, so I need to build it in this fashion. The problem in each of these combinations seems to have the same root cause: mod_jk can't find the workers.properties file. The following is the error message I get from BSD 4.7 and Apache 1.3.26: [error] Error while opening the workers, jk will not work [error] (2)No such file or directory: Error while opening the workers, jk will not work The workers file does indeed exist, despite the message to the contrary. Changing the JkWorkersFile directive to a non-existent file results in a different error message. The real problem seems to be where map_read_properties is called in mod_jk.c. The pointer to the worker file here seems to be NULL. Does anyone know how to fix this problem? Any help would be GREATLY appreciated (and possibly save me a Linux install). -- Mike _____________________________________________________________ Get your own FREE e-mail account at http://www.volcanomail.com _____________________________________________________________ Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jan 3 2:30:17 2003 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 8A95637B401 for ; Fri, 3 Jan 2003 02:30:15 -0800 (PST) Received: from eowyn.vianetworks.nl (eowyn.vianetworks.nl [212.61.25.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4406E43EB2 for ; Fri, 3 Jan 2003 02:30:14 -0800 (PST) (envelope-from joao@bowtie.nl) Received: from uucp.iae.nl (uucp.iae.nl [212.61.26.37]) by eowyn.vianetworks.nl (Postfix) with ESMTP id A709820FDC; Fri, 3 Jan 2003 11:30:12 +0100 (CET) Received: (from uucp@localhost) by uucp.iae.nl (8.9.1/8.9.1) with IAEhv.nl id LAA18871; Fri, 3 Jan 2003 11:30:07 +0100 (MET) Received: from hume.intra.bowtie.nl (hume.intra.bowtie.nl [192.168.4.13]) by bowtie.nl (8.11.1/8.11.1) with SMTP id h03AQDh78840; Fri, 3 Jan 2003 11:26:13 +0100 (CET) (envelope-from joao@bowtie.nl) Date: Fri, 3 Jan 2003 11:26:12 +0100 From: Joao Schim To: katmandu@volcanomail.com Cc: freebsd-java@freebsd.org Subject: Re: mod_jk Message-Id: <20030103112612.2e297ae1.joao@bowtie.nl> In-Reply-To: <20030103002027.C173545A3@sitemail.everyone.net> References: <20030103002027.C173545A3@sitemail.everyone.net> Organization: BowTie Technology BV X-Mailer: Sylpheed version 0.8.1 (GTK+ 1.2.10; i386-portbld-freebsd4.6) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Hey Mike, I have got no problems with it what so ever. However i am using mod_jk/1.2.1 Don't you need to fill in paths in your worker file pointing to tomcat's basedir like : workers.tomcat_home=/usr/local/jakarta-tomcat-4.0.4 I don't know what it would do if there's no jakarta-tomcat installed.. Anyway, it IS possible to use mod_jk with fbsd. (-stable that is, don't know about -current) Regards, Joao Schim On Thu, 2 Jan 2003 16:20:27 -0800 (PST) Mike Stevens wrote: > I'm wondering if anyone has been able to get mod_jk working under > FreeBSD? I've been able to get it to compile under FreeBSD 4.6, 4.7 > and 5.0 with Apache 1.3.26. It also compiles under FreeBSD 5.0 with > Apache 2.0.43. However, it will not actually run under any of these > combinations. > > I've downloaded the jakarta-tomcat-connectors-jk-1.2.2-src tarball and > gone to the ./jk/native directory. I then did a ./configure > --with-apxs=/usr/local/apache/bin/apxs followed by a gmake. Tomcat is > not on this server, so I need to build it in this fashion. > > The problem in each of these combinations seems to have the same root > cause: mod_jk can't find the workers.properties file. The following > is the error message I get from BSD 4.7 and Apache 1.3.26: > > [error] Error while opening the workers, jk will not work > [error] (2)No such file or directory: Error while opening the workers, > jk will not work > > The workers file does indeed exist, despite the message to the contrary. Changing the JkWorkersFile directive to a non-existent file results in a different error message. The real problem seems to be where map_read_properties is called in mod_jk.c. The pointer to the worker file here seems to be NULL. Does anyone know how to fix this problem? Any help would be GREATLY appreciated (and possibly save me a Linux install). > > -- > Mike > > _____________________________________________________________ > Get your own FREE e-mail account at http://www.volcanomail.com > > _____________________________________________________________ > Select your own custom email address for FREE! Get you@yourchoice.com w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri Jan 3 10:13: 2 2003 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 EB73137B405 for ; Fri, 3 Jan 2003 10:13:00 -0800 (PST) Received: from omta02.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9AEBB43ED1 for ; Fri, 3 Jan 2003 10:13:00 -0800 (PST) (envelope-from katmandu@volcanomail.com) Received: from sitemail.everyone.net (dsnat [216.200.145.62]) by omta02.mta.everyone.net (Postfix) with ESMTP id 10A851C38D2 for ; Fri, 3 Jan 2003 10:12:40 -0800 (PST) Received: by sitemail.everyone.net (Postfix, from userid 99) id 518574745; Fri, 3 Jan 2003 10:12:38 -0800 (PST) Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Fri, 3 Jan 2003 10:12:37 -0800 (PST) From: Mike Stevens To: freebsd-java@freebsd.org Subject: Re: mod_jk Reply-To: katmandu@volcanomail.com X-Originating-Ip: [192.156.198.62] Message-Id: <20030103181238.518574745@sitemail.everyone.net> 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 Thanks to all who replied to this question, both on and off the list. I=92= d like to keep the solution public so others can benefit from my experience= , strength, and hope (and pain). It seems that many others were able to ge= t mod_jk working with Tomcat on the same system. My problem is that I need= Tomcat 4.1 and Java 1.4..x. As far as I can tell, Java 1.4 is not quite r= eady for prime time on FreeBSD.=20 I am currently running Java 1.4 and Tomcat 4.1.12 on a separate Solaris ser= ver. I=92m then using mod_jk to bridge the Solaris Tomcat server and the F= reeBSD Apache server. It appears that the problem may be that my workers.p= roperties file has no entry for workers.tomcat_home or workers.java_home. Perhaps installing Java 1.3 and Tomcat on the FreeBSD Apache server would h= elp, even though I won=92t actually be talking to Tomcat on FreeBSD. Does = anyone have any thoughts on this idea, or am I shooting myself in the foot = by mixing Java versions? =20 _____________________________________________________________ Get your own FREE e-mail account at http://www.volcanomail.com _____________________________________________________________ Select your own custom email address for FREE! Get you@yourchoice.com w/No = Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=3Dtag To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 4 0:58:31 2003 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 DD82C37B401 for ; Sat, 4 Jan 2003 00:58:29 -0800 (PST) Received: from wspf1.us4.outblaze.com (205-158-62-146.outblaze.com [205.158.62.146]) by mx1.FreeBSD.org (Postfix) with SMTP id 3979643ED8 for ; Sat, 4 Jan 2003 00:58:29 -0800 (PST) (envelope-from ronp@outgun.com) Received: (qmail 26622 invoked from network); 3 Jan 2003 14:01:12 -0000 Received: from unknown (205.158.62.68) by 205-158-62-146.outblaze.com with QMQP; 3 Jan 2003 14:01:12 -0000 Received: (qmail 6043 invoked from network); 4 Jan 2003 08:58:28 -0000 Received: from unknown (HELO ws4-3.us4.outblaze.com) (205.158.62.52) by 205-158-62-153.outblaze.com with SMTP; 4 Jan 2003 08:58:28 -0000 Received: (qmail 4188 invoked by uid 1001); 4 Jan 2003 08:56:51 -0000 Message-ID: <20030104085650.4187.qmail@outgun.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [67.121.253.169] by ws4-3.us4.outblaze.com with http for ronp@outgun.com; Sat, 04 Jan 2003 16:56:50 +0800 From: "Ron Park" To: freebsd-java@freebsd.org Date: Sat, 04 Jan 2003 16:56:50 +0800 Subject: What else did I miss? (Build hotspot on 4.7 Stable) X-Originating-Ip: 67.121.253.169 X-Originating-Server: ws4-3.us4.outblaze.com 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 I'm working in the project that using a lot of servlet. Our prefered platform in FreeBSD. I myself has been using FreeBSD for a couple years. We first try tomcat with native JDK 1.3 with classic VM. But the performance is not up to what we want. We did try linux-sun-jdk1.3, but got some unexpected result. So, I just trying to build hotspot to see how it would perform. But run into some problem. I'm using 4.7 stable, with lastest port tree sync. My uname -a is FreeBSD bulldog.com 4.7-RELEASE FreeBSD 4.7-RELEASE #3: Sun Oct 20 03:55:45 PDT 2002 ronp@bulldog.com:/usr/obj/usr/src/sys/GENERIC i386 Here is my steps.. 1) Using ports/java/jdk13, make install native JDK 1.3 from port. The port is sync up to lastest, and I'm using patch7. The only thing I change here is to turn on WITH_NATIVE_THREAD=yes. I got the JDK install with native thread enable. I got the following when I run "java -native -version" java version "1.3.1-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-part-030102-13:40) Classic VM (build 1.3.1-p7-part-030102-13:40, native threads, nojit) freebsd-java@freebsd.org 2) O.K. now it's time to start off hotspot build. I use the source that already extract in port tree. So, I did export ALT_BOOTDIR=/usr/local/linux-jdk1.3.1 cd /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux and then gmake core compiler1 compiler2 And this is the error that I got.. -------------------------------------------------------------------------------- Compiling /shared/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/os/linux/vm/os_linux.cpp /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp: In function `jint thr_main()': /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp:106: ` pthread_main_np' undeclared (first use this function) /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp:106: (Each undeclared identifier is reported only once for each function it appears in.) gmake[2]: *** [os_linux.o] Error 1 -------------------------------------------------------------------------------------- I have checked libc_r and didn't find pthread_main_np. I look up the list, and saw some mention about a patch on libc_r that add pthread_main_np, but it does sound like for CURRENT branch more. I checked the lastest STABLE tree, and there is no pthread_main_np either. I guess it might not been backport to STABLE yet. However, I also saw a lot of posts that successfully build hotspot on 4.7 stable. My question is what else I need to do? Is there any other patchset I need to apply? Or??? --RP -- ____________________________________________________ Get your free email from http://www.outgun.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 4 1:11:26 2003 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 7B1E137B401 for ; Sat, 4 Jan 2003 01:11:24 -0800 (PST) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BC6E43EEC for ; Sat, 4 Jan 2003 01:11:24 -0800 (PST) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 8D873AC6E; Sat, 4 Jan 2003 01:11:20 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 8B541AC67; Sat, 4 Jan 2003 01:11:20 -0800 (PST) Date: Sat, 4 Jan 2003 01:11:20 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: Ron Park Cc: freebsd-java@freebsd.org Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) In-Reply-To: <20030104085650.4187.qmail@outgun.com> Message-ID: <20030104011004.Q30835-100000@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula 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 You need to cvsup to get the MFCed stuff to libc_r; then at the very least you need to rebuild libc_r and install the newer include/pthread*.h files. Nick On Sat, 4 Jan 2003, Ron Park wrote: > I'm working in the project that using a lot of servlet. Our prefered platform in FreeBSD. I myself has been using FreeBSD for a couple years. We first try tomcat with native JDK 1.3 with classic VM. But the performance is not up to what we want. We did try linux-sun-jdk1.3, but got some unexpected result. So, I just trying to build hotspot to see how it would perform. But run into some problem. I'm using 4.7 stable, with lastest port tree sync. My uname -a is > > FreeBSD bulldog.com 4.7-RELEASE FreeBSD 4.7-RELEASE #3: Sun Oct 20 03:55:45 PDT 2002 ronp@bulldog.com:/usr/obj/usr/src/sys/GENERIC i386 > > Here is my steps.. > > 1) Using ports/java/jdk13, make install native JDK 1.3 from port. The port is sync up to lastest, and I'm using patch7. The only thing I change here is to turn on WITH_NATIVE_THREAD=yes. I got the JDK install with native thread enable. I got the following when I run "java -native -version" > > java version "1.3.1-p7" > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-part-030102-13:40) > Classic VM (build 1.3.1-p7-part-030102-13:40, native threads, nojit) > freebsd-java@freebsd.org > > 2) O.K. now it's time to start off hotspot build. I use the source that already extract in port tree. So, I did > > export ALT_BOOTDIR=/usr/local/linux-jdk1.3.1 > cd /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux > > and then > > gmake core compiler1 compiler2 > > > And this is the error that I got.. > > -------------------------------------------------------------------------------- > Compiling /shared/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/os/linux/vm/os_linux.cpp > /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp: In function `jint thr_main()': > /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp:106: ` pthread_main_np' undeclared (first use this function) > /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp:106: (Each > undeclared identifier is reported only once for each function it appears > in.) > gmake[2]: *** [os_linux.o] Error 1 > -------------------------------------------------------------------------------------- > > I have checked libc_r and didn't find pthread_main_np. I look up the list, and saw some mention about a patch on libc_r that add pthread_main_np, but it does sound like for CURRENT branch more. I checked the lastest STABLE tree, and there is no pthread_main_np either. I guess it might not been backport to STABLE yet. > > However, I also saw a lot of posts that successfully build hotspot on 4.7 stable. My question is what else I need to do? Is there any other patchset I need to apply? Or??? > > --RP > -- > ____________________________________________________ > Get your free email from http://www.outgun.com > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.0 http://www.spatula.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 4 1:31: 4 2003 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 AB54437B401 for ; Sat, 4 Jan 2003 01:31:01 -0800 (PST) Received: from wspf1.us4.outblaze.com (205-158-62-146.outblaze.com [205.158.62.146]) by mx1.FreeBSD.org (Postfix) with SMTP id A651F43ED1 for ; Sat, 4 Jan 2003 01:31:00 -0800 (PST) (envelope-from ronp@outgun.com) Received: (qmail 16516 invoked from network); 3 Jan 2003 14:33:44 -0000 Received: from unknown (205.158.62.68) by 205-158-62-146.outblaze.com with QMQP; 3 Jan 2003 14:33:44 -0000 Received: (qmail 75909 invoked from network); 4 Jan 2003 09:30:55 -0000 Received: from unknown (HELO ws4-3.us4.outblaze.com) (205.158.62.52) by 205-158-62-153.outblaze.com with SMTP; 4 Jan 2003 09:30:55 -0000 Received: (qmail 30710 invoked by uid 1001); 4 Jan 2003 09:29:16 -0000 Message-ID: <20030104092916.30709.qmail@outgun.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [67.121.253.169] by ws4-3.us4.outblaze.com with http for ronp@outgun.com; Sat, 04 Jan 2003 17:29:16 +0800 From: "Ron Park" To: freebsd@spatula.net Cc: freebsd-java@FreeBSD.ORG Date: Sat, 04 Jan 2003 17:29:16 +0800 Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) X-Originating-Ip: 67.121.253.169 X-Originating-Server: ws4-3.us4.outblaze.com 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 :-) It was my fault. I did cvsup the stable source tree, and couldn't find any new definition to pthread_main_np in /usr/src/lib/libc_r at all. After saw your message, I check my cvsup config file, and found out that I put RELENG_4_7 instead of RELENG_4. Thanks a lot. I'm syncing now, should not have any problem then. RP ----- Original Message ----- Wrom: PKYLEJGDGVCJVTLBXFGGMEPYOQKEDOTWFA Date: Sat, 4 Jan 2003 01:11:20 -0800 (PST) To: Ron Park Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) > You need to cvsup to get the MFCed stuff to libc_r; then at the very least > you need to rebuild libc_r and install the newer include/pthread*.h files. > > Nick > > On Sat, 4 Jan 2003, Ron Park wrote: > > > I'm working in the project that using a lot of servlet. Our prefered platform in FreeBSD. I myself has been using FreeBSD for a couple years. We first try tomcat with native JDK 1.3 with classic VM. But the performance is not up to what we want. We did try linux-sun-jdk1.3, but got some unexpected result. So, I just trying to build hotspot to see how it would perform. But run into some problem. I'm using 4.7 stable, with lastest port tree sync. My uname -a is > > > > FreeBSD bulldog.com 4.7-RELEASE FreeBSD 4.7-RELEASE #3: Sun Oct 20 03:55:45 PDT 2002 ronp@bulldog.com:/usr/obj/usr/src/sys/GENERIC i386 > > > > Here is my steps.. > > > > 1) Using ports/java/jdk13, make install native JDK 1.3 from port. The port is sync up to lastest, and I'm using patch7. The only thing I change here is to turn on WITH_NATIVE_THREAD=yes. I got the JDK install with native thread enable. I got the following when I run "java -native -version" > > > > java version "1.3.1-p7" > > Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-part-030102-13:40) > > Classic VM (build 1.3.1-p7-part-030102-13:40, native threads, nojit) > > freebsd-java@freebsd.org > > > > 2) O.K. now it's time to start off hotspot build. I use the source that already extract in port tree. So, I did > > > > export ALT_BOOTDIR=/usr/local/linux-jdk1.3.1 > > cd /usr/ports/java/jdk13/work/hotspot1.3.1/build/linux > > > > and then > > > > gmake core compiler1 compiler2 > > > > > > And this is the error that I got.. > > > > -------------------------------------------------------------------------------- > > Compiling /shared/ports/java/jdk13/work/hotspot1.3.1/build/linux/../../src/os/linux/vm/os_linux.cpp > > /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp: In function `jint thr_main()': > > /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp:106: ` pthread_main_np' undeclared (first use this function) > > /shared/ports/java/jdk13/work/hotspot1.3.1/src/os/linux/vm/os_linux.cpp:106: (Each > > undeclared identifier is reported only once for each function it appears > > in.) > > gmake[2]: *** [os_linux.o] Error 1 > > -------------------------------------------------------------------------------------- > > > > I have checked libc_r and didn't find pthread_main_np. I look up the list, and saw some mention about a patch on libc_r that add pthread_main_np, but it does sound like for CURRENT branch more. I checked the lastest STABLE tree, and there is no pthread_main_np either. I guess it might not been backport to STABLE yet. > > > > However, I also saw a lot of posts that successfully build hotspot on 4.7 stable. My question is what else I need to do? Is there any other patchset I need to apply? Or??? > > > > --RP > > -- > > ____________________________________________________ > > Get your free email from http://www.outgun.com > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-java" in the body of the message > > > > -- > "The aptly-named morons.org is an obscenity-laced screed..." > -- Robert P. Lockwood, Catholic League director of research > Nick Johnson, version 2.0 http://www.spatula.net/ > -- ____________________________________________________ Get your free email from http://www.outgun.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 4 13:38:16 2003 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 5035537B401 for ; Sat, 4 Jan 2003 13:38:14 -0800 (PST) Received: from wspf1.us4.outblaze.com (205-158-62-146.outblaze.com [205.158.62.146]) by mx1.FreeBSD.org (Postfix) with SMTP id CF8DA43E4A for ; Sat, 4 Jan 2003 13:38:13 -0800 (PST) (envelope-from ronp@outgun.com) Received: (qmail 30102 invoked from network); 4 Jan 2003 02:40:56 -0000 Received: from unknown (205.158.62.68) by 205-158-62-146.outblaze.com with QMQP; 4 Jan 2003 02:40:56 -0000 Received: (qmail 46995 invoked from network); 4 Jan 2003 21:38:13 -0000 Received: from unknown (HELO ws4-3.us4.outblaze.com) (205.158.62.52) by 205-158-62-153.outblaze.com with SMTP; 4 Jan 2003 21:38:13 -0000 Received: (qmail 24316 invoked by uid 1001); 4 Jan 2003 21:36:35 -0000 Message-ID: <20030104213635.24315.qmail@outgun.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [67.121.253.169] by ws4-3.us4.outblaze.com with http for ronp@outgun.com; Sun, 05 Jan 2003 05:36:35 +0800 From: "Ron Park" To: freebsd-java@FreeBSD.ORG Date: Sun, 05 Jan 2003 05:36:35 +0800 Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) X-Originating-Ip: 67.121.253.169 X-Originating-Server: ws4-3.us4.outblaze.com 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 O.K. update from what I did. I did cvsup stable tree, rebuild OS, rebuild hotspot. And it seems to do O.K. I got this warning about setkey in the linking part. ----------------------------------------------------------------------------- Linking vm... Linking launcher... /usr/lib/libc.so: WARNING! setkey(3) not present in the system! /usr/lib/libc.so: warning: this program uses gets(), which is unsafe. /usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: WARNING! des_setkey(3) not present in the system! /usr/lib/libc.so: WARNING! encrypt(3) not present in the system! /usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using mkstemp() /usr/lib/libc.so: warning: this program uses f_prealloc(), which is not recommended. /usr/lib/libc.so: WARNING! des_cipher(3) not present in the system! /usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using mkstemp() gmake[2]: Leaving directory `/shared/ports/java/jdk13/work/hotspot1.3.1/build/linux/linux_i486_compiler2/product' All done. gmake[1]: Leaving directory `/shared/ports/java/jdk13/work/hotspot1.3.1/build/linux/linux_i486_compiler2/product' --------------------------------------------------------------------------------------- Anyway, I copy up the library to hotspot directory in jre, run java. And got all multiple of the warning -------------------------------------------------------------------------------------- ava HotSpot(TM) Core VM warning: os::allocate_thread_local_storage: pthread_key = 0x00000000 sizep == 0x00100000 Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the ke y for "index = 0x00000000" Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x000 00000, value = 0x08078000 Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x08078000, 0x 08078000 Java HotSpot(TM) Core VM warning: Attempt to guard stack yellow zone failed. Java HotSpot(TM) Core VM warning: Attempt to guard stack red zone failed. Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the ke y for "index = 0x00000000" -------------------------------------------------------------------------------------- Is that anyway related to what link can't find? I ran java -version, and got java version "1.3.1-p7" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-part-030102-13:40) Java HotSpot(TM) Core VM (build 1.3.1-internal, interpreted mode) However, I can used that VM to run Ant to build my system. So, it does seems to work. -RP -- ____________________________________________________ Get your free email from http://www.outgun.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 4 14:28:46 2003 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 9548537B405 for ; Sat, 4 Jan 2003 14:28:44 -0800 (PST) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40EED43EC2 for ; Sat, 4 Jan 2003 14:28:44 -0800 (PST) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id 20F2FACA6; Sat, 4 Jan 2003 14:28:44 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id 202C3ACA3; Sat, 4 Jan 2003 14:28:44 -0800 (PST) Date: Sat, 4 Jan 2003 14:28:44 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: Ron Park Cc: freebsd-java@FreeBSD.ORG Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) In-Reply-To: <20030104213635.24315.qmail@outgun.com> Message-ID: <20030104142732.P30835-100000@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula 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 I think those warnings are expected at this point. I believe billf is working on making the red and yellow zoning work if I'm not mistaken. I guess the JVM prefers it if that stuff is there, but it works anyway even if it's not. Nick On Sun, 5 Jan 2003, Ron Park wrote: > O.K. update from what I did. I did cvsup stable tree, rebuild OS, rebuild hotspot. And it > seems to do O.K. I got this warning about setkey in the linking part. [snip] > > -------------------------------------------------------------------------------------- > ava HotSpot(TM) Core VM warning: os::allocate_thread_local_storage: pthread_key > = 0x00000000 > sizep == 0x00100000 > Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the ke > y for "index = 0x00000000" > Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x000 > 00000, value = 0x08078000 > Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x08078000, 0x > 08078000 > Java HotSpot(TM) Core VM warning: Attempt to guard stack yellow zone failed. > Java HotSpot(TM) Core VM warning: Attempt to guard stack red zone failed. > Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the ke > y for "index = 0x00000000" > -------------------------------------------------------------------------------------- -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.0 http://www.spatula.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 4 14:41:31 2003 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 52D2B37B401 for ; Sat, 4 Jan 2003 14:41:30 -0800 (PST) Received: from turing.morons.org (turing.morons.org [209.237.229.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 06E6443EB2 for ; Sat, 4 Jan 2003 14:41:30 -0800 (PST) (envelope-from freebsd@spatula.net) Received: by turing.morons.org (Postfix, from userid 1001) id E4DCEAC6E; Sat, 4 Jan 2003 14:41:29 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by turing.morons.org (Postfix) with ESMTP id E2BEAAC67; Sat, 4 Jan 2003 14:41:29 -0800 (PST) Date: Sat, 4 Jan 2003 14:41:29 -0800 (PST) From: Nick Johnson X-X-Sender: spatula@turing.morons.org To: Ron Park Cc: freebsd-java@freebsd.org Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) In-Reply-To: <20030104223624.10756.qmail@outgun.com> Message-ID: <20030104144000.Y30835-100000@turing.morons.org> X-what-happen: someone set up us the bomb X-Message-Flags: Spatula 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 Sorry I meant billh, not billf. So many Bills! Nick On Sun, 5 Jan 2003, Ron Park wrote: > I see. Thanks Nick. Really appreciated your help. > > Best, > > --RP > > ----- Original Message ----- > Wrom: ARHDMNNSKVFVWRKJVZCMHVIBGDADRZFSQH > Date: Sat, 4 Jan 2003 14:28:44 -0800 (PST) > To: Ron Park > Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) > > > I think those warnings are expected at this point. I believe billf is > > working on making the red and yellow zoning work if I'm not mistaken. I > > guess the JVM prefers it if that stuff is there, but it works anyway even > > if it's not. -- "The aptly-named morons.org is an obscenity-laced screed..." -- Robert P. Lockwood, Catholic League director of research Nick Johnson, version 2.0 http://www.spatula.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 4 16:46:12 2003 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 D4D7637B401 for ; Sat, 4 Jan 2003 16:46:11 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6937743ED1 for ; Sat, 4 Jan 2003 16:46:11 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18UyvN-0000OQ-00; Sat, 04 Jan 2003 16:45:57 -0800 Date: Sat, 4 Jan 2003 16:45:57 -0800 To: Nick Johnson Cc: Ron Park , freebsd-java@freebsd.org, "Bill Huey (Hui)" Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) Message-ID: <20030105004557.GA1462@gnuppy.monkey.org> References: <20030104085650.4187.qmail@outgun.com> <20030104011004.Q30835-100000@turing.morons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030104011004.Q30835-100000@turing.morons.org> User-Agent: Mutt/1.4i From: Bill Huey (Hui) 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 On Sat, Jan 04, 2003 at 01:11:20AM -0800, Nick Johnson wrote: > You need to cvsup to get the MFCed stuff to libc_r; then at the very least > you need to rebuild libc_r and install the newer include/pthread*.h files. > > Nick A new patch release is needed badly, but i've been doing RTOS work recently. I'm not sure when I'm going to finish this since I was orignally going to start patching stuff up again when Dan Eischen's commits the new ucontext stuff. Then I realized that if I was going to depend on it, that -stable users were going to be lock out of the work I've been doing, jmp_buf verses ucontext. I basically need somebody to take over, understand, stay in communication and finish what I've started since I'm working on other things. bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 4 16:57:32 2003 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 8D03B37B401 for ; Sat, 4 Jan 2003 16:57:31 -0800 (PST) Received: from gnuppy.monkey.org (wsip68-15-8-100.sd.sd.cox.net [68.15.8.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B6BF43EA9 for ; Sat, 4 Jan 2003 16:57:31 -0800 (PST) (envelope-from billh@gnuppy.monkey.org) Received: from billh by gnuppy.monkey.org with local (Exim 3.36 #1 (Debian)) id 18Uz6T-0000UZ-00; Sat, 04 Jan 2003 16:57:25 -0800 Date: Sat, 4 Jan 2003 16:57:25 -0800 To: Nick Johnson Cc: Ron Park , freebsd-java@FreeBSD.ORG, "Bill Huey (Hui)" Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) Message-ID: <20030105005725.GA1888@gnuppy.monkey.org> References: <20030104213635.24315.qmail@outgun.com> <20030104142732.P30835-100000@turing.morons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030104142732.P30835-100000@turing.morons.org> User-Agent: Mutt/1.4i From: Bill Huey (Hui) 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 On Sat, Jan 04, 2003 at 02:28:44PM -0800, Nick Johnson wrote: > I think those warnings are expected at this point. I believe billf is > working on making the red and yellow zoning work if I'm not mistaken. I > guess the JVM prefers it if that stuff is there, but it works anyway even > if it's not. Red zoning automatically works because of Posix threading complicance in libc_r, yellow zoning doesn't really get you anything since the heuristic for screwing with "out of memory" situations via some kind of recovery tactic is precarious in HotSpot. It's simply turned off in the Linux port, so I did the same here. > > O.K. update from what I did. I did cvsup stable tree, rebuild OS, rebuild hotspot. And it > > seems to do O.K. I got this warning about setkey in the linking part. > [snip] > > > > -------------------------------------------------------------------------------------- > > ava HotSpot(TM) Core VM warning: os::allocate_thread_local_storage: pthread_key > > = 0x00000000 > > sizep == 0x00100000 > > Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the ke > > y for "index = 0x00000000" > > Java HotSpot(TM) Core VM warning: os::thread_local_storage_at_put: index = 0x000 > > 00000, value = 0x08078000 > > Java HotSpot(TM) Core VM warning: must be the same thread, slowly 0x08078000, 0x > > 08078000 > > Java HotSpot(TM) Core VM warning: Attempt to guard stack yellow zone failed. > > Java HotSpot(TM) Core VM warning: Attempt to guard stack red zone failed. > > Java HotSpot(TM) Core VM warning: os::thread_local_storage_at: can't find the ke > > y for "index = 0x00000000" Those are my personal debug messages, they've been removed from my source tree now so ignore them. :) bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 4 21:23:39 2003 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 9CCBC37B401 for ; Sat, 4 Jan 2003 21:23:37 -0800 (PST) Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by mx1.FreeBSD.org (Postfix) with SMTP id 463CC43E4A for ; Sat, 4 Jan 2003 21:23:37 -0800 (PST) (envelope-from khairil_yusof@yahoo.com) Received: from unknown (HELO ?219.93.86.176?) (khairil?yusof@219.93.86.176 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 5 Jan 2003 05:23:35 -0000 Subject: Problem with netbeans From: Khairil Yusof To: freebsd-java@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-V4uth5ie5cutgiJQHPWN" Organization: Message-Id: <1041744198.715.76.camel@daemon.home.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 05 Jan 2003 13:23:19 +0800 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 --=-V4uth5ie5cutgiJQHPWN Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Netbeans runs fine on 4-stable at work but not at home on 5.0RC, I get these errors when running runide.sh daemon# ./runide.sh=20 expr: illegal option -- J usage: expr [-e] expression expr: illegal option -- J usage: expr [-e] expression expr: illegal option -- J usage: expr [-e] expression Exception in thread "main" java.lang.NoClassDefFoundError:=20 Both are running jdk-1.3.1p7_2 Java is working on current: Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p7-kaeru-030105-00:05) Classic VM (build 1.3.1-p7-kaeru-030105-00:05, green threads, nojit) I'm not familiar with Java, I suspected the script (-J is an option for jre) but after making sure the runide.sh script is the same on both platforms, I'm at a lost to as to why it doesn't work on 5.0RC. Any help would be much appreciated. --=20 "Those who don't understand UNIX are condemned to reinvent it, poorly." Henry Spencer --=-V4uth5ie5cutgiJQHPWN Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+F8FFDAqnLW/+/X8RAmIGAJ4mh7tYqM8L8WfqmBhyWZnSTUYSjwCfUQdJ spC2P5lSAyhfIZAWwS0DnRw= =aKzh -----END PGP SIGNATURE----- --=-V4uth5ie5cutgiJQHPWN-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sat Jan 4 21:40:50 2003 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 4F31D37B401 for ; Sat, 4 Jan 2003 21:40:49 -0800 (PST) Received: from wspf1.us4.outblaze.com (205-158-62-146.outblaze.com [205.158.62.146]) by mx1.FreeBSD.org (Postfix) with SMTP id A638E43E4A for ; Sat, 4 Jan 2003 21:40:48 -0800 (PST) (envelope-from ronp@outgun.com) Received: (qmail 15073 invoked from network); 4 Jan 2003 10:43:28 -0000 Received: from unknown (205.158.62.68) by 205-158-62-146.outblaze.com with QMQP; 4 Jan 2003 10:43:28 -0000 Received: (qmail 75892 invoked from network); 5 Jan 2003 05:40:45 -0000 Received: from unknown (HELO ws4-3.us4.outblaze.com) (205.158.62.52) by 205-158-62-153.outblaze.com with SMTP; 5 Jan 2003 05:40:45 -0000 Received: (qmail 13148 invoked by uid 1001); 5 Jan 2003 05:39:08 -0000 Message-ID: <20030105053908.13147.qmail@outgun.com> Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Received: from [67.121.253.169] by ws4-3.us4.outblaze.com with http for ronp@outgun.com; Sun, 05 Jan 2003 13:39:08 +0800 From: "Ron Park" To: billh@gnuppy.monkey.org Cc: freebsd-java@freebsd.org Date: Sun, 05 Jan 2003 13:39:08 +0800 Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) X-Originating-Ip: 67.121.253.169 X-Originating-Server: ws4-3.us4.outblaze.com 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 Hmm... can I be any help to you? :-) We (my project) probably need to stuck with 4.x release for another six months to a year. Before we consider moving to 5.x branch, or jump to use Linux (arghhh...) So, I don't mind helping out on this one. We do need a good reliable VM for our work anyway. I did have some experience with pthread before. Please let me know where to start, which code I should beging to take a look, what problem you have, what other things you have in mind and so on. Just give me a brief pointer, so I can do kind of onion layer understanding of things. :-) I probably to tackle it one by one though. Best, --RP ----- Original Message ----- Wrom: VOTQNQEMSFDULHPQQWOYIYZUNNYCGPKYLEJGDGVCJV Date: Sat, 4 Jan 2003 16:45:57 -0800 To: Nick Johnson Subject: Re: What else did I miss? (Build hotspot on 4.7 Stable) > On Sat, Jan 04, 2003 at 01:11:20AM -0800, Nick Johnson wrote: > > You need to cvsup to get the MFCed stuff to libc_r; then at the very least > > you need to rebuild libc_r and install the newer include/pthread*.h files. > > > > Nick > > A new patch release is needed badly, but i've been doing RTOS work > recently. I'm not sure when I'm going to finish this since I was > orignally going to start patching stuff up again when Dan Eischen's > commits the new ucontext stuff. Then I realized that if I was going > to depend on it, that -stable users were going to be lock out of > the work I've been doing, jmp_buf verses ucontext. > > I basically need somebody to take over, understand, stay in > communication and finish what I've started since I'm working on other > things. > > bill > -- ____________________________________________________ Get your free email from http://www.outgun.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message