From owner-freebsd-java@FreeBSD.ORG Sun Apr 30 03:15:16 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 6701416A403 for ; Sun, 30 Apr 2006 03:15:16 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECC4543D45 for ; Sun, 30 Apr 2006 03:15:15 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id EC6BD292511 for ; Sun, 30 Apr 2006 00:15:14 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 51135-02 for ; Sun, 30 Apr 2006 00:15:14 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id C57232923AA for ; Sun, 30 Apr 2006 00:15:13 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 76E196037D; Sun, 30 Apr 2006 00:15:11 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 6E21860293 for ; Sun, 30 Apr 2006 00:15:11 -0300 (ADT) Date: Sun, 30 Apr 2006 00:15:11 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-java@freebsd.org Message-ID: <20060430001459.H34052@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Azureas download performance non-existent .. X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Apr 2006 03:15:16 -0000 'k, I have to be doing something wrong here ... Up until recently, I've been using the regular Python Bittorrent port for doing my torrents, getting *peaks* of 140+kps ... in order to make use of some features in Azureas (mainly, its plugins for RSS Feeds), I'm trying to get that running, but I'm getting atrocious (ie. non-existent) with it ... same torrent that, with the python client, I was getting 30kps, I'm *lucky* to be seeing 500bps with Azureas ... My machine is running: FreeBSD 6.1-RC #20: Fri Apr 21 16:25:05 ADT 2006 Intel(R) Pentium(R) 4 CPU 2.40GHz (2394.01-MHz 686-class CPU) real memory = 1073676288 (1023 MB) avail memory = 1037422592 (989 MB) And the new diablo-jdk 1.5.0 port ... Is anyone using this port successfully, that can suggest *where* or *what* I may be doing wrong? :( Thanks ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 From owner-freebsd-java@FreeBSD.ORG Mon May 1 02:38:39 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 9BF0B16A401 for ; Mon, 1 May 2006 02:38:39 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2988B43D45 for ; Mon, 1 May 2006 02:38:39 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 6A53B29253E for ; Sun, 30 Apr 2006 23:38:32 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 65176-01 for ; Sun, 30 Apr 2006 23:38:38 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id F33B929253B for ; Sun, 30 Apr 2006 23:38:31 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 2FCBE61B70; Sun, 30 Apr 2006 23:38:36 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 2A0AD614B7 for ; Sun, 30 Apr 2006 23:38:36 -0300 (ADT) Date: Sun, 30 Apr 2006 23:38:36 -0300 (ADT) From: "Marc G. Fournier" To: freebsd-java@freebsd.org Message-ID: <20060430233525.S1147@ganymede.hub.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Azureus ... forced to use Windows Version ... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 02:38:39 -0000 The other day, I posted about download issues with Azureus ... today, figuring to see if it was my network, or FreeBSD, I installed it on one of my Windows boxes, and am currently downloading at ~85kb/s ;( Please note that this Windows box is sitting *behind* the same FreeBSD box that I'm lucky to get 1kb/s on ... the FreeBSD is the router ... I don't know if this is a java issue, or freebsd issue ... but I really don't have any ideas on how to debug why ... Other then the machine its running on, I have Azureus setup the same, including using java 1.5.0 ... but, of course, the version on the FreeBSD is the new diablo binary ... thoughts? ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 From owner-freebsd-java@FreeBSD.ORG Mon May 1 07:39:49 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 3787F16A404 for ; Mon, 1 May 2006 07:39:49 +0000 (UTC) (envelope-from artem@bizlink.ru) Received: from comtv.ru (mail.comtv.ru [217.10.32.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E5CD43D45 for ; Mon, 1 May 2006 07:39:48 +0000 (GMT) (envelope-from artem@bizlink.ru) X-UCL: actv Received: from [10.0.144.230] ([10.0.144.230] verified) by comtv.ru (CommuniGate Pro SMTP 4.1.8) with ESMTP id 149345880 for freebsd-java@freebsd.org; Mon, 01 May 2006 11:39:46 +0400 Message-ID: <4455BB3F.8000203@bizlink.ru> Date: Mon, 01 May 2006 11:39:43 +0400 From: Artem Gr User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Subject: no cores? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 07:39:49 -0000 Almost every day i see something like +pid 93620 (java), uid 1004: exited on signal 6 (core dumped) in my "security run output", but there is no "java.core" or "hs_err_pid/N/.log" found anywhere in the system afterwards. I know the previous installation (/usr/ports/java/jdk15/) has dumped cores all right. The (java) application is started in a user-writable directory. (I've just checked, invoking "new File(".").getCanonicalPath()" from the app gives this user-writable directory as expected.) java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b00) Java HotSpot(TM) Client VM (build diablo-1.5.0_06-b00, mixed mode) uname -mprs FreeBSD 6.0-RELEASE i386 i386 java is started directly: "/usr/local/diablo-jdk1.5.0/bin/java -server -XX:+UseMembar" From owner-freebsd-java@FreeBSD.ORG Mon May 1 08:14:27 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 3F42C16A413 for ; Mon, 1 May 2006 08:14:27 +0000 (UTC) (envelope-from artem@bizlink.ru) Received: from comtv.ru (mail.comtv.ru [217.10.32.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id A13BD43D46 for ; Mon, 1 May 2006 08:14:26 +0000 (GMT) (envelope-from artem@bizlink.ru) X-UCL: actv Received: from [10.0.144.230] ([10.0.144.230] verified) by comtv.ru (CommuniGate Pro SMTP 4.1.8) with ESMTP id 149346932; Mon, 01 May 2006 12:14:25 +0400 Message-ID: <4455C35D.6000403@bizlink.ru> Date: Mon, 01 May 2006 12:14:21 +0400 From: Artem Gr User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: "Marc G. Fournier" , freebsd-java@freebsd.org References: <20060430233525.S1147@ganymede.hub.org> In-Reply-To: <20060430233525.S1147@ganymede.hub.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Azureus ... forced to use Windows Version ... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 08:14:27 -0000 Marc G. Fournier: > Other then the machine its running on, I have Azureus setup the same, > including using java 1.5.0 ... but, of course, the version on the > FreeBSD is the new diablo binary ... > > thoughts? I don't know about the current diablo-jdk build, but on /usr/ports/java/jdk15/ i had very bad threads performance with threads locked up and waiting for nothing, until i recompiled the FreeBSD with "options SMP" turned on. It was on an architecture similar to yours: "CPU: Intel(R) Pentium(R) 4 CPU 2.80GHz (2793.01-MHz 686-class CPU)" Perhaps the threading library used with jdk has some inference with the kernel scheduler or something. If your FreeBSD is build without SMP, this might be the problem. From owner-freebsd-java@FreeBSD.ORG Mon May 1 10:47:18 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 E20CC16A400 for ; Mon, 1 May 2006 10:47:18 +0000 (UTC) (envelope-from sugimura@yasudakei.org) Received: from mail2.inetd.co.jp (mail2.inetd.co.jp [211.13.206.142]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6586743D45 for ; Mon, 1 May 2006 10:47:18 +0000 (GMT) (envelope-from sugimura@yasudakei.org) Received: from localhost (FLH1Aet231.tky.mesh.ad.jp [60.238.83.231]) by mail2.inetd.co.jp (8.13.1/3.7W06050118) with ESMTP id k41Al7J5055314 for ; Mon, 1 May 2006 19:47:07 +0900 (JST) Date: Mon, 01 May 2006 19:47:05 +0900 (JST) Message-Id: <20060501.194705.78754683.sugimura@YasudaKei.org> To: freebsd-java@freebsd.org From: SUGIMURA Takashi In-Reply-To: <20060430233525.S1147@ganymede.hub.org> References: <20060430233525.S1147@ganymede.hub.org> X-Mailer: Mew version 4.2.53 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Azureus ... forced to use Windows Version ... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 10:47:19 -0000 > Other then the machine its running on, I have Azureus setup the same, > including using java 1.5.0 ... but, of course, the version on the FreeBSD > is the new diablo binary ... > > thoughts? > Please add the follows to /etc/libmap.conf and try again. ####################################################### [/usr/local/diablo-jdk1.5.0/] libpthread.so libc_r.so libpthread.so.2 libc_r.so.6 --- SUGIMURA Takashi GnuPG fingerprint: C81B 9835 1C9E BD9B 84BF 9785 0B91 D08B F667 DCED From owner-freebsd-java@FreeBSD.ORG Mon May 1 11:02:41 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 6A9C116A406 for ; Mon, 1 May 2006 11:02:41 +0000 (UTC) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F69A43D64 for ; Mon, 1 May 2006 11:02:41 +0000 (GMT) (envelope-from owner-bugmaster@freebsd.org) Received: from freefall.freebsd.org (peter@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k41B2eCt009035 for ; Mon, 1 May 2006 11:02:41 GMT (envelope-from owner-bugmaster@freebsd.org) Received: (from peter@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k41B2dv7009029 for freebsd-java@freebsd.org; Mon, 1 May 2006 11:02:39 GMT (envelope-from owner-bugmaster@freebsd.org) Date: Mon, 1 May 2006 11:02:39 GMT Message-Id: <200605011102.k41B2dv7009029@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: peter set sender to owner-bugmaster@freebsd.org using -f From: FreeBSD bugmaster To: freebsd-java@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 11:02:42 -0000 Current FreeBSD problem reports Critical problems Serious problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- s [2003/12/09] ports/60083 java Unsafe use of getaddrinfo in jvm 1.4.2-p5 o [2004/05/01] java/66151 java JBuilderX (sun jvm 1.4.1 builtin) crashes f [2004/09/28] java/72151 java JVM crash on 5.2.1-R f [2004/10/29] ports/73279 java www/firefox + java crash o [2005/01/24] java/76631 java any port linux-*-jdk12 will core dump if o [2005/02/17] ports/77656 java java/jdk15 - (AMD64) install problem. o [2006/02/12] ports/93253 java jdk 1.5 port build problem 7 problems total. Non-critical problems S Submitted Tracker Resp. Description ------------------------------------------------------------------------------- f [2003/09/16] ports/56928 java jce-aba port should install to $JAVA_HOME f [2004/02/14] java/62837 java linux-sun-jdk14 executables hang with COM o [2005/08/10] ports/84742 java make ports/java/jdk14 use dynamic Motif l f [2006/01/03] ports/91244 java Bad instruction on making process of jdk1 o [2006/02/09] ports/93099 java java/jdk14: Modify /etc/manpath.config 5 problems total. From owner-freebsd-java@FreeBSD.ORG Mon May 1 17:15:28 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 418EC16A401 for ; Mon, 1 May 2006 17:15:28 +0000 (UTC) (envelope-from scrappy@hub.org) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC4443D45 for ; Mon, 1 May 2006 17:15:27 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (mx1.hub.org [200.46.208.251]) by hub.org (Postfix) with ESMTP id 5533B291F74; Mon, 1 May 2006 14:15:25 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 14819-05; Mon, 1 May 2006 14:15:24 -0300 (ADT) Received: from ganymede.hub.org (blk-7-151-244.eastlink.ca [71.7.151.244]) by hub.org (Postfix) with ESMTP id D3635291BF5; Mon, 1 May 2006 14:15:22 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id E1CC48A871; Mon, 1 May 2006 14:15:23 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id DF0B98A870; Mon, 1 May 2006 14:15:23 -0300 (ADT) Date: Mon, 1 May 2006 14:15:23 -0300 (ADT) From: "Marc G. Fournier" To: SUGIMURA Takashi In-Reply-To: <20060501.194705.78754683.sugimura@YasudaKei.org> Message-ID: <20060501141322.G1147@ganymede.hub.org> References: <20060430233525.S1147@ganymede.hub.org> <20060501.194705.78754683.sugimura@YasudaKei.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-java@freebsd.org Subject: Re: Azureus ... forced to use Windows Version ... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 17:15:28 -0000 Woo hoo ... that fixes it ... stupid question, but *why*? If this was originally built on a 6.x machine, why is the mapping required? And ... could someone maybe add a note to the download page itself? :( I just re-checked the downloads page, and there is nothing there about it ... On Mon, 1 May 2006, SUGIMURA Takashi wrote: >> Other then the machine its running on, I have Azureus setup the same, >> including using java 1.5.0 ... but, of course, the version on the FreeBSD >> is the new diablo binary ... >> >> thoughts? >> > > Please add the follows to /etc/libmap.conf and try again. > > ####################################################### > [/usr/local/diablo-jdk1.5.0/] > libpthread.so libc_r.so > libpthread.so.2 libc_r.so.6 > > --- > SUGIMURA Takashi > GnuPG fingerprint: C81B 9835 1C9E BD9B 84BF 9785 0B91 D08B F667 DCED > _______________________________________________ > 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" > ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 From owner-freebsd-java@FreeBSD.ORG Mon May 1 20:10:54 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 31BA016A402 for ; Mon, 1 May 2006 20:10:54 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1A1043D46 for ; Mon, 1 May 2006 20:10:53 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id k41KApMj095498; Mon, 1 May 2006 13:10:52 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id k41KAp8h095497; Mon, 1 May 2006 13:10:51 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 1 May 2006 13:10:50 -0700 From: Greg Lewis To: jesage Message-ID: <20060501201050.GA95461@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: An unexpected error has been detected by HotSpot Virtual Machine when I run azureus X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 20:10:54 -0000 On Sat, Apr 29, 2006 at 03:50:49PM +0800, jesage wrote: > Starting Azureus... > Java exec found in PATH. Verifying... > Suitable java version found [java = 1.5.0] > Configuring environment... > Loading Azureus: > java -Xms16m -Xmx128m -cp > "/home/tinms/azureus/Azureus2.jar:/home/tinms/azureus/swt.jar" - > Djava.library.path="/home/tinms/azureus" > -Dazureus.install.path="/home/tinms/azureus" > org.gudy.azureus2.ui.swt.Main '' > # > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # SIGBUS (0xa) at pc=0x28510ea5, pid=11437, tid=0x88cc200 > # > # Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00 mixed mode) > # Problematic frame: > # V [libjvm.so+0x370ea5] > # > # An error report file with more information is saved as hs_err_pid11437.log If this is an SMP machine, try using -XX:+UseMembar as part of the java invocation. If not please post the full error log. -- 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 Mon May 1 20:19:09 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 47E9716A43A for ; Mon, 1 May 2006 20:19:09 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id B67D443D7E for ; Mon, 1 May 2006 20:19:02 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id k41KJ12D095548; Mon, 1 May 2006 13:19:01 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id k41KJ0DF095547; Mon, 1 May 2006 13:19:00 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Mon, 1 May 2006 13:19:00 -0700 From: Greg Lewis To: "Marc G. Fournier" Message-ID: <20060501201900.GB95461@misty.eyesbeyond.com> References: <20060430233525.S1147@ganymede.hub.org> <20060501.194705.78754683.sugimura@YasudaKei.org> <20060501141322.G1147@ganymede.hub.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060501141322.G1147@ganymede.hub.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@FreeBSD.org Subject: Re: Azureus ... forced to use Windows Version ... X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 20:19:10 -0000 On Mon, May 01, 2006 at 02:15:23PM -0300, Marc G. Fournier wrote: > Woo hoo ... that fixes it ... stupid question, but *why*? If this was > originally built on a 6.x machine, why is the mapping required? It shouldn't be. > And ... could someone maybe add a note to the download page itself? :( I > just re-checked the downloads page, and there is nothing there about it > ... One thing I'm curious about is whether anyone sees the same problem under 6.0-RELEASE? > On Mon, 1 May 2006, SUGIMURA Takashi wrote: > > >>Other then the machine its running on, I have Azureus setup the same, > >>including using java 1.5.0 ... but, of course, the version on the FreeBSD > >>is the new diablo binary ... > >> > >>thoughts? > >> > > > >Please add the follows to /etc/libmap.conf and try again. > > > >####################################################### > >[/usr/local/diablo-jdk1.5.0/] > >libpthread.so libc_r.so > >libpthread.so.2 libc_r.so.6 > > > >--- > >SUGIMURA Takashi > >GnuPG fingerprint: C81B 9835 1C9E BD9B 84BF 9785 0B91 D08B F667 DCED > >_______________________________________________ > >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" > > > > ---- > Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) > Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 > _______________________________________________ > 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" -- 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 Tue May 2 10:17:36 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 491D716A400 for ; Tue, 2 May 2006 10:17:36 +0000 (UTC) (envelope-from philippe.waelti@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id A727343D45 for ; Tue, 2 May 2006 10:17:35 +0000 (GMT) (envelope-from philippe.waelti@gmail.com) Received: by xproxy.gmail.com with SMTP id s12so2134295wxc for ; Tue, 02 May 2006 03:17:35 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=hl+atz8ROA5hYbepvVTu4q00cFVGVo8Txxoj25TlohVIcNubFF0a3pj6hhJ8cdiJolGNew2hkrHhhJUsrRys8UZbHzLNNNAhoMbuEb5vhUAOmyrzb8lTdgBb8AMcb/wYj6fY18YCl2MBsLtp/t/obEVaOxpfsMQEIhoUw+cUBlQ= Received: by 10.70.52.12 with SMTP id z12mr672259wxz; Tue, 02 May 2006 03:17:34 -0700 (PDT) Received: by 10.70.21.11 with HTTP; Tue, 2 May 2006 03:17:34 -0700 (PDT) Message-ID: Date: Tue, 2 May 2006 12:17:34 +0200 From: "Philippe Waelti" To: freebsd-java@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_3049_16619328.1146565054660" Cc: Subject: [BUG] Unexpected error in HotSpot Virtual Machine X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2006 10:17:36 -0000 ------=_Part_3049_16619328.1146565054660 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello ! Here's an unexpected error which arrive using one of my student's program. # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGBUS (0xa) at pc=3D0x284fbea5, pid=3D36991, tid=3D0x825c400 # # Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00 mixed mode) # Problematic frame: # V [libjvm.so+0x370ea5] # # An error report file with more information is saved as hs_err_pid36991.lo= g # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # Abort trap: 6 (core dumped) Source files and core file can be (temporary) found here (~23M) : http://pwaelti.eivd.ch/Java_Fail.tar.bz2 Log is attached. How-To Crash application : (1) Launch : # java Parser cacm.all (2) Wait that the "Recherche" button become active (3) Enter "algorithm" in the first text entry field and press (upper) button "Recherche" (4) Select text in the field that contains the results ("R=E9sultats"), repeat this while application decide to crash Hope this can help, thanks for your great work ! (I just reinstall 6.1-RC2 yesterday from 6.0-p7) PWI ------=_Part_3049_16619328.1146565054660 Content-Type: application/octet-stream; name=hs_err_pid36991.log Content-Transfer-Encoding: 7bit X-Attachment-Id: f_emq33ovt Content-Disposition: attachment; filename="hs_err_pid36991.log" # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGBUS (0xa) at pc=0x284fbea5, pid=36991, tid=0x825c400 # # Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00 mixed mode) # Problematic frame: # V [libjvm.so+0x370ea5] # --------------- T H R E A D --------------- Current thread (0x0825c200): JavaThread "AWT-EventQueue-0" [_thread_in_vm_trans, id=136692736] siginfo:si_signo=10, si_errno=0, si_code=12, si_addr=0x28643080 Registers: EAX=0x286214a8, EBX=0x2860d7e4, ECX=0x28643000, EDX=0x286214b0 ESP=0xbf6723bc, EBP=0xbf672484, ESI=0x00000080, EDI=0x28623068 EIP=0x284fbea5, EFLAGS=0x00010202 Top of Stack: (sp=0xbf6723bc) 0xbf6723bc: 0000001c 08054498 bf6723e4 280a278d 0xbf6723cc: 280ad4b4 08132100 bf672404 280ab345 0xbf6723dc: 35654050 bf672424 00000000 00000000 0xbf6723ec: 00000000 bf67242c 00000000 00000000 0xbf6723fc: 080626ac 080626a8 00000012 08061800 0xbf67240c: 00000000 00000000 00000d36 0825c200 0xbf67241c: 08062680 08062640 bf672434 2809d8e4 0xbf67242c: 0825c200 08062640 bf672464 284fa1a7 Instructions: (pc=0x284fbea5) 0x284fbe95: 75 94 d3 ee 8b 38 8b 0a 21 fe 8b bb 60 68 00 00 0x284fbea5: c7 04 31 01 00 00 00 8b 17 85 d2 0f 84 cf fc ff Stack: [0xbf634000,0xbf674000), sp=0xbf6723bc, free space=248k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x370ea5] V [libjvm.so+0x42d01a] V [libjvm.so+0x1f8cb3] V [libjvm.so+0x23a8ed] V [libjvm.so+0x4011cf] V [libjvm.so+0x37e35f] V [libjvm.so+0x1afbd8] v ~RuntimeStub::new_type_array Runtime1 stub J javax.swing.text.GapContent.getChars(IILjavax/swing/text/Segment;)V J javax.swing.text.WrappedPlainView.loadText(Ljavax/swing/text/Segment;II)V J javax.swing.text.WrappedPlainView.calculateBreakPosition(II)I J javax.swing.text.WrappedPlainView$WrappedLine.paint(Ljava/awt/Graphics;Ljava/awt/Shape;)V j javax.swing.text.BoxView.paintChild(Ljava/awt/Graphics;Ljava/awt/Rectangle;I)V+11 j javax.swing.text.BoxView.paint(Ljava/awt/Graphics;Ljava/awt/Shape;)V+147 j javax.swing.text.WrappedPlainView.paint(Ljava/awt/Graphics;Ljava/awt/Shape;)V+118 j javax.swing.plaf.basic.BasicTextUI$RootView.paint(Ljava/awt/Graphics;Ljava/awt/Shape;)V+48 j javax.swing.plaf.basic.BasicTextUI.paintSafely(Ljava/awt/Graphics;)V+65 j javax.swing.plaf.basic.BasicTextUI.paint(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+45 j javax.swing.plaf.basic.BasicTextUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+3 J javax.swing.JComponent.paintComponent(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V v ~RuntimeStub::alignment_frame_return Runtime1 stub j javax.swing.JLayeredPane.paint(Ljava/awt/Graphics;)V+73 J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V j javax.swing.JComponent.paintWithOffscreenBuffer(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIILjava/awt/Image;)V+174 j javax.swing.JComponent.paintDoubleBuffered(Ljavax/swing/JComponent;Ljava/awt/Component;Ljava/awt/Graphics;IIII)Z+131 j javax.swing.JComponent._paintImmediately(IIII)V+739 j javax.swing.JComponent.paintImmediately(IIII)V+83 j javax.swing.RepaintManager.paintDirtyRegions()V+314 j javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V+32 j java.awt.event.InvocationEvent.dispatch()V+47 j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26 j java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+233 j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26 j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 j java.awt.EventDispatchThread.run()V+9 v ~StubRoutines::call_stub V [libjvm.so+0x26f2d8] V [libjvm.so+0x387208] V [libjvm.so+0x26f3ef] V [libjvm.so+0x26f886] V [libjvm.so+0x26f9fe] V [libjvm.so+0x2d1b1a] V [libjvm.so+0x3f6670] V [libjvm.so+0x3f6731] V [libjvm.so+0x3843b9] C [libpthread.so.2+0xe319] _pthread_create+0x6d1 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) v ~RuntimeStub::new_type_array Runtime1 stub J javax.swing.text.GapContent.getChars(IILjavax/swing/text/Segment;)V J javax.swing.text.WrappedPlainView.loadText(Ljavax/swing/text/Segment;II)V J javax.swing.text.WrappedPlainView.calculateBreakPosition(II)I J javax.swing.text.WrappedPlainView$WrappedLine.paint(Ljava/awt/Graphics;Ljava/awt/Shape;)V j javax.swing.text.BoxView.paintChild(Ljava/awt/Graphics;Ljava/awt/Rectangle;I)V+11 j javax.swing.text.BoxView.paint(Ljava/awt/Graphics;Ljava/awt/Shape;)V+147 j javax.swing.text.WrappedPlainView.paint(Ljava/awt/Graphics;Ljava/awt/Shape;)V+118 j javax.swing.plaf.basic.BasicTextUI$RootView.paint(Ljava/awt/Graphics;Ljava/awt/Shape;)V+48 j javax.swing.plaf.basic.BasicTextUI.paintSafely(Ljava/awt/Graphics;)V+65 j javax.swing.plaf.basic.BasicTextUI.paint(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+45 j javax.swing.plaf.basic.BasicTextUI.update(Ljava/awt/Graphics;Ljavax/swing/JComponent;)V+3 J javax.swing.JComponent.paintComponent(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V v ~RuntimeStub::alignment_frame_return Runtime1 stub j javax.swing.JLayeredPane.paint(Ljava/awt/Graphics;)V+73 J javax.swing.JComponent.paintChildren(Ljava/awt/Graphics;)V J javax.swing.JComponent.paint(Ljava/awt/Graphics;)V j javax.swing.JComponent.paintWithOffscreenBuffer(Ljavax/swing/JComponent;Ljava/awt/Graphics;IIIILjava/awt/Image;)V+174 j javax.swing.JComponent.paintDoubleBuffered(Ljavax/swing/JComponent;Ljava/awt/Component;Ljava/awt/Graphics;IIII)Z+131 j javax.swing.JComponent._paintImmediately(IIII)V+739 j javax.swing.JComponent.paintImmediately(IIII)V+83 j javax.swing.RepaintManager.paintDirtyRegions()V+314 j javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run()V+32 j java.awt.event.InvocationEvent.dispatch()V+47 j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26 j java.awt.EventDispatchThread.pumpOneEventForHierarchy(ILjava/awt/Component;)Z+233 j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+26 j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4 j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3 j java.awt.EventDispatchThread.run()V+9 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x082d9400 JavaThread "TimerQueue" daemon [_thread_blocked, id=137205248] 0x0805cc00 JavaThread "DestroyJavaVM" [_thread_blocked, id=134594560] =>0x0825c200 JavaThread "AWT-EventQueue-0" [_thread_in_vm_trans, id=136692736] 0x08245e00 JavaThread "AWT-Shutdown" [_thread_blocked, id=136691712] 0x0821f400 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=136443392] 0x081ee600 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=136243200] 0x08143c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135544320] 0x08143800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135543296] 0x08143400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135542272] 0x08143000 JavaThread "Finalizer" daemon [_thread_blocked, id=135541248] 0x08067c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=134643200] Other Threads: 0x08056f00 VMThread [id=134642176] 0x08056a00 WatcherThread [id=135664128] VM state:synchronizing (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x08062400/0x08062440] Safepoint_lock - owner thread: 0x08056f00 [0x080624c0/0x08062500] Threads_lock - owner thread: 0x08056f00 [0x08053700/0x08062ac0] Heap_lock - owner thread: 0x0825c200 Heap def new generation total 1728K, used 1535K [0x2d5d0000, 0x2d7b0000, 0x2dab0000) eden space 1536K, 99% used [0x2d5d0000, 0x2d74de40, 0x2d750000) from space 192K, 4% used [0x2d750000, 0x2d752088, 0x2d780000) to space 192K, 0% used [0x2d780000, 0x2d780000, 0x2d7b0000) tenured generation total 22472K, used 18758K [0x2dab0000, 0x2f0a2000, 0x315d0000) the space 22472K, 83% used [0x2dab0000, 0x2ed01a40, 0x2ed01c00, 0x2f0a2000) compacting perm gen total 8192K, used 7018K [0x315d0000, 0x31dd0000, 0x355d0000) the space 8192K, 85% used [0x315d0000, 0x31caaa50, 0x31caac00, 0x31dd0000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/diablo-jdk1.5.0/bin/java 0x2807d000 /lib/libz.so.3 0x2808d000 /usr/lib/libpthread.so.2 0x280b2000 /lib/libc.so.6 0x2818b000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so 0x2862c000 /lib/libm.so.4 0x28644000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x28655000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libverify.so 0x28662000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libjava.so 0x28681000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libzip.so 0x35743000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libawt.so 0x357df000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libmlib_image.so 0x3589d000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/xawt/libmawt.so 0x358d4000 /usr/X11R6/lib/libXext.so.6 0x358e1000 /usr/X11R6/lib/libX11.so.6 0x359a2000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libfontmanager.so 0x35a27000 /usr/lib/libstdc++.so.5 0x2d5cb000 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 0x35af1000 /usr/X11R6/lib/libXcursor.so.1 0x35afa000 /usr/X11R6/lib/libXrender.so.1 0x35b02000 /usr/X11R6/lib/libXfixes.so.3 0x35b07000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnet.so 0x35b18000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnio.so 0x35b1f000 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 0x28052000 /libexec/ld-elf.so.1 VM Arguments: java_command: Parser cacm.all Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/diablo-jdk1.5.0 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/pwaelti/bin LD_LIBRARY_PATH=/usr/local/diablo-jdk1.5.0/jre/lib/i386/client:/usr/local/diablo-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/../lib/i386 SHELL=/usr/local/bin/bash DISPLAY=:0.0 Signal Handlers: SIGSEGV: [libjvm.so+0x426680], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGBUS: [libjvm.so+0x426680], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGFPE: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGUSR1: [libjvm.so+0x3872e0], sa_mask[0]=0x00000000, sa_flags=0x00000040 SIGUSR2: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGHUP: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGINT: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGQUIT: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGTERM: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.1-RC2 FreeBSD 6.1-RC2 #2: Mon May 1 11:01:22 CEST 2006 root@pwiux01.heig-vd.ch:/usr/obj/usr/src/sys/PWIUX01 i386 rlimit: STACK 65536k, CORE infinity, NOFILE 11095 CPU:total 2 family 15, cmov, cx8, fxsr, mmx, ht Memory: 4k page, physical 1869604k vm_info: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00) for freebsd-x86, built on Feb 17 2006 00:12:58 by truk with gcc 3.4.4 [FreeBSD] 20050518 ------=_Part_3049_16619328.1146565054660-- From owner-freebsd-java@FreeBSD.ORG Tue May 2 19:43:31 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 C02F316A425 for ; Tue, 2 May 2006 19:43:31 +0000 (UTC) (envelope-from mikemcmillan@sbcglobal.net) Received: from web82112.mail.mud.yahoo.com (web82112.mail.mud.yahoo.com [209.191.84.225]) by mx1.FreeBSD.org (Postfix) with SMTP id CA83A43D6D for ; Tue, 2 May 2006 19:43:28 +0000 (GMT) (envelope-from mikemcmillan@sbcglobal.net) Received: (qmail 95917 invoked by uid 60001); 2 May 2006 19:43:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=E9MnLc41+uhrP7t6+kqf6uQhGj5C2Eg11St90K8AasM1MHwxgF1BCx85X3CL2kegQeNFOemBsUHEF/0j0NYDYGZgA2HdagP9QGSVWnsrUtwFmtTbZIxSMDkUKsNVl4sq8E6ntRciar576602in9MzmymAlK3Wg6tFHUF4RtLHLg= ; Message-ID: <20060502194328.95915.qmail@web82112.mail.mud.yahoo.com> Received: from [169.233.18.203] by web82112.mail.mud.yahoo.com via HTTP; Tue, 02 May 2006 12:43:27 PDT Date: Tue, 2 May 2006 12:43:27 -0700 (PDT) From: Mike McMillan To: freebsd-java@FreeBSD.org, lioux@FreeBSD.org, ports@edini.net, ports@FreeBSD.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-2139511131-1146599007=:94276" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: FreeBSD ports Java bug? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 May 2006 19:43:32 -0000 --0-2139511131-1146599007=:94276 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Id: Content-Disposition: inline I just did a fresh install, with the new Diablo Java 1.5, the program from the ports Azureus. I also installed Limewire from the ports, I had to delete the "distfile" for that one to install. Both Azureus and Limewire crash after they display their loading screens. uname -a FreeBSD fozzy.ucsc.edu 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #8: Wed Apr 5 18:11:20 PDT 2006 fozzy@fozzy.ucsc.edu:/usr/obj/usr/src/sys/FOZZY i386 I have attached the error logs they spit out. -Mike McMillan --0-2139511131-1146599007=:94276-- From owner-freebsd-java@FreeBSD.ORG Wed May 3 00:35:02 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 A6CDC16A402 for ; Wed, 3 May 2006 00:35:02 +0000 (UTC) (envelope-from homer_yau@hotmail.com) Received: from hotmail.com (bay104-f2.bay104.hotmail.com [65.54.175.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AD1943D58 for ; Wed, 3 May 2006 00:35:01 +0000 (GMT) (envelope-from homer_yau@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 2 May 2006 17:35:00 -0700 Message-ID: Received: from 65.54.175.200 by by104fd.bay104.hotmail.msn.com with HTTP; Wed, 03 May 2006 00:34:14 GMT X-Originating-IP: [192.18.144.148] X-Originating-Email: [homer_yau@hotmail.com] X-Sender: homer_yau@hotmail.com From: "Homer Yau" To: freebsd-java@freebsd.org Date: Tue, 02 May 2006 17:34:14 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 03 May 2006 00:35:00.0780 (UTC) FILETIME=[697856C0:01C66E49] Subject: Core dump when using X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 00:35:02 -0000 Hi all, Core dump when using JDK diablo-1.5.0_06 b00 build? Any idea? By the way, when using the keytool it also crash vm. Thks., Hyau /usr/local/diablo-jdk1.5.0/bin/java # /usr/local/diablo-jdk1.5.0/bin/java -version java version "1.5.0" Java(TM) 2 Runtime Environment, Standard Edition (build diablo-1.5.0-b00) Java HotSpot(TM) Client VM (build diablo-1.5.0_06-b00, mixed mode) jdK crash hs_err_pid19500.log =================== # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x284ec324, pid=19500, tid=0x80e8400 # # Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00 mixed mode) # Problematic frame: # V [libjvm.so+0x362324] # --------------- T H R E A D --------------- Current thread (0x080e7600): VMThread [id=135169024] siginfo:si_signo=11, si_errno=0, si_code=12, si_addr=0x00000008 Registers: EAX=0x00000000, EBX=0x2860c7e4, ECX=0x00000008, EDX=0x4d5d0260 ESP=0xbf8fd728, EBP=0xbf8fd738, ESI=0x28620138, EDI=0x28601690 EIP=0x284ec324, EFLAGS=0x00010296 Top of Stack: (sp=0xbf8fd728) 0xbf8fd728: bf8fd748 284ec2fa 2860c7e4 4d5d02f0 0xbf8fd738: bf8fd748 284ec676 2860c7e4 286249f8 0xbf8fd748: bf8fd768 284ec9dc 286249f8 08ce1fc0 0xbf8fd758: bf8fd7d8 2860c7e4 bf8fd7a0 2860c7e4 0xbf8fd768: bf8fd798 2858c654 286200fc 286249f8 0xbf8fd778: 00000001 00000001 bf8fd7f0 2bb0b848 0xbf8fd788: 285bb801 2860c7e4 00000001 0806e400 0xbf8fd798: bf8fd7d8 283c555c 286200fc 00000000 Instructions: (pc=0x284ec324) 0x284ec314: 41 08 89 11 83 ec 08 8b 14 90 8b 42 04 8d 48 08 0x284ec324: 8b 40 08 52 51 ff 50 58 83 c4 10 8b 0e 8b 01 85 Stack: [0xbf8be000,0xbf8fe000), sp=0xbf8fd728, free space=253k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x362324] V [libjvm.so+0x362676] V [libjvm.so+0x3629dc] V [libjvm.so+0x402654] V [libjvm.so+0x23b55c] V [libjvm.so+0x23d2e2] V [libjvm.so+0x23d7d5] V [libjvm.so+0x2439e0] V [libjvm.so+0x3ef379] V [libjvm.so+0x23ae95] V [libjvm.so+0x23bee1] V [libjvm.so+0x42d658] V [libjvm.so+0x42d253] V [libjvm.so+0x42c6f0] V [libjvm.so+0x42ca05] V [libjvm.so+0x42cc00] V [libjvm.so+0x3843b9] C [libpthread.so.2+0x8ab1] _pthread_create+0x6d1 VM_Operation (0xbf6737c0): full generation collection, mode: safepoint, requested by thread 0x081f2200 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x08863400 JavaThread "FileCacheThread-8080WorkerThread-1-0" daemon [_thread_blocked, id=136633856] 0x08062600 JavaThread "DestroyJavaVM" [_thread_blocked, id=134594560] 0x08a17600 JavaThread "Timer-5" daemon [_thread_blocked, id=136630784] 0x08a17400 JavaThread "Timer-4" [_thread_blocked, id=136631808] 0x0824dc00 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/rmi-iiop-simple]]" daemon [_thread_blocked, id=138866176] 0x0874a400 JavaThread "Thread-25" [_thread_blocked, id=141138432] 0x0874a200 JavaThread "p: thread-pool-1; w: 1" daemon [_thread_in_native, id=141137408] 0x0874a000 JavaThread "p: thread-pool-1; w: 0" daemon [_thread_in_native, id=138271232] 0x08735e00 JavaThread "SelectorThread" daemon [_thread_in_native, id=138272256] 0x08885200 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/__JWSappclients]]" daemon [_thread_blocked, id=139063808] 0x08787000 JavaThread "httpWorkerThread-4848-1" daemon [_thread_blocked, id=142111232] 0x0877dc00 JavaThread "httpWorkerThread-4848-0" daemon [_thread_blocked, id=142073344] 0x0877d800 JavaThread "SelectorThread-4848" [_thread_blocked, id=142072320] 0x08726c00 JavaThread "httpWorkerThread-8181-1" daemon [_thread_blocked, id=141716992] 0x08726800 JavaThread "httpWorkerThread-8181-0" daemon [_thread_blocked, id=141715968] 0x08726400 JavaThread "SelectorThread-8181" [_thread_in_native, id=141714944] 0x08488600 JavaThread "httpWorkerThread-8080-1" daemon [_thread_blocked, id=138971136] 0x08488200 JavaThread "httpWorkerThread-8080-0" daemon [_thread_blocked, id=138970112] 0x083bce00 JavaThread "SelectorThread-8080" [_thread_blocked, id=138969088] 0x083bca00 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv]]" daemon [_thread_blocked, id=138136576] 0x083bc400 JavaThread "AccessLogWriter" daemon [_thread_blocked, id=138135040] 0x083bc000 JavaThread "SingleSignOnExpiration" daemon [_thread_blocked, id=138134016] 0x08361a00 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[]]" daemon [_thread_blocked, id=137763840] 0x087f6200 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/hello]]" daemon [_thread_blocked, id=137762816] 0x087f6e00 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[server].StandardContext[/webapps-simple]]" daemon [_thread_blocked, id=137762304] 0x0839b000 JavaThread "AccessLogWriter" daemon [_thread_blocked, id=138271744] 0x08352c00 JavaThread "SingleSignOnExpiration" daemon [_thread_blocked, id=138058752] 0x086d9000 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[]]" daemon [_thread_blocked, id=141398528] 0x087f6a00 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[/web1]]" daemon [_thread_blocked, id=142568448] 0x083a9e00 JavaThread "ContainerBackgroundProcessor[StandardEngine[com.sun.appserv].StandardHost[__asadmin].StandardContext[/asadmin]]" daemon [_thread_blocked, id=138000384] 0x086aa400 JavaThread "Timer-3" [_thread_blocked, id=141207040] 0x0849fc00 JavaThread "RMI RenewClean-[70.232.150.217:54053]" daemon [_thread_blocked, id=138862592] 0x0849f800 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=136851456] 0x0825e400 JavaThread "RMI TCP Accept-8686" daemon [_thread_in_native, id=136807424] 0x083f6a00 JavaThread "Thread-15" [_thread_blocked, id=138374144] 0x083f6600 JavaThread "Thread-14" [_thread_blocked, id=138373120] 0x083f6000 JavaThread "Thread-13" [_thread_blocked, id=138371584] 0x083dd400 JavaThread "RMI RenewClean-[70.232.150.217:55674,com.sun.enterprise.admin.server.core.channel.LocalRMIClientSocketFactory@599d5b]" daemon [_thread_blocked, id=138270208] 0x08410600 JavaThread "Timer-2" daemon [_thread_blocked, id=138479616] 0x08410200 JavaThread "Timer-1" [_thread_blocked, id=138478592] 0x08278c00 JavaThread "RMI LeaseChecker" daemon [_thread_blocked, id=136809984] 0x0825e800 JavaThread "Thread-10" [_thread_in_native, id=136702464] 0x081f2200 JavaThread "GC Daemon" daemon [_thread_blocked, id=136258560] 0x0816de00 JavaThread "RMI Reaper" [_thread_blocked, id=136257536] 0x0816da00 JavaThread "Timer-0" daemon [_thread_blocked, id=135715840] 0x0816d200 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=135713792] 0x08156600 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135620608] 0x08156200 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135619584] 0x080e8e00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135618560] 0x080e8a00 JavaThread "Finalizer" daemon [_thread_blocked, id=135171072] 0x080e8600 JavaThread "Reference Handler" daemon [_thread_blocked, id=135170048] Other Threads: =>0x080e7600 VMThread [id=135169024] 0x080e7100 WatcherThread [id=135621632] VM state:at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x08065f80/0x08065fc0] Threads_lock - owner thread: 0x080e7600 [0x08053d60/0x08067580] Heap_lock - owner thread: 0x081f2200 Heap def new generation total 22976K, used 6063K [0x2d5d0000, 0x2eeb0000, 0x38070000) eden space 20480K, 29% used [0x2d5d0000, 0x2dbbbfe8, 0x2e9d0000) from space 2496K, 0% used [0x2e9d0000, 0x2e9d0000, 0x2ec40000) to space 2496K, 0% used [0x2ec40000, 0x2ec40000, 0x2eeb0000) tenured generation total 50784K, used 30470K [0x38070000, 0x3b208000, 0x4d5d0000) the space 50784K, 59% used [0x38070000, 0x39e31988, 0x39e31a00, 0x3b208000) compacting perm gen total 38912K, used 38854K [0x4d5d0000, 0x4fbd0000, 0x515d0000) the space 38912K, 99% used [0x4d5d0000, 0x4fbc1818, 0x4fbc1a00, 0x4fbd0000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/diablo-jdk1.5.0/jre/../bin/java 0x2807d000 /lib/libz.so.3 0x2808d000 /usr/lib/libpthread.so.2 0x280b2000 /lib/libc.so.6 0x2818a000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so 0x2862b000 /lib/libm.so.4 0x28643000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x28654000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libverify.so 0x28661000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libjava.so 0x28680000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libzip.so 0x51eda000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnet.so 0x54e13000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnio.so 0x54e1a000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/librmi.so 0x54e1c000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libmanagement.so 0x28052000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Xmx512m -XX:NewRatio=2 -Dcom.sun.aas.defaultLogFile=/export/as9_ws/publish/glassfish/domains/domain1/logs/server.log -Dderby.storage.fileSyncTransactionLog=true -Djava.endorsed.dirs=/export/as9_ws/publish/glassfish/lib/endorsed -Djava.security.policy=/export/as9_ws/publish/glassfish/domains/domain1/config/server.policy -Djava.security.auth.login.config=/export/as9_ws/publish/glassfish/domains/domain1/config/login.conf -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.rmi.dgc.client.gcInterval=3600000 -Djavax.net.ssl.keyStore=/export/as9_ws/publish/glassfish/domains/domain1/config/keystore.jks -Djavax.net.ssl.trustStore=/export/as9_ws/publish/glassfish/domains/domain1/config/cacerts.jks -Djava.ext.dirs=/usr/local/diablo-jdk1.5.0/jre/../lib/ext:/export/as9_ws/publish/glassfish/domains/domain1/lib/ext:/export/as9_ws/publish/glassfish/javadb/lib -Djdbc.drivers=org.apache.derby.jdbc.ClientDriver -Djavax.management.builder.initial=com.sun.enterprise.admin.server.core.jmx.AppServerMBeanServerBuilder -Dcom.sun.enterprise.config.config_environment_factory_class=com.sun.enterprise.config.serverbeans.AppserverConfigEnvironmentFactory -Dcom.sun.enterprise.taglibs=appserv-jstl.jar,jsf-impl.jar -Dcom.sun.enterprise.taglisteners=jsf-impl.jar -Dcom.sun.aas.classloader.optionalOverrideableChain=appserv-ws.jar,commons-logging.jar,commons-launcher.jar -Dcom.sun.aas.classloader.appserverChainJars=admin-cli.jar,admin-cli-ee.jar,dbschema.jar,j2ee-svc.jar -Dcom.sun.aas.classloader.serverClassPath.ee=%HADB_HOME%/lib/hadbjdbc4.jar,/export/as9_ws/publish/glassfish/lib/SUNWjdmk/5.1/lib/jdmkrt.jar,%HADB_HOME%/lib/dbstate.jar,%HADB_HOME%/lib/hadbm.jar,%HADB_HOME%/lib/hadbmgt.jar,%MFWK_HOME%/lib/mfwk_instrum_tk.jar -Dcom.sun.aas.configName=server-config -Ddomain.name=domain1 -Djmx.invoke.getters=true -Dcom.sun.aas.promptForIdentity=true -Dcom.sun.aas.classloader.optionalOverrideableChain.ee= -Dcom.sun.aas.instanceRoot=/export/as9_ws/publish/glassfish/domains/domain1 -Dcom.sun.aas.domain java_command: com.sun.enterprise.server.PELaunch start Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/diablo-jdk1.5.0/jre/.. PATH=/usr/local/diablo-jdk1.5.0/bin:/usr/local/ant/bin:/usr/local/share/java/maven/bin:/usr/local/diablo-jdk1.5.0/bin:/usr/local/ant/bin:/usr/local/share/java/maven/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin LD_LIBRARY_PATH=/usr/local/diablo-jdk1.5.0/jre/lib/i386/client:/usr/local/diablo-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/../lib/i386:/export/as9_ws/publish/glassfish/lib:/usr/lib/lwp:/usr/local/diablo-jdk1.5.0/jre/lib/i386/client:/usr/local/diablo-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/../lib/i386:/export/as9_ws/publish/glassfish/lib:/export/as9_ws/publish/glassfish/lib:/export/as9_ws/publish/glassfish/lib: SHELL=/bin/csh HOSTTYPE=FreeBSD OSTYPE=FreeBSD MACHTYPE=i386 Signal Handlers: SIGSEGV: [libjvm.so+0x426680], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGBUS: [libjvm.so+0x426680], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGFPE: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGUSR1: [libjvm.so+0x3872e0], sa_mask[0]=0x00000000, sa_flags=0x00000040 SIGUSR2: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGHUP: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGINT: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGQUIT: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGTERM: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 rlimit: STACK 65536k, CORE infinity, NOFILE 7264 CPU:total 1 family 6, cmov, cx8, fxsr, mmx Memory: 4k page, physical 434796k vm_info: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00) for freebsd-x86, built on Feb 17 2006 00:12:58 by truk with gcc 3.4.4 [FreeBSD] 20050518 java.core dump file ============ GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Core was generated by `java'. Program terminated with signal 6, Aborted. Reading symbols from /lib/libz.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.3 Reading symbols from /usr/lib/libpthread.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libpthread.so.2 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.4 Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads/libhpi.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads/libhpi.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/libverify.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/libverify.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/libjava.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/libjava.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/libzip.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/libzip.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnet.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnet.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnio.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/libnio.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/librmi.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/librmi.so Reading symbols from /usr/local/diablo-jdk1.5.0/jre/lib/i386/libmanagement.so...(no debugging symbols found)...done. Loaded symbols for /usr/local/diablo-jdk1.5.0/jre/lib/i386/libmanagement.so Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x280aa2b7 in pthread_testcancel () from /usr/lib/libpthread.so.2 [New Thread 0x824de00 (runnable)] [New Thread 0x824d200 (sleeping)] [New Thread 0x824d600 (sleeping)] [New Thread 0x846ee00 (sleeping)] [New Thread 0x8699a00 (sleeping)] [New Thread 0x8699600 (runnable)] [New Thread 0x83dda00 (runnable)] [New Thread 0x83dde00 (runnable)] [New Thread 0x849f200 (sleeping)] [New Thread 0x8787200 (sleeping)] [New Thread 0x877de00 (sleeping)] [New Thread 0x877da00 (sleeping)] [New Thread 0x8726e00 (sleeping)] [New Thread 0x8726a00 (sleeping)] [New Thread 0x8726600 (runnable)] [New Thread 0x8488800 (sleeping)] [New Thread 0x8488400 (sleeping)] [New Thread 0x8488000 (sleeping)] [New Thread 0x83bcc00 (sleeping)] [New Thread 0x83bc600 (sleeping)] [New Thread 0x83bc200 (sleeping)] [New Thread 0x8361c00 (sleeping)] [New Thread 0x8361800 (sleeping)] [New Thread 0x8361600 (sleeping)] [New Thread 0x83ddc00 (sleeping)] [New Thread 0x83a9c00 (sleeping)] [New Thread 0x86d9200 (sleeping)] [New Thread 0x87f6c00 (sleeping)] [New Thread 0x839b800 (sleeping)] [New Thread 0x86aa600 (sleeping)] [New Thread 0x846e000 (sleeping)] [New Thread 0x8283000 (runnable)] [New Thread 0x8278400 (runnable)] [New Thread 0x83f6c00 (sleeping)] [New Thread 0x83f6800 (sleeping)] [New Thread 0x83f6200 (sleeping)] [New Thread 0x83dd600 (sleeping)] [New Thread 0x8410800 (sleeping)] [New Thread 0x8410400 (sleeping)] [New Thread 0x8278e00 (sleeping)] [New Thread 0x825ea00 (runnable)] [New Thread 0x81f2400 (sleeping)] [New Thread 0x81f2000 (sleeping)] [New Thread 0x816dc00 (sleeping)] [New Thread 0x816d400 (runnable)] [New Thread 0x8156c00 (sleeping)] [New Thread 0x8156800 (sleeping)] [New Thread 0x8156400 (sleeping)] [New Thread 0x8156000 (sleeping)] [New Thread 0x80e8c00 (sleeping)] [New Thread 0x80e8800 (sleeping)] [New Thread 0x80e8400 (LWP 100106)] [New Thread 0x80e8200 (LWP 100111)] [New Thread 0x805c000 (sleeping)] _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From owner-freebsd-java@FreeBSD.ORG Wed May 3 10:20:12 2006 Return-Path: X-Original-To: freebsd-java@hub.freebsd.org Delivered-To: freebsd-java@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3972516A404 for ; Wed, 3 May 2006 10:20:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF6E543D48 for ; Wed, 3 May 2006 10:20:11 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k43AKB0K043744 for ; Wed, 3 May 2006 10:20:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k43AKBxv043743; Wed, 3 May 2006 10:20:11 GMT (envelope-from gnats) Date: Wed, 3 May 2006 10:20:11 GMT Message-Id: <200605031020.k43AKBxv043743@freefall.freebsd.org> To: freebsd-java@FreeBSD.org From: Lapo Luchini Cc: Subject: Re: ports/85997: [patch] java/jdk15 1.5.0p1_3 causes keyboard problems with NumLock enabled X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lapo Luchini List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 10:20:12 -0000 The following reply was made to PR ports/85997; it has been noted by GNATS. From: Lapo Luchini To: bug-followup@FreeBSD.org, kwlogical@bellsouth.net Cc: Subject: Re: ports/85997: [patch] java/jdk15 1.5.0p1_3 causes keyboard problems with NumLock enabled Date: Wed, 03 May 2006 11:54:02 +0200 Is this really "closed"? I hadn't time to recompile the JDK yet (sorry for the noise, if this patch does indeed fix it all) and moreover I'm using diablo right now (the bug is the very same...) but reading the patch it seems to change only numpad-arrows stuff..? As the original reporter said "I cannot press backspace, I cannot use the arrow keys" and no insert/home/delete/end/pageup/pagedown. From owner-freebsd-java@FreeBSD.ORG Wed May 3 12:29:30 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 0195516A402 for ; Wed, 3 May 2006 12:29:30 +0000 (UTC) (envelope-from Roar.Pettersen@it.uib.no) Received: from alf.uib.no (alf.uib.no [129.177.30.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7101443D49 for ; Wed, 3 May 2006 12:29:29 +0000 (GMT) (envelope-from Roar.Pettersen@it.uib.no) Received: from edprp by alf.uib.no for freebsd-java@FreeBSD.org with local-esmtp (Exim 4.34) id 1FbGTv-0002K1-Iq; Wed, 03 May 2006 14:29:27 +0200 Date: Wed, 3 May 2006 14:29:27 +0200 (CEST) From: Roar Pettersen X-X-Sender: edprp@alf.uib.no To: freebsd-java@FreeBSD.org Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1254324197-1146659367=:14570" Sender: Roar Pettersen Cc: Subject: jdk1.5 compile problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 12:29:30 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-1254324197-1146659367=:14570 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Hello ! Trying to compile jdk1.5 on my FreeBSD 6.1-RC system I get this error message : adding: snmp/SNMPv2BulkRequestPDU.class(in = 2246) (out= 1180)(deflated 47%) # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGBUS (0xa) at pc=0x2854b760, pid=45191, tid=0x8172600 # # Java VM: Java HotSpot(TM) Server VM (diablo-1.5.0_06-b00 mixed mode) # Problematic frame: # V [libjvm.so+0x3c0760] # # An error report file with more information is saved as hs_err_pid45191.log # # If you would like to submit a bug report, please write # a letter to freebsd-java@FreeBSD.org mailing list # Abort trap (core dumped) *** Error code 134 Stop in /usr/ports/java/drexelsnmp. *** Error code 1 I have attached the hs_err_pid45191.log file -- Med vennlig hilsen / Regards; Roar Pettersen Universitetet i Bergen - The University of Bergen Nygardsgt. 5 - N-5020 BERGEN - Norway Tlf: +47 55 58 40 55 VIP: 81503 fax: +47 55 58 40 70 roar.pettersen@it.uib.no - IT-Avd, UiB - http://www.uib.no ---559023410-1254324197-1146659367=:14570 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=hs_err_pid45191.log Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: attachment; filename=hs_err_pid45191.log Iw0KIyBBbiB1bmV4cGVjdGVkIGVycm9yIGhhcyBiZWVuIGRldGVjdGVkIGJ5 IEhvdFNwb3QgVmlydHVhbCBNYWNoaW5lOg0KIw0KIyAgU0lHQlVTICgweGEp IGF0IHBjPTB4Mjg1NGI3NjAsIHBpZD00NTE5MSwgdGlkPTB4ODE3MjYwMA0K Iw0KIyBKYXZhIFZNOiBKYXZhIEhvdFNwb3QoVE0pIFNlcnZl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pDUFU6 dG90YWwgMiBmYW1pbHkgNiwgY21vdiwgY3g4LCBmeHNyLCBtbXgNCg0KTWVt b3J5OiA0ayBwYWdlLCBwaHlzaWNhbCA4NzYyMDRrDQoNCnZtX2luZm86IEph dmEgSG90U3BvdChUTSkgU2VydmVyIFZNIChkaWFibG8tMS41LjBfMDYtYjAw KSBmb3IgZnJlZWJzZC14ODYsIGJ1aWx0IG9uIEZlYiAxNiAyMDA2IDIzOjE1 OjM5IGJ5IHRydWsgd2l0aCBnY2MgMy40LjQgW0ZyZWVCU0RdIDIwMDUwNTE4 DQoNCg== ---559023410-1254324197-1146659367=:14570-- From owner-freebsd-java@FreeBSD.ORG Wed May 3 14:54:49 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 AD11C16A437 for ; Wed, 3 May 2006 14:54:49 +0000 (UTC) (envelope-from ric@jonnycalcutta.com) Received: from home.jonnycalcutta.com (cpc2-ruth2-0-0-cust133.renf.cable.ntl.com [82.11.56.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5751F43D6B for ; Wed, 3 May 2006 14:54:46 +0000 (GMT) (envelope-from ric@jonnycalcutta.com) Received: from [10.0.0.5] ([10.0.0.5]) (authenticated bits=0) by home.jonnycalcutta.com (8.13.4/8.13.4) with ESMTP id k43EoBYY024135 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Wed, 3 May 2006 15:50:14 +0100 (BST) (envelope-from ric@jonnycalcutta.com) Message-ID: <4458C430.9060005@jonnycalcutta.com> Date: Wed, 03 May 2006 15:54:40 +0100 From: Richard Cooper User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Diablo 1.5 SIGBUS X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 14:54:49 -0000 Hi, I'm running tomcat on FreeBSD 6.1-RC with diablo -1.5.0.06.00 (this is the current port as of today). This is on an amd64 X2 with SMP running. I am getting the SIGBUS error that was mentioned back in April - > I was able to catch the SIGBUS in gdb once so far on a remote > multiprocessor system. There was some evidence that the use of > of the jvm argument -XX:+UseMembar will help correct the problem. > I wasn't readily able to reproduce the problem so I'm not sure > yet if this is the proper solution. Can those of you who are > getting the SIGBUS try this and see if it improves things? It seems the problem has some kind of temporary fix at least. _My_ problem is I am no developer (bash and cgi are about my limits - I'm setting up a load test machine for tomcat developers). So if someone could be kind enough to give me a quick step by step on how to execute this solution I would be eternally grateful. I've looked in /usr/local/bin/javavm, as it was suggested adding the above fix there, but I wouldn't even know where to start. Thanks for any help, Cheers Richard From owner-freebsd-java@FreeBSD.ORG Wed May 3 16:32:53 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 9933E16A401 for ; Wed, 3 May 2006 16:32:53 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 57C0C43D5C for ; Wed, 3 May 2006 16:32:51 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id k43GWoOb038072; Wed, 3 May 2006 09:32:50 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id k43GWn7B038071; Wed, 3 May 2006 09:32:49 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 3 May 2006 09:32:49 -0700 From: Greg Lewis To: Philippe Waelti Message-ID: <20060503163249.GA37932@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: [BUG] Unexpected error in HotSpot Virtual Machine X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 16:32:53 -0000 On Tue, May 02, 2006 at 12:17:34PM +0200, Philippe Waelti wrote: > Hello ! > > Here's an unexpected error which arrive using one of my student's program. Looks like the known problem with MP machines. Please add -XX:+UseMembar to the invocation of java. -- 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 3 16:34:22 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 93EB416A404; Wed, 3 May 2006 16:34:22 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E07AA43D7B; Wed, 3 May 2006 16:34:15 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id k43GYAkK038107; Wed, 3 May 2006 09:34:10 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id k43GY98s038106; Wed, 3 May 2006 09:34:09 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 3 May 2006 09:34:09 -0700 From: Greg Lewis To: Mike McMillan Message-ID: <20060503163409.GB37932@misty.eyesbeyond.com> References: <20060502194328.95915.qmail@web82112.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060502194328.95915.qmail@web82112.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.1i Cc: ports@freebsd.org, ports@edini.net, lioux@freebsd.org, freebsd-java@freebsd.org Subject: Re: FreeBSD ports Java bug? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 16:34:23 -0000 On Tue, May 02, 2006 at 12:43:27PM -0700, Mike McMillan wrote: > I just did a fresh install, with the new Diablo Java > 1.5, the program from the ports Azureus. I also > installed Limewire from the ports, I had to delete the > "distfile" for that one to install. Both Azureus and > Limewire crash after they display their loading > screens. > > uname -a > > FreeBSD fozzy.ucsc.edu 6.1-PRERELEASE FreeBSD > 6.1-PRERELEASE #8: Wed Apr 5 18:11:20 PDT 2006 > fozzy@fozzy.ucsc.edu:/usr/obj/usr/src/sys/FOZZY i386 > > I have attached the error logs they spit out. Hmmm, they seem to be missing. No matter. If this is an MP system, then please make sure you invoke java with -XX:+UseMembar -- 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 3 16:35:08 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 6CF1916A40D for ; Wed, 3 May 2006 16:35:08 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE63443D53 for ; Wed, 3 May 2006 16:35:05 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id k43GZ4Qk038123; Wed, 3 May 2006 09:35:04 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id k43GZ4aO038122; Wed, 3 May 2006 09:35:04 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 3 May 2006 09:35:03 -0700 From: Greg Lewis To: Homer Yau Message-ID: <20060503163503.GC37932@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: Core dump when using X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 16:35:09 -0000 On Tue, May 02, 2006 at 05:34:14PM -0700, Homer Yau wrote: > Core dump when using JDK diablo-1.5.0_06 b00 build? Any idea? > By the way, when using the keytool it also crash vm. If this is an MP machine, please make sure you invoke java with -XX:+UseMembar -- 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 3 16:43:25 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 EFCB816A402 for ; Wed, 3 May 2006 16:43:25 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 559DF43D45 for ; Wed, 3 May 2006 16:43:25 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id k43GhNL3038165; Wed, 3 May 2006 09:43:24 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id k43GhNiO038164; Wed, 3 May 2006 09:43:23 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 3 May 2006 09:43:23 -0700 From: Greg Lewis To: Richard Cooper Message-ID: <20060503164323.GD37932@misty.eyesbeyond.com> References: <4458C430.9060005@jonnycalcutta.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4458C430.9060005@jonnycalcutta.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@FreeBSD.org Subject: Re: Diablo 1.5 SIGBUS X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 16:43:26 -0000 On Wed, May 03, 2006 at 03:54:40PM +0100, Richard Cooper wrote: > I'm running tomcat on FreeBSD 6.1-RC with diablo -1.5.0.06.00 (this is > the current port as of today). This is on an amd64 X2 with SMP running. > > I am getting the SIGBUS error that was mentioned back in April - > > > I was able to catch the SIGBUS in gdb once so far on a remote > > multiprocessor system. There was some evidence that the use of > > of the jvm argument -XX:+UseMembar will help correct the problem. > > I wasn't readily able to reproduce the problem so I'm not sure > > yet if this is the proper solution. Can those of you who are > > getting the SIGBUS try this and see if it improves things? > > It seems the problem has some kind of temporary fix at least. _My_ > problem is I am no developer (bash and cgi are about my limits - I'm > setting up a load test machine for tomcat developers). So if someone > could be kind enough to give me a quick step by step on how to execute > this solution I would be eternally grateful. I've looked in > /usr/local/bin/javavm, as it was suggested adding the above fix there, > but I wouldn't even know where to start. You did say bash was within your limits, and javavm is a shell script... :) A quick and dirty hack would involve something like this. Every where it invokes tryJavaCommand (there are about 6 instances) you need to add -XX:+UseMembar. That is, the lines look something like: tryJavaCommand "PATH_TO_JAVA_COMMAND" "${@}" make them tryJavaCommand "PATH_TO_JAVA_COMMAND" -XX:+UseMembar "${@}" You don't really need to change all six instances, but which to change depends on your usage pattern, so changing all 6 is safe. If that works you owe me two beers... ;) -- 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 3 16:46:33 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 B0DEA16A401 for ; Wed, 3 May 2006 16:46:33 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED34A43D49 for ; Wed, 3 May 2006 16:46:32 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id k43GkV5d038231; Wed, 3 May 2006 09:46:31 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id k43GkUOT038230; Wed, 3 May 2006 09:46:30 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 3 May 2006 09:46:30 -0700 From: Greg Lewis To: Roar Pettersen Message-ID: <20060503164630.GE37932@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: jdk1.5 compile problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 16:46:33 -0000 On Wed, May 03, 2006 at 02:29:27PM +0200, Roar Pettersen wrote: > Trying to compile jdk1.5 on my FreeBSD 6.1-RC system I get > this error message : You are almost running into the known bug with Diablo on SMP machines. The easiest way around it in this case is to specify either WITH_LINUX_BOOTSTRAP or redefine NATIVE_BOOTSTRAP_JDKS during the make invocation. -- 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 3 17:40:22 2006 Return-Path: X-Original-To: java@freebsd.org 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 4B07816A41B for ; Wed, 3 May 2006 17:40:22 +0000 (UTC) (envelope-from WillS@housing.ufl.edu) Received: from smtp.housing.ufl.edu (smtp2.housing.ufl.edu [128.227.47.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9EA743D75 for ; Wed, 3 May 2006 17:40:20 +0000 (GMT) (envelope-from WillS@housing.ufl.edu) Received: (qmail 21812 invoked by uid 98); 3 May 2006 17:40:19 -0000 Received: from 128.227.47.15 by smtp1.housing.ufl.edu (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: 0.87/1082. spamassassin: 3.0.4. Clear:RC:1(128.227.47.15):. Processed in 0.034237 secs); 03 May 2006 17:40:19 -0000 X-Qmail-Scanner-Mail-From: WillS@housing.ufl.edu via smtp1.housing.ufl.edu X-Qmail-Scanner: 1.25 (Clear:RC:1(128.227.47.15):. Processed in 0.034237 secs) Received: from exchange.housing.ufl.edu (128.227.47.15) by smtp.housing.ufl.edu with SMTP; 3 May 2006 17:40:19 -0000 Received: from 10.2.1.250 ([10.2.1.250]) by exchange.housing.ufl.edu ([128.227.47.15]) with Microsoft Exchange Server HTTP-DAV ; Wed, 3 May 2006 17:40:18 +0000 Received: from tyr by webmail.housing.ufl.edu; 03 May 2006 17:42:06 +0000 From: Will Saxon To: java@freebsd.org Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 03 May 2006 13:42:06 -0400 Message-Id: <1146678126.12238.346.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Cc: Subject: Membar issue i386 specific? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 17:40:22 -0000 Hello, Is the SIGBUS issue requiring the use of -XX:+UseMembar i386 specific? I was positive that I had used this option before on an amd64 machine but today when I went to edit my /usr/local/bin/javavm script (per a prior post by Greg Lewis) and tried to execute a java program I received the following error: Unrecognized VM option '+UseMembar' Could not create the Java virtual machine. I verified that this occurs when passed on the command line also. -Will From owner-freebsd-java@FreeBSD.ORG Wed May 3 18:40:47 2006 Return-Path: X-Original-To: java@freebsd.org 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 C867916A459 for ; Wed, 3 May 2006 18:40:47 +0000 (UTC) (envelope-from sean@mcneil.com) Received: from mail.mcneil.com (mcneil.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7892A43DA9 for ; Wed, 3 May 2006 18:40:31 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 3ADC4F27D9; Wed, 3 May 2006 11:40:31 -0700 (PDT) X-Virus-Scanned: by amavisd-new at mcneil.com Received: from mail.mcneil.com ([127.0.0.1]) by localhost (triton.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H5KbDS1FqCBh; Wed, 3 May 2006 11:40:30 -0700 (PDT) Received: from mcneil.com (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 4E0BAF19EA; Wed, 3 May 2006 11:40:30 -0700 (PDT) From: Sean McNeil To: Will Saxon In-Reply-To: <1146678126.12238.346.camel@localhost> References: <1146678126.12238.346.camel@localhost> Content-Type: text/plain Date: Wed, 03 May 2006 11:40:30 -0700 Message-Id: <1146681630.50868.4.camel@triton.mcneil.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: java@freebsd.org Subject: Re: Membar issue i386 specific? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 18:40:48 -0000 On Wed, 2006-05-03 at 13:42 -0400, Will Saxon wrote: > Hello, > > Is the SIGBUS issue requiring the use of -XX:+UseMembar i386 specific? I > was positive that I had used this option before on an amd64 machine but > today when I went to edit my /usr/local/bin/javavm script (per a prior > post by Greg Lewis) and tried to execute a java program I received the > following error: > > Unrecognized VM option '+UseMembar' > Could not create the Java virtual machine. > > I verified that this occurs when passed on the command line also. The amd64 port isn't Diablo and this was introduced into that code base. UseMemBar is not available in the ports version of jdk15 and is not necessary. It is only for the binary Diablo version which is only available for i386 at the moment. From owner-freebsd-java@FreeBSD.ORG Wed May 3 18:42:10 2006 Return-Path: X-Original-To: java@freebsd.org 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 5A8C416A403 for ; Wed, 3 May 2006 18:42:10 +0000 (UTC) (envelope-from WillS@housing.ufl.edu) Received: from smtp.housing.ufl.edu (smtp1.housing.ufl.edu [128.227.47.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 94D0343D45 for ; Wed, 3 May 2006 18:42:09 +0000 (GMT) (envelope-from WillS@housing.ufl.edu) Received: (qmail 10629 invoked by uid 98); 3 May 2006 18:42:08 -0000 Received: from 128.227.47.15 by smtp2.housing.ufl.edu (envelope-from , uid 82) with qmail-scanner-1.25 (clamdscan: 0.83/705. spamassassin: 3.0.2. Clear:RC:1(128.227.47.15):. Processed in 0.038263 secs); 03 May 2006 18:42:08 -0000 X-Qmail-Scanner-Mail-From: WillS@housing.ufl.edu via smtp2.housing.ufl.edu X-Qmail-Scanner: 1.25 (Clear:RC:1(128.227.47.15):. Processed in 0.038263 secs) Received: from exchange.housing.ufl.edu (128.227.47.15) by smtp.housing.ufl.edu with SMTP; 3 May 2006 18:42:08 -0000 Received: from 10.2.1.250 ([10.2.1.250]) by exchange.housing.ufl.edu ([128.227.47.15]) with Microsoft Exchange Server HTTP-DAV ; Wed, 3 May 2006 18:42:08 +0000 Received: from tyr by webmail.housing.ufl.edu; 03 May 2006 18:43:56 +0000 From: Will Saxon To: Sean McNeil In-Reply-To: <1146681630.50868.4.camel@triton.mcneil.com> References: <1146678126.12238.346.camel@localhost> <1146681630.50868.4.camel@triton.mcneil.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Wed, 03 May 2006 14:43:56 -0400 Message-Id: <1146681836.12238.359.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 Cc: java@freebsd.org Subject: Re: Membar issue i386 specific? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 18:42:10 -0000 On Wed, 2006-05-03 at 14:40 -0400, Sean McNeil wrote: > On Wed, 2006-05-03 at 13:42 -0400, Will Saxon wrote: > > Hello, > > > > Is the SIGBUS issue requiring the use of -XX:+UseMembar i386 > specific? I > > was positive that I had used this option before on an amd64 machine > but > > today when I went to edit my /usr/local/bin/javavm script (per a > prior > > post by Greg Lewis) and tried to execute a java program I received > the > > following error: > > > > Unrecognized VM option '+UseMembar' > > Could not create the Java virtual machine. > > > > I verified that this occurs when passed on the command line also. > > The amd64 port isn't Diablo and this was introduced into that code > base. > UseMemBar is not available in the ports version of jdk15 and is not > necessary. It is only for the binary Diablo version which is only > available for i386 at the moment. > OK. I experience frequent Hotspot VM errors on this machine and hoped maybe it was the same error. I guess not. -Will From owner-freebsd-java@FreeBSD.ORG Wed May 3 19:49:18 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 5305E16A43D for ; Wed, 3 May 2006 19:49:18 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from drone1.qsi.net.nz (drone1-svc-skyt.qsi.net.nz [202.89.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8F7E43E3F for ; Wed, 3 May 2006 19:47:46 +0000 (GMT) (envelope-from jonc@chen.org.nz) Received: (qmail 28176 invoked by uid 0); 3 May 2006 19:47:11 -0000 Received: from unknown (HELO chen.org.nz) ([202.89.146.5]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 3 May 2006 19:47:11 -0000 Received: by chen.org.nz (Postfix, from userid 1000) id EDCEC5643F; Thu, 4 May 2006 07:47:10 +1200 (NZST) Date: Thu, 4 May 2006 07:47:10 +1200 From: Jonathan Chen To: Lapo Luchini Message-ID: <20060503194710.GB2870@osiris.chen.org.nz> References: <200605031020.k43AKBxv043743@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605031020.k43AKBxv043743@freefall.freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@FreeBSD.org Subject: Re: ports/85997: [patch] java/jdk15 1.5.0p1_3 causes keyboard problems with NumLock enabled X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 May 2006 19:49:21 -0000 On Wed, May 03, 2006 at 10:20:11AM +0000, Lapo Luchini wrote: > The following reply was made to PR ports/85997; it has been noted by GNATS. > > From: Lapo Luchini > To: bug-followup@FreeBSD.org, kwlogical@bellsouth.net > Cc: > Subject: Re: ports/85997: [patch] java/jdk15 1.5.0p1_3 causes keyboard problems > with NumLock enabled > Date: Wed, 03 May 2006 11:54:02 +0200 > > Is this really "closed"? > > I hadn't time to recompile the JDK yet (sorry for the noise, if this > patch does indeed fix it all) and moreover I'm using diablo right now > (the bug is the very same...) but reading the patch it seems to change > only numpad-arrows stuff..? It seems to fix everything for me. Prior to this patch, when Numlock was enabled, almost all `non-white-keys' (tab, backspace, arrows, etc), as well as the numeric keypad, did not function correctly. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "With sufficient thrust, pigs fly just fine. However, this is not necessarily a good idea. It is hard to be sure where they are going to land, and it could be dangerous sitting under them as they fly overhead." -- RFC 1925 From owner-freebsd-java@FreeBSD.ORG Thu May 4 12:18:38 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 2AB5616A405 for ; Thu, 4 May 2006 12:18:38 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D84443D4C for ; Thu, 4 May 2006 12:18:33 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (omega.iib.unsam.edu.ar [192.168.10.14]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k44CK4Kq012391 for ; Thu, 4 May 2006 09:20:05 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (localhost [127.0.0.1]) by omega.iib.unsam.edu.ar (8.13.4/8.13.4) with ESMTP id k44CIDTi003857 for ; Thu, 4 May 2006 09:18:13 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by omega.iib.unsam.edu.ar (8.13.4/8.13.3/Submit) id k44CIC79003856 for freebsd-java@freebsd.org; Thu, 4 May 2006 09:18:12 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: omega.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Thu, 4 May 2006 09:18:12 -0300 From: Fernan Aguero To: freebsd-java@freebsd.org Message-ID: <20060504121812.GA94022@iib.unsam.edu.ar> Mail-Followup-To: Fernan Aguero , freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Subject: java without X11? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 12:18:38 -0000 Hi! I was setting up a headless (no X11, no GUI) box and had to install java (required by apache-ant and by a java code that interacts with an underlying postgresql database). I want this box to run only the base system (cut down to only essential daemons/processes) and one application (postgresql + associated perl/java layers). I was installing diablo-jdk15 from a package ... and followed the warning about a missing required dependency (xorg-libraries). Even though I didn't want X11, it would just be the libraries ... so I went ahead. I was then surprised when xorg-libraries in turn pulled freetype, fontconfig, pkgconfig (isn't this a gnome thing?), libdrm ... too much X11 stuff for my taste. Perhaps I could have ignored the warning altogether and keep jdk15 installed without xorg-libraries? Anyone did this? If yes, I could go now and pkg_delete all X11 stuff ... A quick browse through other jdk ports show that they all (by default) require X11 either directly or through inclusion of some motif dependency. I know that a lot of java apps depend on GUI functionality provided by the language, but is this java+X11 a thing that cannot be separated? (i.e. X11 is rooted too deep into java) or maybe it could be separated and we could have an optional WITHOUT_X11 in the various jdk ports? Thanks, Fernan From owner-freebsd-java@FreeBSD.ORG Thu May 4 12:40:03 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 7CF3716A405 for ; Thu, 4 May 2006 12:40:03 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 219A543D48 for ; Thu, 4 May 2006 12:39:56 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (omega.iib.unsam.edu.ar [192.168.10.14]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k44CfRKq012984 for ; Thu, 4 May 2006 09:41:28 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (localhost [127.0.0.1]) by omega.iib.unsam.edu.ar (8.13.4/8.13.4) with ESMTP id k44CdaOZ009061 for ; Thu, 4 May 2006 09:39:36 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by omega.iib.unsam.edu.ar (8.13.4/8.13.3/Submit) id k44CdZP7009060 for freebsd-java@freebsd.org; Thu, 4 May 2006 09:39:35 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: omega.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Thu, 4 May 2006 09:39:35 -0300 From: Fernan Aguero To: freebsd-java@freebsd.org Message-ID: <20060504123935.GB94022@iib.unsam.edu.ar> Mail-Followup-To: Fernan Aguero , freebsd-java@freebsd.org References: <20060504121812.GA94022@iib.unsam.edu.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060504121812.GA94022@iib.unsam.edu.ar> User-Agent: Mutt/1.5.11 Subject: Re: java without X11? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 12:40:03 -0000 +----[ To freebsd-java@freebsd.org (04.May.2006 09:18): | | Hi! | | I was setting up a headless (no X11, no GUI) box and had to | install java (required by apache-ant and by a java code that | interacts with an underlying postgresql database). | | I want this box to run only the base system (cut down to | only essential daemons/processes) and one application | (postgresql + associated perl/java layers). [ snipped ] | I know that a lot of java apps depend on GUI functionality | provided by the language, but is this java+X11 a thing that | cannot be separated? (i.e. X11 is rooted too deep into | java) or maybe it could be separated and we could have an | optional WITHOUT_X11 in the various jdk ports? Now replying to myself. After a couple of google searches, it seems like yes, X11 (at least before jdk15) was too tied to java. The following, however, suggests that jdk15 can be run in headless boxes without X11, even when there is java code that generates and/or works with graphics http://www.eteks.com/pja/en/forum/viewSubject.jsp?subjectId=481#612 I'm not a java expert at all, just a consumer of java tools, so I can't really think of helping with a non-X11 jdk15 ... but maybe I can push this on the freebsd-java agenda :) ? | | Thanks, | | Fernan | +----] From owner-freebsd-java@FreeBSD.ORG Thu May 4 12:52:22 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 D70A716A40A for ; Thu, 4 May 2006 12:52:22 +0000 (UTC) (envelope-from arnej@pvv.ntnu.no) Received: from decibel.pvv.ntnu.no (decibel.pvv.ntnu.no [129.241.210.179]) by mx1.FreeBSD.org (Postfix) with ESMTP id 088B643D48 for ; Thu, 4 May 2006 12:52:21 +0000 (GMT) (envelope-from arnej@pvv.ntnu.no) Received: from arnej by decibel.pvv.ntnu.no with local (Exim 4.52) id 1FbdJa-0008Js-9G for freebsd-java@freebsd.org; Thu, 04 May 2006 14:52:18 +0200 Date: Thu, 4 May 2006 14:52:18 +0200 (CEST) From: "Arne H. Juul" To: freebsd-java@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-243158062-550527908-1146747138=:29744" Subject: jdk15 from update5 sources X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 12:52:23 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---243158062-550527908-1146747138=:29744 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed For those of us who can't use the diablo binary release for one reason or the other, it's a problem that the BSD patches from eyesbeyond.com use the SCSL sources, since there are many problems in those that are fixed in the various update 1 to 6 releases. Sun has released sources on tiger.dev.java.net for update 3, 4, and 5 (but not update 6, at least not yet). These are under the JIUL license which seems to be more permissive than SCSL (too much legalese for me to say for sure). So I've downloaded the update 5 sources and applied the bsd-jdk15-patches-3.tar.bz2 (with some rejects). Then I've fixed the issues with rejected patches and done some changes based on the changes between SCSL sources and update 5 sources (see attached patch). The result works pretty well for me when compiled on FreeBSD 4.x for running standalone java applications; I have no idea if it works for webstart, or browser plugins, or as a basis for java frameworks. But maybe somebody else may find it useful to go this route; I still get the occasional crash deep inside the garbage collection parts of the VM but at least this is much more stable than the version I get from compiling ports/jdk the usual way. - Arne H. J. ---243158062-550527908-1146747138=:29744 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=diff.jdk-1_5_0-05.txt Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: diff.jdk-1_5_0-05.txt Content-Disposition: attachment; filename=diff.jdk-1_5_0-05.txt ZGlmZiAtcnVOIGpkay0xXzVfMC0wNS5ic2QtcDMvY29udHJvbC9tYWtlL2Nv bW1vbi9EZWZzLmdtayBqZGstMV81XzAtMDUuYnNkLXAzLXg0L2NvbnRyb2wv bWFrZS9jb21tb24vRGVmcy5nbWsNCi0tLSBqZGstMV81XzAtMDUuYnNkLXAz L2NvbnRyb2wvbWFrZS9jb21tb24vRGVmcy5nbWsJVGh1IE1heSAgNCAwNTow ODoyMSAyMDA2DQorKysgamRrLTFfNV8wLTA1LmJzZC1wMy14NC9jb250cm9s L21ha2UvY29tbW9uL0RlZnMuZ21rCVRodSBNYXkgIDQgMDU6MzA6NDcgMjAw Ng0KQEAgLTEwOCwxMiArMTA4LDEyIEBADQogZW5kaWYNCiANCiBpZm5kZWYg TUlMRVNUT05FDQotICAgTUlMRVNUT05FID0gaW50ZXJuYWwNCisgICBNSUxF U1RPTkUgPSB1NXAzDQogZW5kaWYNCiANCiBpZm5kZWYgQlVJTERfTlVNQkVS DQogIyAgIHVzZSAnOj0nIHRvIGtlZXAgdGhpcyB2YWx1ZSBmcm9tIGNoYW5n aW5nIGFzIHRpbWUgbWFyY2hlcyBvbi4uLg0KLSAgQlVJTERfTlVNQkVSIDo9 ICQoc2hlbGwgJChFQ0hPKSAkKFVTRVIpX2AkKERBVEUpICcrJWRfJWJfJVlf JUhfJU0nIHwgJChUUikgI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NZW1iYXIpIHsNCisgICAgYWRkcmVzcyBtZW1fc2Vy aWFsaXplX3BhZ2UgPSAoYWRkcmVzcykgOjptbWFwKE5VTEwsIHBhZ2Vfc2l6 ZSwNCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIFBST1RfUkVBRCB8IFBST1RfV1JJVEUsDQorICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBNQVBf UFJJVkFURXxNQVBfQU5PTiwNCisgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgIC0xLCAwKTsNCisgICAgZ3VhcmFu dGVlKCBtZW1fc2VyaWFsaXplX3BhZ2UgIT0gTlVMTCwNCisgICAgICAgICAg ICAgICAibW1hcCBGYWlsZWQgZm9yIG1lbW9yeSBzZXJpYWxpemUgcGFnZSIp Ow0KKyAgICBvczo6c2V0X21lbW9yeV9zZXJpYWxpemVfcGFnZSggbWVtX3Nl cmlhbGl6ZV9wYWdlICk7DQorICB9DQorDQorI2lmIDANCiAgIGlmIChVc2VN UFNTKSB7DQotICAgIEJzZDo6bXBzc19zYW5pdHlfY2hlY2soKTsNCisgICAg dHR5LT5wcmludF9jcigiXG5DYW5ub3QgdXNlIE1QU1Mgb24gdGhpcyBPUy5c biIpOw0KKyAgICBleGl0KDEpOw0KKyAgfSAgICAgIA0KKyNlbmRpZg0KKyAg aWYgKFVzZUxhcmdlUGFnZXMpIHsNCisgICAgdHR5LT5wcmludF9jcigiXG5M YXJnZSBwYWdlcyBub3Qgc3VwcG9ydGVkIG9uIHRoaXMgT1MuXG4iKTsNCisg ICAgZXhpdCgxKTsNCiAgIH0gICAgICANCiANCiAgIC8vIENoZWNrIG1pbmlt dW0gYWxsb3dhYmxlIHN0YWNrIHNpemUgZm9yIHRocmVhZCBjcmVhdGlvbiBh bmQgdG8gaW5pdGlhbGl6ZQ0KQEAgLTMwOTksNCArMzExNSw2MiBAQA0KICA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XNzLA0KICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgamxvbmcgbGVuKQ0KIHsN CisjaWYgZGVmaW5lZChfQUxMQlNEX1NPVVJDRSkNCisgICAgamxvbmcgcGFn ZVNpemUgPSBnZXRwYWdlc2l6ZSgpOw0KKyNlbHNlDQogICAgIGpsb25nIHBh Z2VTaXplID0gc3lzY29uZihfU0NfUEFHRVNJWkUpOw0KKyNlbmRpZg0KICAg ICB1bnNpZ25lZCBsb25nIGxBZGRyZXNzID0gYWRkcmVzczsgDQogIA0KICAg ICBqbG9uZyBvZmZzZXQgPSBsQWRkcmVzcyAlIHBhZ2VTaXplOyANCg== ---243158062-550527908-1146747138=:29744-- From owner-freebsd-java@FreeBSD.ORG Thu May 4 13:00:02 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 F3A4616A402 for ; Thu, 4 May 2006 13:00:01 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id E576C43D4C for ; Thu, 4 May 2006 13:00:00 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id k44E9JOp003509; Thu, 4 May 2006 17:09:19 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id k44E9JTQ003505; Thu, 4 May 2006 17:09:19 +0300 Date: Thu, 4 May 2006 17:09:19 +0300 (EEST) From: Achilleus Mantzios To: Fernan Aguero In-Reply-To: <20060504121812.GA94022@iib.unsam.edu.ar> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: java without X11? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 13:00:02 -0000 O Fernan Aguero Ýãñáøå óôéò May 4, 2006 : > Hi! > > I was setting up a headless (no X11, no GUI) box and had to > install java (required by apache-ant and by a java code that > interacts with an underlying postgresql database). > > I want this box to run only the base system (cut down to > only essential daemons/processes) and one application > (postgresql + associated perl/java layers). > > I was installing diablo-jdk15 from a package ... and > followed the warning about a missing required dependency > (xorg-libraries). Even though I didn't want X11, it would > just be the libraries ... so I went ahead. > > I was then surprised when xorg-libraries in turn pulled > freetype, fontconfig, pkgconfig (isn't this a gnome thing?), > libdrm ... too much X11 stuff for my taste. > > Perhaps I could have ignored the warning altogether and keep > jdk15 installed without xorg-libraries? Anyone did this? > If yes, I could go now and pkg_delete all X11 stuff ... > > A quick browse through other jdk ports show that they all > (by default) require X11 either directly or through > inclusion of some motif dependency. > > I know that a lot of java apps depend on GUI functionality > provided by the language, but is this java+X11 a thing that > cannot be separated? (i.e. X11 is rooted too deep into > java) or maybe it could be separated and we could have an > optional WITHOUT_X11 in the various jdk ports? Technically speaking AWT uses various X11 libs: libXp, libXt, libXext, libXtst, libXmu, libX11, libSM, libICE. If your server setup ever needs creating graphs, images, charts, etc... you will definately need X11. Even if your server never does any imaging, i think a correct installation should have all dynamic object (.so.* files) dependencies in place before any serious use. > > Thanks, > > Fernan > _______________________________________________ > 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" > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Thu May 4 13:07:52 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 5E2DD16A403 for ; Thu, 4 May 2006 13:07:52 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 45A1443D48 for ; Thu, 4 May 2006 13:07:50 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id k44EH9Op003533; Thu, 4 May 2006 17:17:09 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id k44EH95x003529; Thu, 4 May 2006 17:17:09 +0300 Date: Thu, 4 May 2006 17:17:09 +0300 (EEST) From: Achilleus Mantzios To: Fernan Aguero In-Reply-To: <20060504123935.GB94022@iib.unsam.edu.ar> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: java without X11? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 13:07:52 -0000 O Fernan Aguero Ýãñáøå óôéò May 4, 2006 : > +----[ To freebsd-java@freebsd.org (04.May.2006 09:18): > | > | Hi! > | > | I was setting up a headless (no X11, no GUI) box and had to > | install java (required by apache-ant and by a java code that > | interacts with an underlying postgresql database). > | > | I want this box to run only the base system (cut down to > | only essential daemons/processes) and one application > | (postgresql + associated perl/java layers). > > [ snipped ] > > | I know that a lot of java apps depend on GUI functionality > | provided by the language, but is this java+X11 a thing that > | cannot be separated? (i.e. X11 is rooted too deep into > | java) or maybe it could be separated and we could have an > | optional WITHOUT_X11 in the various jdk ports? > > Now replying to myself. After a couple of google searches, > it seems like yes, X11 (at least before jdk15) was too tied > to java. My previous message regraded jdk 1.4.2, i havent checked with jdk 1.5. (sorry) > > The following, however, suggests that jdk15 can be run in > headless boxes without X11, even when there is java code > that generates and/or works with graphics > http://www.eteks.com/pja/en/forum/viewSubject.jsp?subjectId=481#612 > They (eteks) produce a product just for that use. I had checked it out back in 1.3 days. The problem then was not X11 installation itself but the fact that a X11 server was needed in order to use AWT (java wanted to connect to an X DISPLAY). At the time, the workaround for headless servers was to use Xvfb (virtual frame buffer). But today (1.4.2, 1.5) we dont have to bother with such issues any more. I'd recommend installing xorg-libraries and then use the -Djava.awt.headless=true switch. Keeping X11-libraries updated adds some admin cost, but i dont think its a big issue. > I'm not a java expert at all, just a consumer of java tools, > so I can't really think of helping with a non-X11 jdk15 ... but > maybe I can push this on the freebsd-java agenda :) ? > > | > | Thanks, > | > | Fernan > | > +----] > _______________________________________________ > 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" > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Thu May 4 13:21:21 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 73F9916A401 for ; Thu, 4 May 2006 13:21:21 +0000 (UTC) (envelope-from ric@jonnycalcutta.com) Received: from home.jonnycalcutta.com (cpc2-ruth2-0-0-cust133.renf.cable.ntl.com [82.11.56.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id B460B43D46 for ; Thu, 4 May 2006 13:21:20 +0000 (GMT) (envelope-from ric@jonnycalcutta.com) Received: from [10.0.0.5] ([10.0.0.5]) (authenticated bits=0) by home.jonnycalcutta.com (8.13.4/8.13.4) with ESMTP id k44DGYBq030020 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO) for ; Thu, 4 May 2006 14:16:37 +0100 (BST) (envelope-from ric@jonnycalcutta.com) Message-ID: <4459FFC5.50407@jonnycalcutta.com> Date: Thu, 04 May 2006 14:21:09 +0100 From: Richard Cooper User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org References: <4458C430.9060005@jonnycalcutta.com> <20060503164323.GD37932@misty.eyesbeyond.com> In-Reply-To: <20060503164323.GD37932@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Diablo 1.5 SIGBUS X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 13:21:21 -0000 Greg Lewis wrote: > > You did say bash was within your limits, and javavm is a shell script... :) I guess the key phrase was 'about my limits' ;) > > A quick and dirty hack would involve something like this. Every where > it invokes tryJavaCommand (there are about 6 instances) you need to add > -XX:+UseMembar. That is, the lines look something like: > > tryJavaCommand "PATH_TO_JAVA_COMMAND" "${@}" > > make them > > tryJavaCommand "PATH_TO_JAVA_COMMAND" -XX:+UseMembar "${@}" > > You don't really need to change all six instances, but which to change > depends on your usage pattern, so changing all 6 is safe. > > If that works you owe me two beers... ;) That worked a treat, thanks. You can have several beers on me - just send the invoice. The only reason I didn't reply earlier was because I bounced straight into another problem which seems to be FreeBSD 6 related (bindexception on port 8005, which seems to be down to IPv6 from the few snippets I can find - but that's another email). Thanks again, Richard From owner-freebsd-java@FreeBSD.ORG Thu May 4 13:32:14 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 7967F16A432 for ; Thu, 4 May 2006 13:32:14 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5CF0A43D53 for ; Thu, 4 May 2006 13:32:03 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (omega.iib.unsam.edu.ar [192.168.10.14]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k44DXXKq014473; Thu, 4 May 2006 10:33:33 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (localhost [127.0.0.1]) by omega.iib.unsam.edu.ar (8.13.4/8.13.4) with ESMTP id k44DVgUI021791; Thu, 4 May 2006 10:31:42 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by omega.iib.unsam.edu.ar (8.13.4/8.13.3/Submit) id k44DVfvC021788; Thu, 4 May 2006 10:31:41 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: omega.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Thu, 4 May 2006 10:31:41 -0300 From: Fernan Aguero To: Achilleus Mantzios Message-ID: <20060504133141.GD94022@iib.unsam.edu.ar> Mail-Followup-To: Fernan Aguero , Achilleus Mantzios , freebsd-java@freebsd.org References: <20060504123935.GB94022@iib.unsam.edu.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.11 Cc: freebsd-java@freebsd.org Subject: Re: java without X11? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 13:32:15 -0000 +----[ Achilleus Mantzios (04.May.2006 10:12): | [snipped] | > | I know that a lot of java apps depend on GUI functionality | > | provided by the language, but is this java+X11 a thing that | > | cannot be separated? (i.e. X11 is rooted too deep into | > | java) or maybe it could be separated and we could have an | > | optional WITHOUT_X11 in the various jdk ports? | > | > Now replying to myself. After a couple of google searches, | > it seems like yes, X11 (at least before jdk15) was too tied | > to java. | | My previous message regraded jdk 1.4.2, i havent checked with jdk 1.5. | (sorry) It's OK. | > The following, however, suggests that jdk15 can be run in | > headless boxes without X11, even when there is java code | > that generates and/or works with graphics | > http://www.eteks.com/pja/en/forum/viewSubject.jsp?subjectId=481#612 | > | | They (eteks) produce a product just for that use. | I had checked it out back in 1.3 days. | The problem then was not X11 installation itself but the fact that | a X11 server was needed in order to use AWT | (java wanted to connect to an X DISPLAY). | At the time, the workaround for headless servers was to use | Xvfb (virtual frame buffer). Yes, this is what I understood from reading this and other pages. | But today (1.4.2, 1.5) we dont have to bother with such issues | any more. | I'd recommend installing xorg-libraries and then use the | -Djava.awt.headless=true switch. >From the limited understanding I got in the last half-hour from Google :) this might be true for 1.4.2 but not for 1.5 Quoting from the URL above: "... servlets using only PJA classes and servlets relying on standard images classes of the JDK work without setting any System property" and just next it adds "from J2SE 5.0, you don't even have to set java.awt.headless property to ensure such servlets work". And I'm not even planning on generating graphics ... | Keeping X11-libraries updated adds some admin cost, but | i dont think its a big issue. Of course, I agree it's not a big issue, it's just that being completely naïve (not knowing anything on the subject) I just found it natural that java would not need X11. | > I'm not a java expert at all, just a consumer of java tools, | > so I can't really think of helping with a non-X11 jdk15 ... but | > maybe I can push this on the freebsd-java agenda :) ? [signatures snipped] | | -- | -Achilleus | +----] OK, so what if I just go ahead and remove all X11 stuff from this box? Apart from testing java code from my specific application, are there any java tests that I can run to ensure that everything would run smoothly? I mean, I can just keep the X11 libraries, it's no big deal as I said above, I'm proposing this as a test to see if a headless FreeBSD jdk15 port is a viable option. I know Perl includes a comprehensive testbed that you can run to check a myriad of things ... but I'm not that familiar with Java ... Regards, Fernan From owner-freebsd-java@FreeBSD.ORG Thu May 4 13:53:29 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 1910216A446 for ; Thu, 4 May 2006 13:53:29 +0000 (UTC) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (host2.dynacom.ondsl.gr [62.103.35.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E2E843D6D for ; Thu, 4 May 2006 13:53:27 +0000 (GMT) (envelope-from achill@matrix.gatewaynet.com) Received: from matrix.gatewaynet.com (localhost.localdomain [127.0.0.1]) by matrix.gatewaynet.com (8.12.8/8.12.8) with ESMTP id k44F2hOp003643; Thu, 4 May 2006 18:02:43 +0300 Received: from localhost (achill@localhost) by matrix.gatewaynet.com (8.12.8/8.12.8/Submit) with ESMTP id k44F2hCd003639; Thu, 4 May 2006 18:02:43 +0300 Date: Thu, 4 May 2006 18:02:43 +0300 (EEST) From: Achilleus Mantzios To: Fernan Aguero In-Reply-To: <20060504133141.GD94022@iib.unsam.edu.ar> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-7 Content-Transfer-Encoding: 8BIT Cc: freebsd-java@freebsd.org Subject: Re: java without X11? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 13:53:29 -0000 O Fernan Aguero Ýãñáøå óôéò May 4, 2006 : > +----[ Achilleus Mantzios (04.May.2006 10:12): > | > > [snipped] > > | > | I know that a lot of java apps depend on GUI functionality > | > | provided by the language, but is this java+X11 a thing that > | > | cannot be separated? (i.e. X11 is rooted too deep into > | > | java) or maybe it could be separated and we could have an > | > | optional WITHOUT_X11 in the various jdk ports? > | > > | > Now replying to myself. After a couple of google searches, > | > it seems like yes, X11 (at least before jdk15) was too tied > | > to java. > | > | My previous message regraded jdk 1.4.2, i havent checked with jdk 1.5. > | (sorry) > > It's OK. > > | > The following, however, suggests that jdk15 can be run in > | > headless boxes without X11, even when there is java code > | > that generates and/or works with graphics > | > http://www.eteks.com/pja/en/forum/viewSubject.jsp?subjectId=481#612 > | > > | > | They (eteks) produce a product just for that use. > | I had checked it out back in 1.3 days. > | The problem then was not X11 installation itself but the fact that > | a X11 server was needed in order to use AWT > | (java wanted to connect to an X DISPLAY). > | At the time, the workaround for headless servers was to use > | Xvfb (virtual frame buffer). > > Yes, this is what I understood from reading this and other > pages. > > | But today (1.4.2, 1.5) we dont have to bother with such issues > | any more. > | I'd recommend installing xorg-libraries and then use the > | -Djava.awt.headless=true switch. > > >From the limited understanding I got in the last half-hour > from Google :) this might be true for 1.4.2 but not for 1.5 > > Quoting from the URL above: > "... servlets using only PJA classes and servlets relying on > standard images classes of the JDK work without setting any > System property" and just next it adds "from J2SE 5.0, you > don't even have to set java.awt.headless property to ensure > such servlets work". > > And I'm not even planning on generating graphics ... > > | Keeping X11-libraries updated adds some admin cost, but > | i dont think its a big issue. > > Of course, I agree it's not a big issue, it's just that > being completely naïve (not knowing anything on the subject) > I just found it natural that java would not need X11. > > | > I'm not a java expert at all, just a consumer of java tools, > | > so I can't really think of helping with a non-X11 jdk15 ... but > | > maybe I can push this on the freebsd-java agenda :) ? > > [signatures snipped] > > | > | -- > | -Achilleus > | > +----] > > OK, so what if I just go ahead and remove all X11 stuff from > this box? Apart from testing java code from my specific > application, are there any java tests that I can run to > ensure that everything would run smoothly? I mean, I can > just keep the X11 libraries, it's no big deal as I said > above, I'm proposing this as a test to see if a headless > FreeBSD jdk15 port is a viable option. As a simple test would convince you, just removing a dependent .so file, would prevent you from running *any* java app. > > I know Perl includes a comprehensive testbed that you can > run to check a myriad of things ... but I'm not that > familiar with Java ... > > Regards, > > Fernan > -- -Achilleus From owner-freebsd-java@FreeBSD.ORG Thu May 4 14:28:49 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 2E4CB16A405 for ; Thu, 4 May 2006 14:28:49 +0000 (UTC) (envelope-from artas@artas.pl) Received: from artas.pl (host-85-255-1-230.alpha.pl [85.255.1.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 400B943D45 for ; Thu, 4 May 2006 14:28:43 +0000 (GMT) (envelope-from artas@artas.pl) Received: from [10.0.0.10] (acpf108.neoplus.adsl.tpnet.pl [83.10.211.108]) by artas.pl (8.13.1/8.12.11) with ESMTP id k44ESYkD022399 for ; Thu, 4 May 2006 14:28:36 GMT (envelope-from artas@artas.pl) Message-ID: <445A0F8A.9030409@artas.pl> Date: Thu, 04 May 2006 16:28:26 +0200 From: Krzysztof User-Agent: Thunderbird 1.5.0.2 (X11/20060502) MIME-Version: 1.0 To: freebsd-java@FreeBSD.org Content-Type: multipart/mixed; boundary="------------000404000403070805000403" Cc: Subject: diablo-1.5.0_06-b00 mixed mode error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 14:28:49 -0000 This is a multi-part message in MIME format. --------------000404000403070805000403 Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Oh! Krzysztof Szczyglowski --------------000404000403070805000403 Content-Type: text/plain; name="hs_err_pid13039.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="hs_err_pid13039.log" # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGBUS (0xa) at pc=0x284faea5, pid=13039, tid=0x805c000 # # Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00 mixed mode) # Problematic frame: # V [libjvm.so+0x370ea5] # --------------- T H R E A D --------------- Current thread (0x0805ce00): JavaThread "main" [_thread_in_vm_trans, id=134594560] siginfo:si_signo=10, si_errno=0, si_code=12, si_addr=0x28642380 Registers: EAX=0x286204a8, EBX=0x2860c7e4, ECX=0x28642000, EDX=0x286204b0 ESP=0xbfbf9b28, EBP=0xbfbf9bf0, ESI=0x00000380, EDI=0x28622068 EIP=0x284faea5, EFLAGS=0x00010202 Top of Stack: (sp=0xbfbf9b28) 0xbfbf9b28: 0000001c 08054498 bfbf9b50 280a26fd 0xbfbf9b38: 280ad4b4 08056000 bfbf9b70 280ab089 0xbfbf9b48: 2807c050 bfbf9b90 00000000 00000000 0xbfbf9b58: 00000000 bfbf9b98 00000000 00000000 0xbfbf9b68: 080636ec 080636e8 0000000f 08062a00 0xbfbf9b78: 00000000 00000000 00000071 0805ce00 0xbfbf9b88: 080636c0 08063680 bfbf9ba0 2809d8cc 0xbfbf9b98: 0805ce00 08063680 bfbf9bd0 284f91a7 Instructions: (pc=0x284faea5) 0x284fae95: 75 94 d3 ee 8b 38 8b 0a 21 fe 8b bb 60 68 00 00 0x284faea5: c7 04 31 01 00 00 00 8b 17 85 d2 0f 84 cf fc ff Stack: [0xbfbc0000,0xbfc00000), sp=0xbfbf9b28, free space=230k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [libjvm.so+0x370ea5] V [libjvm.so+0x42d01a] V [libjvm.so+0x1f8cb3] V [libjvm.so+0x23a8ed] V [libjvm.so+0x24ae5c] V [libjvm.so+0x1afa70] v ~RuntimeStub::fast_new_instance Runtime1 stub J com.sun.tools.javac.jvm.ClassReader.enterClass(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;)Lcom/sun/tools/javac/code/Symbol$ClassSymbol; J com.sun.tools.javac.jvm.ClassReader.includeClassFile(Lcom/sun/tools/javac/code/Symbol$PackageSymbol;Lcom/sun/tools/javac/util/FileEntry;)V J com.sun.tools.javac.jvm.ClassReader.list(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Lcom/sun/tools/javac/code/Symbol$PackageSymbol;)V J com.sun.tools.javac.jvm.ClassReader.listAll(Ljava/util/Collection;Ljava/lang/String;[Ljava/lang/String;Lcom/sun/tools/javac/code/Symbol$PackageSymbol;)V j com.sun.tools.javac.jvm.ClassReader.fillIn(Lcom/sun/tools/javac/code/Symbol$PackageSymbol;)V+61 j com.sun.tools.javac.jvm.ClassReader.complete(Lcom/sun/tools/javac/code/Symbol;)V+56 j com.sun.tools.javac.code.Symbol.complete()V+19 j com.sun.tools.javac.code.Symbol$PackageSymbol.flags()J+8 J com.sun.tools.javac.comp.Attr.checkId(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/code/Symbol;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;Z)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.visitSelect(Lcom/sun/tools/javac/tree/Tree$Select;)V J com.sun.tools.javac.tree.Tree$Select.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.visitSelect(Lcom/sun/tools/javac/tree/Tree$Select;)V J com.sun.tools.javac.tree.Tree$Select.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.attribType(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;)Lcom/sun/tools/javac/code/Type; v ~RuntimeStub::alignment_frame_return Runtime1 stub j com.sun.tools.javac.comp.Attr.visitTypeTest(Lcom/sun/tools/javac/tree/Tree$TypeTest;)V+47 j com.sun.tools.javac.tree.Tree$TypeTest.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V+2 J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.visitIf(Lcom/sun/tools/javac/tree/Tree$If;)V J com.sun.tools.javac.tree.Tree$If.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.visitBlock(Lcom/sun/tools/javac/tree/Tree$Block;)V J com.sun.tools.javac.tree.Tree$Block.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.visitMethodDef(Lcom/sun/tools/javac/tree/Tree$MethodDef;)V J com.sun.tools.javac.tree.Tree$MethodDef.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.attribClassBody(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/code/Symbol$ClassSymbol;)V j com.sun.tools.javac.comp.Attr.attribClass(Lcom/sun/tools/javac/code/Symbol$ClassSymbol;)V+355 j com.sun.tools.javac.comp.Attr.attribClass(ILcom/sun/tools/javac/code/Symbol$ClassSymbol;)V+9 j com.sun.tools.javac.main.JavaCompiler.compile(Lcom/sun/tools/javac/util/List;)Lcom/sun/tools/javac/util/List;+338 j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)I+350 j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)I+9 j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 v ~StubRoutines::call_stub V [libjvm.so+0x26f2d8] V [libjvm.so+0x387208] V [libjvm.so+0x26f3ef] V [libjvm.so+0x3b078e] V [libjvm.so+0x3b3b82] V [libjvm.so+0x2dda99] C [libjava.so+0xc132] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x22 j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111 j org.apache.tools.ant.taskdefs.compilers.Javac13.execute()Z+62 j org.apache.tools.ant.taskdefs.Javac.compile()V+154 j org.apache.tools.ant.taskdefs.Javac.execute()V+124 j org.apache.tools.ant.UnknownElement.execute()V+58 j org.apache.tools.ant.Task.perform()V+22 j org.apache.tools.ant.Target.execute()V+43 j org.apache.tools.ant.Target.performTasks()V+11 j org.apache.tools.ant.Project.executeSortedTargets(Ljava/util/Vector;)V+138 j org.apache.tools.ant.Project.executeTarget(Ljava/lang/String;)V+27 j org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Lorg/apache/tools/ant/Project;[Ljava/lang/String;)V+13 j org.apache.tools.ant.Project.executeTargets(Ljava/util/Vector;)V+19 j org.apache.tools.ant.Main.runBuild(Ljava/lang/ClassLoader;)V+404 j org.apache.tools.ant.Main.startAnt([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/ClassLoader;)V+88 j org.apache.tools.ant.launch.Launcher.run([Ljava/lang/String;)V+784 j org.apache.tools.ant.launch.Launcher.main([Ljava/lang/String;)V+10 v ~StubRoutines::call_stub V [libjvm.so+0x26f2d8] V [libjvm.so+0x387208] V [libjvm.so+0x26f3ef] V [libjvm.so+0x27b021] V [libjvm.so+0x28c4e0] C [java+0x3aac] _init+0x2c50 C [java+0x12a6] _init+0x44a Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) v ~RuntimeStub::fast_new_instance Runtime1 stub J com.sun.tools.javac.jvm.ClassReader.enterClass(Lcom/sun/tools/javac/util/Name;Lcom/sun/tools/javac/code/Symbol$TypeSymbol;)Lcom/sun/tools/javac/code/Symbol$ClassSymbol; J com.sun.tools.javac.jvm.ClassReader.includeClassFile(Lcom/sun/tools/javac/code/Symbol$PackageSymbol;Lcom/sun/tools/javac/util/FileEntry;)V J com.sun.tools.javac.jvm.ClassReader.list(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Lcom/sun/tools/javac/code/Symbol$PackageSymbol;)V J com.sun.tools.javac.jvm.ClassReader.listAll(Ljava/util/Collection;Ljava/lang/String;[Ljava/lang/String;Lcom/sun/tools/javac/code/Symbol$PackageSymbol;)V j com.sun.tools.javac.jvm.ClassReader.fillIn(Lcom/sun/tools/javac/code/Symbol$PackageSymbol;)V+61 j com.sun.tools.javac.jvm.ClassReader.complete(Lcom/sun/tools/javac/code/Symbol;)V+56 j com.sun.tools.javac.code.Symbol.complete()V+19 j com.sun.tools.javac.code.Symbol$PackageSymbol.flags()J+8 J com.sun.tools.javac.comp.Attr.checkId(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/code/Type;Lcom/sun/tools/javac/code/Symbol;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;Z)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.visitSelect(Lcom/sun/tools/javac/tree/Tree$Select;)V J com.sun.tools.javac.tree.Tree$Select.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.visitSelect(Lcom/sun/tools/javac/tree/Tree$Select;)V J com.sun.tools.javac.tree.Tree$Select.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.attribType(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;)Lcom/sun/tools/javac/code/Type; v ~RuntimeStub::alignment_frame_return Runtime1 stub j com.sun.tools.javac.comp.Attr.visitTypeTest(Lcom/sun/tools/javac/tree/Tree$TypeTest;)V+47 j com.sun.tools.javac.tree.Tree$TypeTest.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V+2 J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.visitIf(Lcom/sun/tools/javac/tree/Tree$If;)V J com.sun.tools.javac.tree.Tree$If.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.visitBlock(Lcom/sun/tools/javac/tree/Tree$Block;)V J com.sun.tools.javac.tree.Tree$Block.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.visitMethodDef(Lcom/sun/tools/javac/tree/Tree$MethodDef;)V J com.sun.tools.javac.tree.Tree$MethodDef.accept(Lcom/sun/tools/javac/tree/Tree$Visitor;)V J com.sun.tools.javac.comp.Attr.attribTree(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;ILcom/sun/tools/javac/code/Type;)Lcom/sun/tools/javac/code/Type; J com.sun.tools.javac.comp.Attr.attribClassBody(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/code/Symbol$ClassSymbol;)V j com.sun.tools.javac.comp.Attr.attribClass(Lcom/sun/tools/javac/code/Symbol$ClassSymbol;)V+355 j com.sun.tools.javac.comp.Attr.attribClass(ILcom/sun/tools/javac/code/Symbol$ClassSymbol;)V+9 j com.sun.tools.javac.main.JavaCompiler.compile(Lcom/sun/tools/javac/util/List;)Lcom/sun/tools/javac/util/List;+338 j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)I+350 j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)I+9 j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111 j org.apache.tools.ant.taskdefs.compilers.Javac13.execute()Z+62 j org.apache.tools.ant.taskdefs.Javac.compile()V+154 j org.apache.tools.ant.taskdefs.Javac.execute()V+124 j org.apache.tools.ant.UnknownElement.execute()V+58 j org.apache.tools.ant.Task.perform()V+22 j org.apache.tools.ant.Target.execute()V+43 j org.apache.tools.ant.Target.performTasks()V+11 j org.apache.tools.ant.Project.executeSortedTargets(Ljava/util/Vector;)V+138 j org.apache.tools.ant.Project.executeTarget(Ljava/lang/String;)V+27 j org.apache.tools.ant.helper.DefaultExecutor.executeTargets(Lorg/apache/tools/ant/Project;[Ljava/lang/String;)V+13 j org.apache.tools.ant.Project.executeTargets(Ljava/util/Vector;)V+19 j org.apache.tools.ant.Main.runBuild(Ljava/lang/ClassLoader;)V+404 j org.apache.tools.ant.Main.startAnt([Ljava/lang/String;Ljava/util/Properties;Ljava/lang/ClassLoader;)V+88 j org.apache.tools.ant.launch.Launcher.run([Ljava/lang/String;)V+784 j org.apache.tools.ant.launch.Launcher.main([Ljava/lang/String;)V+10 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0813fe00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=135655424] 0x0813fa00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=135527424] 0x0813f600 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=135526400] 0x0813f200 JavaThread "Finalizer" daemon [_thread_blocked, id=135525376] 0x08068e00 JavaThread "Reference Handler" daemon [_thread_blocked, id=135524352] =>0x0805ce00 JavaThread "main" [_thread_in_vm_trans, id=134594560] Other Threads: 0x08056f00 VMThread [id=134646784] 0x08056a00 WatcherThread [id=135656448] VM state:synchronizing (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x08063440/0x08063480] Safepoint_lock - owner thread: 0x08056f00 [0x08063500/0x08063540] Threads_lock - owner thread: 0x08056f00 [0x08053720/0x08063b00] Heap_lock - owner thread: 0x0805ce00 Heap def new generation total 1344K, used 1344K [0x2d5d0000, 0x2d740000, 0x2dab0000) eden space 1216K, 100% used [0x2d5d0000, 0x2d700000, 0x2d700000) from space 128K, 100% used [0x2d700000, 0x2d720000, 0x2d720000) to space 128K, 0% used [0x2d720000, 0x2d720000, 0x2d740000) tenured generation total 17120K, used 13554K [0x2dab0000, 0x2eb68000, 0x315d0000) the space 17120K, 79% used [0x2dab0000, 0x2e7ec8d0, 0x2e7eca00, 0x2eb68000) compacting perm gen total 8192K, used 7521K [0x315d0000, 0x31dd0000, 0x355d0000) the space 8192K, 91% used [0x315d0000, 0x31d287b0, 0x31d28800, 0x31dd0000) No shared spaces configured. Dynamic libraries: 0x08048000 /usr/local/diablo-jdk1.5.0/bin/java 0x2807d000 /lib/libz.so.3 0x2808d000 /usr/lib/libpthread.so.2 0x280b2000 /lib/libc.so.6 0x2818a000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/client/libjvm.so 0x2862b000 /lib/libm.so.4 0x28643000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads/libhpi.so 0x28654000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libverify.so 0x28661000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libjava.so 0x28680000 /usr/local/diablo-jdk1.5.0/jre/lib/i386/libzip.so 0x28052000 /libexec/ld-elf.so.1 VM Arguments: jvm_args: -Dant.home=/usr/local/ant java_command: org.apache.tools.ant.launch.Launcher -lib .:../../../../unxfbsd.pro/class:/usr/local/diablo-jdk1.5.0/jre/lib/rt.jar:.:/usr/local/ant/lib/xercesImpl.jar:/usr/local/ant/lib/xml-apis.jar:/usr/local/ant/lib/ant.jar:/usr/local/diablo-jdk1.5.0/lib/tools.jar -Dprj=../../../.. -Dprjname=ooo_beanshell -Ddebug=off -Doptimize=on -Dtarget=jarall -Dsolar.update=on -Dout=../../../../unxfbsd.pro -Dinpath=unxfbsd.pro -Dproext=.pro -Dsolar.bin=/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/bin -Dsolar.jar=/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/bin -Dsolar.doc=/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/doc -Dcommon.jar=/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/bin -Dcommon.doc= -f build.xml -emacs Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=/usr/local/diablo-jdk1.5.0 CLASSPATH=.:../../../../unxfbsd.pro/class:/usr/local/diablo-jdk1.5.0/jre/lib/rt.jar:.:/usr/local/ant/lib/xercesImpl.jar:/usr/local/ant/lib/xml-apis.jar:/usr/local/ant/lib/ant.jar:/usr/local/diablo-jdk1.5.0/lib/tools.jar PATH=/usr/local/ant/bin:/usr/local/diablo-jdk1.5.0/bin:.:/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/bin:/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/unxfbsd/bin:/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin LD_LIBRARY_PATH=/usr/local/diablo-jdk1.5.0/jre/lib/i386/client:/usr/local/diablo-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/../lib/i386:.:/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solenv/unxfbsd.pro/lib:/usr/local/diablo-jdk1.5.0/jre/lib/i386:/usr/local/diablo-jdk1.5.0/jre/lib/i386/xawt:/usr/local/diablo-jdk1.5.0/jre/lib/i386/client:/usr/local/diablo-jdk1.5.0/jre/lib/i386/native_threads:../lib:/usr/ports/editors/openoffice.org-2.0/work/OOB680_m5/solver/680/unxfbsd.pro/lib: SHELL=/bin/tcsh HOSTTYPE=FreeBSD OSTYPE=FreeBSD ARCH=i386 MACHTYPE=i386 OS=FREEBSD Signal Handlers: SIGSEGV: [libjvm.so+0x426680], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGBUS: [libjvm.so+0x426680], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGFPE: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGPIPE: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGILL: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGUSR1: [libjvm.so+0x3872e0], sa_mask[0]=0x00000000, sa_flags=0x00000040 SIGUSR2: [libjvm.so+0x387210], sa_mask[0]=0xffffffff, sa_flags=0x00000042 SIGHUP: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGINT: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGQUIT: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 SIGTERM: [libjvm.so+0x385ac0], sa_mask[0]=0xffffffff, sa_flags=0x00000002 --------------- S Y S T E M --------------- OS:FreeBSD uname:FreeBSD 6.0-RELEASE-p7 FreeBSD 6.0-RELEASE-p7 #0: Wed May 3 22:25:21 CEST 2006 root@rhino.artas.homeunix.com:/usr/obj/usr/src/sys/DESKTOPBSD i386 rlimit: STACK 65536k, CORE infinity, NOFILE 11095 CPU:total 2 family 15, cmov, cx8, fxsr, mmx, ht Memory: 4k page, physical 857704k vm_info: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00) for freebsd-x86, built on Feb 17 2006 00:12:58 by truk with gcc 3.4.4 [FreeBSD] 20050518 --------------000404000403070805000403-- From owner-freebsd-java@FreeBSD.ORG Thu May 4 14:35:29 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 BB6CF16A409 for ; Thu, 4 May 2006 14:35:29 +0000 (UTC) (envelope-from tpalfi@phoenixmedical.co.uk) Received: from mail22.messagelabs.com (mail22.messagelabs.com [62.231.131.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 8068443D69 for ; Thu, 4 May 2006 14:35:22 +0000 (GMT) (envelope-from tpalfi@phoenixmedical.co.uk) X-VirusChecked: Checked X-Env-Sender: tpalfi@phoenixmedical.co.uk X-Msg-Ref: server-16.tower-22.messagelabs.com!1146753292!37481739!1 X-StarScan-Version: 5.5.9.1; banners=phoenixmedical.co.uk,-,- X-Originating-IP: [85.159.128.110] Received: (qmail 32502 invoked from network); 4 May 2006 14:34:53 -0000 Received: from 110.phoenix.ipi-group.co.uk (HELO INDY.enzo.phoenixmedical.co.uk) (85.159.128.110) by server-16.tower-22.messagelabs.com with SMTP; 4 May 2006 14:34:53 -0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Thu, 4 May 2006 15:34:52 +0100 Message-ID: <119D03CDAA26274786799627855EC43D403757@indy.enzo.phoenixmedical.co.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: installing mod_jk Thread-Index: AcZvh+fA+ttqFAxaSmKGFXz0J3OSFQ== From: "Tomas Palfi" To: Subject: installing mod_jk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 14:35:29 -0000 Dear=20all, I=20am=20trying=20to=20install=20the=20tomcat=20connector=20on=20freebsd-6= .0=20and=20I=20am constantly=20having=20the=20following=20problems.=20=20I=20have=20tried=20= various=20versions but=20with=20no=20luck,=20the=20problem=20is=20still=20the=20same.=20=20Ha= s=20someone=20came across=20the=20same=20problem? Configuration=20run=20with=20apxs=20options=20only=20but=20that=20shouldn'= t=20make=20any difference. worker#=20make Making=20all=20in=20common /bin/csh=20../libtool=20--mode=3Dcompile=20gcc=20-I/usr/local/apache/inclu= de=20-g -O2=20-DUSE_HSREGEX=20-DUSE_EXPAT=20-I../lib/expat-lite=20-DJK_PREFORK=20-= g=20-O2 -I=20/usr/local/jdk1.4.2/include=20-I=20/usr/local/jdk1.4.2/include/=20-c ./jk_ajp12_worker.c=20-o=20./jk_ajp12_worker.lo SED=3D/usr/bin/sed:=20Command=20not=20found. Xsed=3D/usr/bin/sed=20-e=20s/^X//:=20Command=20not=20found. Missing=20}. ***=20Error=20code=201 Stop=20in /usr/local/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/common. ***=20Error=20code=201 Stop=20in=20/usr/local/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/nativ= e. worker# many=20thanks tom -- tp PRIVACY=20&=20CONFIDENTIALITY This=20e-mail=20is=20private=20and=20confidential.=20=20If=20you=20have,=20= or=20suspect=20you=20have=20received=20this=20message=20in=20error=20pleas= e=20notify=20the=20sender=20as=20soon=20as=20possible=20and=20remove=20fro= m=20your=20system.=20=20You=20may=20not=20copy,=20distribute=20or=20take=20= any=20action=20in=20reliance=20on=20it.=20Thank=20you=20for=20your=20co-op= eration. Please=20note=20that=20whilst=20best=20efforts=20are=20made,=20neither=20t= he=20company=20nor=20the=20sender=20accepts=20any=20responsibility=20for=20= viruses=20and=20it=20is=20your=20responsibility=20to=20scan=20the=20email=20= and=20attachments=20(if=20any). This=20e-mail=20has=20been=20automatically=20scanned=20for=20viruses=20by=20= MessageLabs. From owner-freebsd-java@FreeBSD.ORG Thu May 4 14:44:52 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 DE78016A408 for ; Thu, 4 May 2006 14:44:52 +0000 (UTC) (envelope-from tpalfi@phoenixmedical.co.uk) Received: from mail77.messagelabs.com (mail77.messagelabs.com [62.231.131.243]) by mx1.FreeBSD.org (Postfix) with SMTP id 6FAA443D48 for ; Thu, 4 May 2006 14:44:50 +0000 (GMT) (envelope-from tpalfi@phoenixmedical.co.uk) X-VirusChecked: Checked X-Env-Sender: tpalfi@phoenixmedical.co.uk X-Msg-Ref: server-4.tower-77.messagelabs.com!1146753886!42800571!1 X-StarScan-Version: 5.5.9.1; banners=phoenixmedical.co.uk,-,- X-Originating-IP: [85.159.128.110] Received: (qmail 23916 invoked from network); 4 May 2006 14:44:47 -0000 Received: from 110.phoenix.ipi-group.co.uk (HELO INDY.enzo.phoenixmedical.co.uk) (85.159.128.110) by server-4.tower-77.messagelabs.com with SMTP; 4 May 2006 14:44:47 -0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0 Date: Thu, 4 May 2006 15:44:46 +0100 Message-ID: <119D03CDAA26274786799627855EC43D403759@indy.enzo.phoenixmedical.co.uk> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: installing mod_jk Thread-Index: AcZvh+fA+ttqFAxaSmKGFXz0J3OSFQ== From: "Tomas Palfi" To: Subject: installing mod_jk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 14:44:56 -0000 Dear=20all, I=20am=20trying=20to=20install=20the=20tomcat=20connector=20on=20freebsd-6= .0=20and=20I=20am constantly=20having=20the=20following=20problems.=20=20I=20have=20tried=20= various=20versions but=20with=20no=20luck,=20the=20problem=20is=20still=20the=20same.=20=20Ha= s=20someone=20came across=20the=20same=20problem? Configuration=20run=20with=20apxs=20options=20only=20but=20that=20shouldn'= t=20make=20any difference. worker#=20make Making=20all=20in=20common /bin/csh=20../libtool=20--mode=3Dcompile=20gcc=20-I/usr/local/apache/inclu= de=20-g -O2=20-DUSE_HSREGEX=20-DUSE_EXPAT=20-I../lib/expat-lite=20-DJK_PREFORK=20-= g=20-O2 -I=20/usr/local/jdk1.4.2/include=20-I=20/usr/local/jdk1.4.2/include/=20-c ./jk_ajp12_worker.c=20-o=20./jk_ajp12_worker.lo SED=3D/usr/bin/sed:=20Command=20not=20found. Xsed=3D/usr/bin/sed=20-e=20s/^X//:=20Command=20not=20found. Missing=20}. ***=20Error=20code=201 Stop=20in /usr/local/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/common. ***=20Error=20code=201 Stop=20in=20/usr/local/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/nativ= e. worker# many=20thanks tom -- tp PRIVACY=20&=20CONFIDENTIALITY This=20e-mail=20is=20private=20and=20confidential.=20=20If=20you=20have,=20= or=20suspect=20you=20have=20received=20this=20message=20in=20error=20pleas= e=20notify=20the=20sender=20as=20soon=20as=20possible=20and=20remove=20fro= m=20your=20system.=20=20You=20may=20not=20copy,=20distribute=20or=20take=20= any=20action=20in=20reliance=20on=20it.=20Thank=20you=20for=20your=20co-op= eration. Please=20note=20that=20whilst=20best=20efforts=20are=20made,=20neither=20t= he=20company=20nor=20the=20sender=20accepts=20any=20responsibility=20for=20= viruses=20and=20it=20is=20your=20responsibility=20to=20scan=20the=20email=20= and=20attachments=20(if=20any). This=20e-mail=20has=20been=20automatically=20scanned=20for=20viruses=20by=20= MessageLabs. From owner-freebsd-java@FreeBSD.ORG Thu May 4 16:22:33 2006 Return-Path: X-Original-To: freebsd-java@FreeBSD.org 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 712A416A525 for ; Thu, 4 May 2006 16:22:33 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65B1A43E85 for ; Thu, 4 May 2006 16:21:37 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id k44GKul1001360; Thu, 4 May 2006 09:20:56 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id k44GKtaL001359; Thu, 4 May 2006 09:20:56 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 4 May 2006 09:20:55 -0700 From: Greg Lewis To: Krzysztof Message-ID: <20060504162055.GA1336@misty.eyesbeyond.com> References: <445A0F8A.9030409@artas.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <445A0F8A.9030409@artas.pl> User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@FreeBSD.org Subject: Re: diablo-1.5.0_06-b00 mixed mode error X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 16:22:34 -0000 On Thu, May 04, 2006 at 04:28:26PM +0200, Krzysztof wrote: > Oh! > Krzysztof Szczyglowski > # > # An unexpected error has been detected by HotSpot Virtual Machine: > # > # SIGBUS (0xa) at pc=0x284faea5, pid=13039, tid=0x805c000 > # > # Java VM: Java HotSpot(TM) Client VM (diablo-1.5.0_06-b00 mixed mode) > # Problematic frame: > # V [libjvm.so+0x370ea5] > # Use -XX:+UseMembar. Not to pick on you in particular, but this has been asked and answered many times over the last few weeks. Even a very cursory search of the mailing list archives would have revealed the answer. -- 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 4 16:25:50 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 0018716A473 for ; Thu, 4 May 2006 16:25:49 +0000 (UTC) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (gerbercreations.com [71.39.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id CCABC43D77 for ; Thu, 4 May 2006 16:25:16 +0000 (GMT) (envelope-from glewis@eyesbeyond.com) Received: from misty.eyesbeyond.com (localhost.eyesbeyond.com [127.0.0.1]) by misty.eyesbeyond.com (8.13.3/8.13.3) with ESMTP id k44GPF8e001405; Thu, 4 May 2006 09:25:15 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) Received: (from glewis@localhost) by misty.eyesbeyond.com (8.13.3/8.13.3/Submit) id k44GPE7M001404; Thu, 4 May 2006 09:25:14 -0700 (PDT) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Thu, 4 May 2006 09:25:14 -0700 From: Greg Lewis To: "Arne H. Juul" Message-ID: <20060504162514.GB1336@misty.eyesbeyond.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: freebsd-java@freebsd.org Subject: Re: jdk15 from update5 sources X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 16:25:52 -0000 On Thu, May 04, 2006 at 02:52:18PM +0200, Arne H. Juul wrote: > For those of us who can't use the diablo binary release for one reason or > the other, it's a problem that the BSD patches from eyesbeyond.com use the > SCSL sources, since there are many problems in those that are fixed in the > various update 1 to 6 releases. > > Sun has released sources on tiger.dev.java.net for update 3, 4, and 5 (but > not update 6, at least not yet). These are under the JIUL license which > seems to be more permissive than SCSL (too much legalese for me to say for > sure). > > So I've downloaded the update 5 sources and applied the > bsd-jdk15-patches-3.tar.bz2 (with some rejects). Then I've fixed the > issues with rejected patches and done some changes based on the changes > between SCSL sources and update 5 sources (see attached patch). > > The result works pretty well for me when compiled on FreeBSD 4.x for > running standalone java applications; I have no idea if it works for > webstart, or browser plugins, or as a basis for java frameworks. But maybe > somebody else may find it useful to go this route; I still get the > occasional crash deep inside the garbage collection parts of the VM but at > least this is much more stable than the version I get from compiling > ports/jdk the usual way. Thats kinda cool. Thanks for doing this :). One general question, since I haven't had time to compare them, why the JIUL rather than the JRL? Do others have comments on the differences between the two? -- 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 4 22:46:30 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 1417516A400 for ; Thu, 4 May 2006 22:46:30 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from queue01-winn.ispmail.ntl.com (queue01-winn.ispmail.ntl.com [81.103.221.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F72743D45 for ; Thu, 4 May 2006 22:46:28 +0000 (GMT) (envelope-from scott@fishballoon.org) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout02-winn.ispmail.ntl.com with ESMTP id <20060504214123.KBSX29040.mtaout02-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Thu, 4 May 2006 22:41:23 +0100 Received: from llama.fishballoon.org ([81.101.128.185]) by aamtaout04-winn.ispmail.ntl.com with ESMTP id <20060504214123.LBIR16086.aamtaout04-winn.ispmail.ntl.com@llama.fishballoon.org>; Thu, 4 May 2006 22:41:23 +0100 Received: from tuatara.fishballoon.org ([192.168.1.6]) by llama.fishballoon.org with esmtp (Exim 4.61 (FreeBSD)) (envelope-from ) id 1FblZZ-000KRf-BB; Thu, 04 May 2006 22:41:21 +0100 Received: (from scott@localhost) by tuatara.fishballoon.org (8.13.4/8.13.4/Submit) id k44LfJ9d001344; Thu, 4 May 2006 22:41:19 +0100 (BST) (envelope-from scott) Date: Thu, 4 May 2006 22:41:18 +0100 From: Scott Mitchell To: Fernan Aguero , freebsd-java@freebsd.org Message-ID: <20060504214118.GA1072@tuatara.fishballoon.org> References: <20060504121812.GA94022@iib.unsam.edu.ar> <20060504123935.GB94022@iib.unsam.edu.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060504123935.GB94022@iib.unsam.edu.ar> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-STABLE i386 Cc: Subject: Re: java without X11? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 May 2006 22:46:30 -0000 On Thu, May 04, 2006 at 09:39:35AM -0300, Fernan Aguero wrote: > +----[ To freebsd-java@freebsd.org (04.May.2006 09:18): > | > | Hi! > | > | I was setting up a headless (no X11, no GUI) box and had to > | install java (required by apache-ant and by a java code that > | interacts with an underlying postgresql database). > | > | I want this box to run only the base system (cut down to > | only essential daemons/processes) and one application > | (postgresql + associated perl/java layers). > > [ snipped ] > > | I know that a lot of java apps depend on GUI functionality > | provided by the language, but is this java+X11 a thing that > | cannot be separated? (i.e. X11 is rooted too deep into > | java) or maybe it could be separated and we could have an > | optional WITHOUT_X11 in the various jdk ports? The java binary in diablo-1.5.0_06 doesn't have a load-time dependency on libX11.so or any other X11 libraries, nor libawt.so - I guess the JVM will dlopen() libawt.so if it needs to do any graphical stuff. As proof of concept a simple "Hello, World" Java program compiles and runs just fine on a machine with no X11 libraries installed. I expect any program that didn't use AWT/Swing would work just as well. Interestingly libawt.so doesn't have any direct X11 dependencies either, rather it depends on libmawt.so, of which several different versions exist, in the jre/lib/i386/{xawt,motif21,headless} directories. The xawt and motif21 versions depend on various X11 libraries, but the headless version does not. It looks like setting the java.awt.headless property to true or just having no $DISPLAY will cause the headless libraries to be used. You should be able to use AWT/Swing classes in any way that doesn't require access to a real display - so loading any manipulating images should work, but trying to say open a window will throw a HeadlessException. Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon From owner-freebsd-java@FreeBSD.ORG Fri May 5 02:13:04 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 E681716A401 for ; Fri, 5 May 2006 02:13:04 +0000 (UTC) (envelope-from mv@thebeastie.org) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D46343D46 for ; Fri, 5 May 2006 02:13:04 +0000 (GMT) (envelope-from mv@thebeastie.org) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 90C524D23C; Fri, 5 May 2006 02:14:38 +0000 (GMT) Received: from [192.168.46.102] (ppp166-27.static.internode.on.net [150.101.166.27]) by p4.roq.com (Postfix) with ESMTP id AB2B74D1CE; Fri, 5 May 2006 02:14:37 +0000 (GMT) Message-ID: <445AB4AD.7010606@thebeastie.org> Date: Fri, 05 May 2006 12:13:01 +1000 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20060404 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomas Palfi References: <119D03CDAA26274786799627855EC43D403757@indy.enzo.phoenixmedical.co.uk> In-Reply-To: <119D03CDAA26274786799627855EC43D403757@indy.enzo.phoenixmedical.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-java@freebsd.org Subject: Re: installing mod_jk X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 02:13:05 -0000 Tomas Palfi wrote: >Dear all, > >I am trying to install the tomcat connector on freebsd-6.0 and I am >constantly having the following problems. I have tried various versions >but with no luck, the problem is still the same. Has someone came >across the same problem? > >Configuration run with apxs options only but that shouldn't make any >difference. > >worker# make >Making all in common >/bin/csh ../libtool --mode=compile gcc -I/usr/local/apache/include -g >-O2 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DJK_PREFORK -g -O2 >-I /usr/local/jdk1.4.2/include -I /usr/local/jdk1.4.2/include/ -c >./jk_ajp12_worker.c -o ./jk_ajp12_worker.lo >SED=/usr/bin/sed: Command not found. >Xsed=/usr/bin/sed -e s/^X//: Command not found. >Missing }. >*** Error code 1 > >Stop in >/usr/local/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/common. >*** Error code 1 > >Stop in /usr/local/src/jakarta-tomcat-connectors-1.2.14.1-src/jk/native. >worker# > > >many thanks > >tom > >-- >tp > > Try using the latest Apache 2.2.2 its quite stable in my eyes. I have been benchmarking and testing it since the long going 2.1 devel series and its very stable and refined. Apache 2.2 is really Apache at its best. Just remember to compile in the non default mod_proxy modules with something like this. portupgrade -N -m 'WITH_MPM=worker -DWITH_PROXY_MODULES' /usr/ports/www/apache22 Then use something as simple as this directive in your virtualhost configuration to link to your Tomcat ProxyPass /servlets-examples ajp://127.0.0.1:8009/servlets-examples Cheers, Mike From owner-freebsd-java@FreeBSD.ORG Fri May 5 09:25:23 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 E1AAF16A469 for ; Fri, 5 May 2006 09:25:22 +0000 (UTC) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id B962F43D4C for ; Fri, 5 May 2006 09:25:15 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k459Ot6h030967; Fri, 5 May 2006 12:24:56 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.185] (pc185.ebs.gr [10.1.1.185]) by ebs.gr (8.13.3/8.13.3) with ESMTP id k459P9fI035724; Fri, 5 May 2006 12:25:14 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.1.392 [268.5.4/332]); Fri, 05 May 2006 12:24:47 +0300 Message-ID: <445B19DF.2090308@ebs.gr> Date: Fri, 05 May 2006 12:24:47 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Greg Lewis References: <20060504162514.GB1336@misty.eyesbeyond.com> In-Reply-To: <20060504162514.GB1336@misty.eyesbeyond.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "Arne H. Juul" , freebsd-java@freebsd.org Subject: Re: jdk15 from update5 sources X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 09:25:23 -0000 Greg Lewis wrote: > On Thu, May 04, 2006 at 02:52:18PM +0200, Arne H. Juul wrote: >> For those of us who can't use the diablo binary release for one reason or >> the other, it's a problem that the BSD patches from eyesbeyond.com use the >> SCSL sources, since there are many problems in those that are fixed in the >> various update 1 to 6 releases. >> >> Sun has released sources on tiger.dev.java.net for update 3, 4, and 5 (but >> not update 6, at least not yet). These are under the JIUL license which >> seems to be more permissive than SCSL (too much legalese for me to say for >> sure). >> >> So I've downloaded the update 5 sources and applied the >> bsd-jdk15-patches-3.tar.bz2 (with some rejects). Then I've fixed the >> issues with rejected patches and done some changes based on the changes >> between SCSL sources and update 5 sources (see attached patch). >> >> The result works pretty well for me when compiled on FreeBSD 4.x for >> running standalone java applications; I have no idea if it works for >> webstart, or browser plugins, or as a basis for java frameworks. But maybe >> somebody else may find it useful to go this route; I still get the >> occasional crash deep inside the garbage collection parts of the VM but at >> least this is much more stable than the version I get from compiling >> ports/jdk the usual way. > > Thats kinda cool. Thanks for doing this :). Indeed! > One general question, since I haven't had time to compare them, why the > JIUL rather than the JRL? Do others have comments on the differences > between the two? IANAL of course, but the two licenses mainly seem to differ in the intended use of the software. JRL-licensed software cannot be used for commercial purposes, while JIUL-licensed software does not have such a restriction. So, for example, if you are planning on using the software on amd64 servers for web hosting, you can do it with JIUL only. Both permit sharing the modified source code to other licensees of the respective license and both claim that you are not tainted after studying their source code. JRL: ---- [...] "Research Use" means research, evaluation, or development for the purpose of advancing knowledge, teaching, learning, or customizing the Technology or Modifications for personal use. Research Use expressly excludes use or distribution for direct or indirect commercial (including strategic) gain or advantage. [...] A. License Grant. Subject to the conditions contained herein, Sun grants to You a non-exclusive, non-transferable, worldwide, and royalty-free license to do the following for Your Research Use only: 1. Reproduce, create Modifications of, and use the Technology alone, or with Modifications; 2. Share source code of the Technology alone, or with Modifications, with other Licensees; and [...] JIUL: ----- [...] "Internal Use" means internal use by Your employees or agents solely within Your business or organization (a) to support Your internal applications or (b) to support those applications that are available to and used by Your customers at Your place of business or on Your website. Internal Use expressly excludes distribution of the Technology or Modifications outside Your business or organization. "Licensee" means You and any other party that has entered into a version of this License with Sun where such License is in effect. [...] A. License Grant. Subject to the conditions contained herein, Sun grants to You a non-exclusive, non-transferable, worldwide, and royalty-free license to do the following: (i) reproduce, create Modifications of, and use the Technology, either alone or with Modifications, in all cases for Your Internal Use only; and (ii) conditioned upon Your compliance with Section III.G, share the Technology and Your Modifications, in source code form only, with other Licensees for use only under their License. In the case of (ii), You hereby grant to such Licensees the same rights in Your Modifications as Sun grants in the Technology under this License. [...] Cheers, Panagiotis From owner-freebsd-java@FreeBSD.ORG Fri May 5 13:15:46 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 462F316A400 for ; Fri, 5 May 2006 13:15:46 +0000 (UTC) (envelope-from freebsd-java@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DB2A43D48 for ; Fri, 5 May 2006 13:15:45 +0000 (GMT) (envelope-from freebsd-java@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Fc09P-0004uo-7y for freebsd-java@freebsd.org; Fri, 05 May 2006 15:15:19 +0200 Received: from 65.213.7.6 ([65.213.7.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 May 2006 15:15:19 +0200 Received: from scott by 65.213.7.6 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 05 May 2006 15:15:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-java@freebsd.org From: "Scott I. Remick" Date: Fri, 5 May 2006 09:14:57 -0400 Lines: 3 Message-ID: <1ppfkkh0hvsn6$.crc7vqzwyxk3$.dlg@40tude.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 65.213.7.6 User-Agent: 40tude_Dialog/2.0.15.1 X-Archive: encrypt Sender: news Subject: News article: Sun to make Java more Linux-friendly X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: scott@sremick.net List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 13:15:46 -0000 I assume this will benefit FreeBSD as well? http://news.com.com/2100-7344_3-6068852.html From owner-freebsd-java@FreeBSD.ORG Fri May 5 13:36:28 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 2D4FA16A400 for ; Fri, 5 May 2006 13:36:28 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD16543D58 for ; Fri, 5 May 2006 13:36:20 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (omega.iib.unsam.edu.ar [192.168.10.14]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k45DbPKq049581; Fri, 5 May 2006 10:37:25 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (localhost [127.0.0.1]) by omega.iib.unsam.edu.ar (8.13.4/8.13.4) with ESMTP id k45DZaJK037041; Fri, 5 May 2006 10:35:41 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by omega.iib.unsam.edu.ar (8.13.4/8.13.3/Submit) id k45DZZOt037036; Fri, 5 May 2006 10:35:35 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: omega.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Fri, 5 May 2006 10:35:35 -0300 From: Fernan Aguero To: Scott Mitchell Message-ID: <20060505133535.GB12509@iib.unsam.edu.ar> Mail-Followup-To: Fernan Aguero , Scott Mitchell , freebsd-java@freebsd.org References: <20060504121812.GA94022@iib.unsam.edu.ar> <20060504123935.GB94022@iib.unsam.edu.ar> <20060504214118.GA1072@tuatara.fishballoon.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060504214118.GA1072@tuatara.fishballoon.org> User-Agent: Mutt/1.5.11 Cc: freebsd-java@freebsd.org Subject: Re: java without X11? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 13:36:28 -0000 +----[ Scott Mitchell (04.May.2006 18:45): | | On Thu, May 04, 2006 at 09:39:35AM -0300, Fernan Aguero wrote: | > +----[ To freebsd-java@freebsd.org (04.May.2006 09:18): | > | | > | Hi! | > | | > | I was setting up a headless (no X11, no GUI) box and had to | > | install java (required by apache-ant and by a java code that | > | interacts with an underlying postgresql database). | > | | > | I want this box to run only the base system (cut down to | > | only essential daemons/processes) and one application | > | (postgresql + associated perl/java layers). | > | > [ snipped ] | > | > | I know that a lot of java apps depend on GUI functionality | > | provided by the language, but is this java+X11 a thing that | > | cannot be separated? (i.e. X11 is rooted too deep into | > | java) or maybe it could be separated and we could have an | > | optional WITHOUT_X11 in the various jdk ports? | | The java binary in diablo-1.5.0_06 doesn't have a load-time dependency on | libX11.so or any other X11 libraries, nor libawt.so - I guess the JVM will | dlopen() libawt.so if it needs to do any graphical stuff. As proof of | concept a simple "Hello, World" Java program compiles and runs just fine on | a machine with no X11 libraries installed. I expect any program that | didn't use AWT/Swing would work just as well. Great, that was what I was about to do once I could get hands on this box. So, this means that I could safely ignore the warnings about missing dependencies (upon package installation)? | Interestingly libawt.so doesn't have any direct X11 dependencies either, | rather it depends on libmawt.so, of which several different versions exist, | in the jre/lib/i386/{xawt,motif21,headless} directories. The xawt and | motif21 versions depend on various X11 libraries, but the headless version | does not. It looks like setting the java.awt.headless property to true or | just having no $DISPLAY will cause the headless libraries to be used. You | should be able to use AWT/Swing classes in any way that doesn't require | access to a real display - so loading any manipulating images should work, | but trying to say open a window will throw a HeadlessException. | | Cheers, | | Scott | +----] OK, good to know. thanks for your reply, Fernan From owner-freebsd-java@FreeBSD.ORG Fri May 5 14:57:25 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 2E9C816A401 for ; Fri, 5 May 2006 14:57:25 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from mta3.srv.hcvlny.cv.net (mta3.srv.hcvlny.cv.net [167.206.4.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id D391243D45 for ; Fri, 5 May 2006 14:57:24 +0000 (GMT) (envelope-from lists@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta3.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IYS00IOQS7ETHL6@mta3.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Fri, 05 May 2006 10:57:15 -0400 (EDT) Date: Fri, 05 May 2006 10:57:13 -0400 From: Kurt Miller In-reply-to: To: freebsd-java@freebsd.org Message-id: <200605051057.13990.lists@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-6 Content-transfer-encoding: 7BIT Content-disposition: inline References: User-Agent: KMail/1.9.1 Subject: Re: jdk15 from update5 sources X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 14:57:25 -0000 On Thursday 04 May 2006 8:52 am, Arne H. Juul wrote: > For those of us who can't use the diablo binary release for one reason or > the other, it's a problem that the BSD patches from eyesbeyond.com use the > SCSL sources, since there are many problems in those that are fixed in the > various update 1 to 6 releases. > > Sun has released sources on tiger.dev.java.net for update 3, 4, and 5 (but > not update 6, at least not yet). These are under the JIUL license which > seems to be more permissive than SCSL (too much legalese for me to say for > sure). > > So I've downloaded the update 5 sources and applied the > bsd-jdk15-patches-3.tar.bz2 (with some rejects). Then I've fixed the > issues with rejected patches and done some changes based on the changes > between SCSL sources and update 5 sources (see attached patch). > > The result works pretty well for me when compiled on FreeBSD 4.x for > running standalone java applications; I have no idea if it works for > webstart, or browser plugins, or as a basis for java frameworks. But maybe > somebody else may find it useful to go this route; I still get the > occasional crash deep inside the garbage collection parts of the VM but at > least this is much more stable than the version I get from compiling > ports/jdk the usual way. Wow, I wasn't aware that Sun started releasing source updates for 1.5. Very cool. :-) I noticed your patch didn't include any changes to the bsd directories in the port. There are a bunch of directories that have bsd in their name. These dirs started out as copies of the corresponding solaris ones. Your patch has the shared dirs at update 5 level but the bsd dirs are at initial release still. To bring the jdk15 port fully up to update 5 level you will need to do a diff on the solaris changes since the initial release and then apply them to the bsd versions. A 'find . -name *bsd* -type d' should find the top level bsd dirs you need to look at. -Kurt From owner-freebsd-java@FreeBSD.ORG Fri May 5 15:49:32 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 9BB9116A401 for ; Fri, 5 May 2006 15:49:32 +0000 (UTC) (envelope-from lists@intricatesoftware.com) Received: from mta7.srv.hcvlny.cv.net (mta7.srv.hcvlny.cv.net [167.206.4.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09EA343D49 for ; Fri, 5 May 2006 15:49:31 +0000 (GMT) (envelope-from lists@intricatesoftware.com) Received: from [172.16.1.72] (ool-457a77e8.dyn.optonline.net [69.122.119.232]) by mta7.srv.hcvlny.cv.net (Sun Java System Messaging Server 6.2-4.03 (built Sep 22 2005)) with ESMTP id <0IYS005WBUM8LX10@mta7.srv.hcvlny.cv.net> for freebsd-java@freebsd.org; Fri, 05 May 2006 11:49:21 -0400 (EDT) Date: Fri, 05 May 2006 11:49:19 -0400 From: Kurt Miller In-reply-to: <445B19DF.2090308@ebs.gr> To: freebsd-java@freebsd.org Message-id: <200605051149.19715.lists@intricatesoftware.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7BIT Content-disposition: inline References: <20060504162514.GB1336@misty.eyesbeyond.com> <445B19DF.2090308@ebs.gr> User-Agent: KMail/1.9.1 Subject: Re: jdk15 from update5 sources X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kurt@intricatesoftware.com List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 15:49:32 -0000 On Friday 05 May 2006 5:24 am, Panagiotis Astithas wrote: > Greg Lewis wrote: > > One general question, since I haven't had time to compare them, why the > > JIUL rather than the JRL? Do others have comments on the differences > > between the two? > > IANAL of course, but the two licenses mainly seem to differ in the > intended use of the software. JRL-licensed software cannot be used for > commercial purposes, while JIUL-licensed software does not have such a > restriction. So, for example, if you are planning on using the software > on amd64 servers for web hosting, you can do it with JIUL only. Both > permit sharing the modified source code to other licensees of the > respective license and both claim that you are not tainted after > studying their source code. IANAL also. I agree with your assessment. Initially I was very excited about the JIUL license, but not so much after reading the FAQ on it. FAQ numbers 16 and 17 are not good. All the changes to get the 1.5 jdk running on BSD are licenced under the SCSL and FAQ 16 says: "You should not intermingle code that was obtained, modified or created under the SCSL with code that is subject to the JIUL." That pretty much stops us from migrating the port to the JIUL license. :( > > JRL: > ---- > [...] > "Research Use" means research, evaluation, or development for the > purpose of advancing knowledge, teaching, learning, or customizing the > Technology or Modifications for personal use. Research Use expressly > excludes use or distribution for direct or indirect commercial > (including strategic) gain or advantage. When the JRL first came out I had concerns the definion of "Research Use" didn't allow for personal use (unless you were specifically doing research). It looks like the definion has been broadened since the initial revision. I think it covers personal use better now. The SCSL definion says it more clearly, but I think the JRL could be safely used in place of the SCSL. I don't recall reading a prohibition on moving SCSL code to the JRL anyplace. If we switch the 1.5 port to the JRL license, we could follow the source updates released under the JRL and bring the port up to the update 5 level. > [...] > A. License Grant. Subject to the conditions contained herein, Sun > grants to You a non-exclusive, non-transferable, worldwide, and > royalty-free license to do the following for Your Research Use only: > > 1. Reproduce, create Modifications of, and use the Technology > alone, or with Modifications; > > 2. Share source code of the Technology alone, or with > Modifications, with other Licensees; and > [...] > > > JIUL: > ----- > [...] > "Internal Use" means internal use by Your employees or > agents solely within Your business or organization (a) to > support Your internal applications or (b) to support those > applications that are available to and used by Your > customers at Your place of business or on Your website. > Internal Use expressly excludes distribution of the > Technology or Modifications outside Your business or > organization. > > "Licensee" means You and any other party that has entered > into a version of this License with Sun where such License > is in effect. > [...] > A. License Grant. Subject to the conditions contained > herein, Sun grants to You a non-exclusive, non-transferable, > worldwide, and royalty-free license to do the following: (i) > reproduce, create Modifications of, and use the Technology, > either alone or with Modifications, in all cases for Your > Internal Use only; and (ii) conditioned upon Your compliance > with Section III.G, share the Technology and Your > Modifications, in source code form only, with other > Licensees for use only under their License. In the case of > (ii), You hereby grant to such Licensees the same rights in > Your Modifications as Sun grants in the Technology under > this License. > [...] From owner-freebsd-java@FreeBSD.ORG Fri May 5 16:32:25 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 1A88616A403 for ; Fri, 5 May 2006 16:32:25 +0000 (UTC) (envelope-from scott@fishballoon.org) Received: from queue04-winn.ispmail.ntl.com (queue04-winn.ispmail.ntl.com [81.103.221.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4C21743D45 for ; Fri, 5 May 2006 16:32:23 +0000 (GMT) (envelope-from scott@fishballoon.org) Received: from aamtaout01-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20060505161350.GYCF27969.mtaout03-winn.ispmail.ntl.com@aamtaout01-winn.ispmail.ntl.com>; Fri, 5 May 2006 17:13:50 +0100 Received: from llama.fishballoon.org ([81.101.128.185]) by aamtaout01-winn.ispmail.ntl.com with ESMTP id <20060505161350.TYBC19763.aamtaout01-winn.ispmail.ntl.com@llama.fishballoon.org>; Fri, 5 May 2006 17:13:50 +0100 Received: from scott by llama.fishballoon.org with local (Exim 4.61 (FreeBSD)) (envelope-from ) id 1Fc2w8-000PMC-53; Fri, 05 May 2006 17:13:48 +0100 Date: Fri, 5 May 2006 17:13:48 +0100 From: Scott Mitchell To: Fernan Aguero , freebsd-java@freebsd.org Message-ID: <20060505161347.GB94802@llama.fishballoon.org> References: <20060504121812.GA94022@iib.unsam.edu.ar> <20060504123935.GB94022@iib.unsam.edu.ar> <20060504214118.GA1072@tuatara.fishballoon.org> <20060505133535.GB12509@iib.unsam.edu.ar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060505133535.GB12509@iib.unsam.edu.ar> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-SECURITY i386 Sender: Scott Mitchell Cc: Subject: Re: java without X11? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 May 2006 16:32:25 -0000 On Fri, May 05, 2006 at 10:35:35AM -0300, Fernan Aguero wrote: > +----[ Scott Mitchell (04.May.2006 18:45): > | > | The java binary in diablo-1.5.0_06 doesn't have a load-time dependency on > | libX11.so or any other X11 libraries, nor libawt.so - I guess the JVM will > | dlopen() libawt.so if it needs to do any graphical stuff. As proof of > | concept a simple "Hello, World" Java program compiles and runs just fine on > | a machine with no X11 libraries installed. I expect any program that > | didn't use AWT/Swing would work just as well. > > Great, that was what I was about to do once I could get > hands on this box. > > So, this means that I could safely ignore the warnings about missing > dependencies (upon package installation)? I believe so, as long as your Java program really doesn't need X11... > | Interestingly libawt.so doesn't have any direct X11 dependencies either, > | rather it depends on libmawt.so, of which several different versions exist, > | in the jre/lib/i386/{xawt,motif21,headless} directories. The xawt and > | motif21 versions depend on various X11 libraries, but the headless version > | does not. It looks like setting the java.awt.headless property to true or > | just having no $DISPLAY will cause the headless libraries to be used. You > | should be able to use AWT/Swing classes in any way that doesn't require > | access to a real display - so loading any manipulating images should work, > | but trying to say open a window will throw a HeadlessException. > OK, good to know. > > thanks for your reply, Glad I could help. Cheers, Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott at fishballoon.org | 0xAA775B8B | -- Anon From owner-freebsd-java@FreeBSD.ORG Sat May 6 17:42:02 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 118EB16A400 for ; Sat, 6 May 2006 17:42:02 +0000 (UTC) (envelope-from past@ebs.gr) Received: from fly.ebs.gr (fly.ebs.gr [83.171.239.113]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6635443D45 for ; Sat, 6 May 2006 17:42:00 +0000 (GMT) (envelope-from past@ebs.gr) Received: from ebs.gr (root@hal.ebs.gr [10.1.1.2]) by fly.ebs.gr (8.12.9p1/8.12.9) with ESMTP id k46Hfv6h036418; Sat, 6 May 2006 20:41:58 +0300 (EEST) (envelope-from past@ebs.gr) Received: from [10.1.1.200] (pptp.ebs.gr [10.1.1.200]) by ebs.gr (8.13.3/8.13.3) with ESMTP id k46HgB8K060172; Sat, 6 May 2006 20:42:17 +0300 (EEST) (envelope-from past@ebs.gr) Received: from 127.0.0.1 (AVG SMTP 7.1.392 [268.5.5/333]); Sat, 06 May 2006 20:41:47 +0300 Message-ID: <445CDFDB.5020901@ebs.gr> Date: Sat, 06 May 2006 20:41:47 +0300 From: Panagiotis Astithas Organization: EBS Ltd. User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: kurt@intricatesoftware.com References: <20060504162514.GB1336@misty.eyesbeyond.com> <445B19DF.2090308@ebs.gr> <200605051149.19715.lists@intricatesoftware.com> In-Reply-To: <200605051149.19715.lists@intricatesoftware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-java@freebsd.org Subject: Re: jdk15 from update5 sources X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 May 2006 17:42:02 -0000 Kurt Miller wrote: > On Friday 05 May 2006 5:24 am, Panagiotis Astithas wrote: >> Greg Lewis wrote: >>> One general question, since I haven't had time to compare them, why the >>> JIUL rather than the JRL? Do others have comments on the differences >>> between the two? >> IANAL of course, but the two licenses mainly seem to differ in the >> intended use of the software. JRL-licensed software cannot be used for >> commercial purposes, while JIUL-licensed software does not have such a >> restriction. So, for example, if you are planning on using the software >> on amd64 servers for web hosting, you can do it with JIUL only. Both >> permit sharing the modified source code to other licensees of the >> respective license and both claim that you are not tainted after >> studying their source code. > > IANAL also. I agree with your assessment. Initially I > was very excited about the JIUL license, but not so much > after reading the FAQ on it. FAQ numbers 16 and 17 are > not good. All the changes to get the 1.5 jdk running on > BSD are licenced under the SCSL and FAQ 16 says: > > "You should not intermingle code that was obtained, > modified or created under the SCSL with code that is > subject to the JIUL." > > That pretty much stops us from migrating the port > to the JIUL license. :( I found those FAQ items scary, too. There is a similar, albeit a bit better FAQ item on JRL (#16): ---------- 19. May I co-mingle JRL source and source code covered under another license or agreement? This is tricky and highly dependent upon license terms. Sun grants you the right to distribute JRL source, binaries and their modifications under the JRL or under a Sun approved commercial license. To co-mingle source or binaries covered under another license or agreement (including in some cases a company's employee agreement), you must have the right to release that code under the JRL as well. ---------- This sounds rather bad, but I suppose it could be considered as applicable in licenses other than SCSL, that is explicitly mentioned in FAQ #16: ---------- 16. I am a current SCSL licensee, and want to use the JRL for research. Can I do this? Yes. Current SCSL licensees can choose to use the JRL for research purposes, but they must click through the new license, and use the JRL notification in their work. ---------- The most important thing however is that if this is a correct interpretation of the situation, then the posted patches cannot be used, since AFAICT they were created against JIUL-licensed sources. There is also an email address in the same page for licensing-related questions that could help to clarify these issues. Cheers, Panagiotis